stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

HELP WITH ERROR 4107
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=2914
Page 18 of 18
Author:  fx800 [ Fri Sep 27, 2013 8:56 pm ]
Post subject:  Re: HELP WITH ERROR 4107

Hi Marc,

I have added your weekly pivot boundary filter code snippet to ChangeTheColourDPC ea.

Have I done it correctly ?

Thanks.
peter
Author:  fxdaytrader [ Sat Sep 28, 2013 4:18 pm ]
Post subject:  Re: HELP WITH ERROR 4107

I think so, but it depends on what you would like to ensure.

At the moment it does
for BUY:
if (PRICE > (PIVOTXYZ) THEN DO NOT TRADE

for SELL:
if (PRICE < (PIVOTXYZ) THEN DO NOT TRADE

and if none of the conditions is met, then ALLOW TRADE (the last return(true)) ...

In brief: If the functions returns(TRUE) then the EA will open a trade, if the functions returns(FALSE) then it does NOT OPEN A TRADE. :P
Author:  fx800 [ Sat Sep 28, 2013 6:19 pm ]
Post subject:  Re: HELP WITH ERROR 4107

fxdaytrader wrote:I think so, but it depends on what you would like to ensure.

At the moment it does
for BUY:
if (PRICE > (PIVOTXYZ) THEN DO NOT TRADE

for SELL:
if (PRICE < (PIVOTXYZ) THEN DO NOT TRADE

and if none of the conditions is met, then ALLOW TRADE (the last return(true)) ...

In brief: If the functions returns(TRUE) then the EA will open a trade, if the functions returns(FALSE) then it does NOT OPEN A TRADE. :P
Thanks for your comments. I just wanted to make sure the code snippet is added correctly before posting it for general download in Master Zen thread.

At the moment, the default setting is do not trade outside WR2/WS2. This should keep the ea out of trouble when a pair is trading well outside its normal boundaries.
Author:  fx800 [ Wed Oct 02, 2013 8:52 pm ]
Post subject:  Re: HELP WITH ERROR 4107

Another "improvement" to your BASA mod ?

Close all trades when basket profit is 5%.

Your mod ea made 6% today trading 0.2 lots on 10k demo, well done Marc :!:
Author:  fx800 [ Fri Oct 04, 2013 9:22 am ]
Post subject:  Re: HELP WITH ERROR 4107

Any chance of a Multipair BASA.fxdaytrader with pending orders ?

:D
All times are UTC Page 18 of 18