Bob and Shelley Again

Locked
spotdespot
Trader
Posts: 768
Joined: Sun Jan 22, 2012 11:38 pm

Re: Bob and Shelley Again

Post by spotdespot »

spotdespot wrote:Steve - my stack trades seem to be being set at the original lot size and not the remaining lot size after part close/BE. The display on screen is displaying "lot size" correctly so StackLotSize must be correct as it stands but somehow the stack trade is being sent at the original size.

I will have a look but, as you know, I am at best a cut and paste coder.... :(

Is anyone else seeing this? If not then I will need to see if I have anything different with my settings that might cause it.

Cheers,
Dave.
I think I might have found the issue Steve - bearing in mind the bold above ;)

In LookForTradingOpportunities(), if you are using % risk rather than fixed lots, SendLots gets reset in the "if (SendLong)"/"if (SendShort)" (trade sending sections) after initially being set to StackTradeLot at the start of the function.

Cheers,
Dave.
Last edited by spotdespot on Fri Oct 25, 2013 10:41 am, edited 1 time in total.
joancb

Re: Bob and Shelley Again

Post by joancb »

spotdespot wrote:
joancb wrote:
art wrote:hi guys, had this running for 2 days, using version 2h, not one trade yet, everything seems ok smiley etc, any ideas, cheers
I also had no trades since I changed IsGlobalPrimeOrECNCriminal from true to false. I'm using Bully Bully Bully Pepperstone.

cheers!
Bully Bully Pepperstone is ECN Joan? Well mine is anyway - Razor.

Cheers,
Dave.
First I thought it was, but now I'm not so sure :D it is a Razor demo, so maybe it is different from a live acc. I've set it to false and it has opened two orders one long EURGBP and one short USDCHF
You do not have the required permissions to view the files attached to this post.
spotdespot
Trader
Posts: 768
Joined: Sun Jan 22, 2012 11:38 pm

Re: Bob and Shelley Again

Post by spotdespot »

It's easy to check Joan - on any chart hit F9. If the order box has the TP and SL "greyed out", so you can't enter a figure for a market order, then it is effectively ECN.

Cheers,
Dave.
OldTrader
Trader
Posts: 71
Joined: Wed Nov 16, 2011 10:19 pm

Re: Bob and Shelley Again

Post by OldTrader »

or just set it to true, doesn't matter if your broker is NOT ecn, setting it to true just sends sl/tp after initial order. There is no reason to set it false, default input should be true, or just removed altogether, would solve one ongoing problem :)
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Bob and Shelley Again

Post by SteveHopwood »

spotdespot wrote:
spotdespot wrote:Steve - my stack trades seem to be being set at the original lot size and not the remaining lot size after part close/BE. The display on screen is displaying "lot size" correctly so StackLotSize must be correct as it stands but somehow the stack trade is being sent at the original size.

I will have a look but, as you know, I am at best a cut and paste coder.... :(

Is anyone else seeing this? If not then I will need to see if I have anything different with my settings that might cause it.

Cheers,
Dave.
I think I might have found the issue Steve - bearing in mind the bold above ;)

In LookForTradingOpportunities(), if you are using % risk rather than fixed lots, SendLots gets reset in the "if (SendLong)"/"if (SendShort)" (trade sending sections) after initially being set to StackTradeLot at the start of the function.

Cheers,
Dave.
Nice one. I will have the fix in place for Monday.

:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
garyfritz

Re: Bob and Shelley Again

Post by garyfritz »

Jemook wrote:
SteveHopwood wrote:Oops. I just clicked a couple of wrong buttons and deleted scartree's latest post. Sorry scartree; please repost.
:D
LOL, noob.
Yeah, next thing you know, he'll ban himself or something equally noobish. :lol:
SWG123
Trader
Posts: 565
Joined: Wed Nov 16, 2011 3:02 pm
Location: Cape Town

Re: Bob and Shelley Again

Post by SWG123 »

garyfritz wrote:
Jemook wrote:
SteveHopwood wrote:Oops. I just clicked a couple of wrong buttons and deleted scartree's latest post. Sorry scartree; please repost.
:D
LOL, noob.
Yeah, next thing you know, he'll ban himself or something equally noobish. :lol:
Nah, who could be dumb enough to do that? :roll:

:lol:
SWG123
Trader
Posts: 565
Joined: Wed Nov 16, 2011 3:02 pm
Location: Cape Town

Re: Bob and Shelley Again

Post by SWG123 »

Bit of a latecomer to BASA I'm afraid, just started today but as you can see from the attachment, all trades taken finished in the green. To avoid confusion, only the 0.02 trades are BASA, ootb, on H1 (the 0.1 lot trades are my manual entries today).

I'll keep this one running for sure. :D

Thanks Steve, Bob, Shelley and all concerned.
friday.png
You do not have the required permissions to view the files attached to this post.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Bob and Shelley Again

Post by SteveHopwood »

I have not been responding to all the messages of support and thanks here, so I hope you will all accept this in lieu of individual responses.

Thanks for all the posts thanking Shelley and I for the stuff we are developing here. They only make it easier to carry on sharing and developing.

Boy oh boy, but are we having a ball or what?

Cheers guys

:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
User avatar
fxozgirl
Trader
Posts: 1176
Joined: Wed Nov 16, 2011 9:16 am
Location: Melbourne, Australia

Re: Bob and Shelley Again

Post by fxozgirl »

SteveHopwood wrote:I have not been responding to all the messages of support and thanks here, so I hope you will all accept this in lieu of individual responses.

Thanks for all the posts thanking Shelley and I for the stuff we are developing here. They only make it easier to carry on sharing and developing.

Boy oh boy, but are we having a ball or what?

Cheers guys

:D

I 100% agree with you Steve...thanks to everyone for your posts of support, it is greatly appreciated.
It just goes to show what a mutually respectful community of traders can achieve together

My Live Cowboy Go Markets account is up 3.89% this month (approx 14% gain since going live the last week of August) with an 86% win ratio. I also have an audnzd buy trade open currently sitting at +95 pips :D
Moving forward my goal is to achieve 5% gain per month...
Locked

Return to “Automated trading systems”