Hi Marc,
I have added your weekly pivot boundary filter code snippet to ChangeTheColourDPC ea.
Have I done it correctly ?
Thanks.
peter
HELP WITH ERROR 4107
-
fx800
- Trader
- Posts: 1334
- Joined: Sun Dec 04, 2011 4:11 am
Re: HELP WITH ERROR 4107
You do not have the required permissions to view the files attached to this post.
- fxdaytrader
- Trader
- Posts: 190
- Joined: Sun Jun 10, 2012 7:03 am
- Location: Poon-Town (germany, se-asia, se-europe) ...
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.
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.
-
fx800
- Trader
- Posts: 1334
- Joined: Sun Dec 04, 2011 4:11 am
Re: HELP WITH ERROR 4107
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.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.
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.
-
fx800
- Trader
- Posts: 1334
- Joined: Sun Dec 04, 2011 4:11 am
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 :!:
Close all trades when basket profit is 5%.
Your mod ea made 6% today trading 0.2 lots on 10k demo, well done Marc :!:
-
fx800
- Trader
- Posts: 1334
- Joined: Sun Dec 04, 2011 4:11 am
Re: HELP WITH ERROR 4107
Any chance of a Multipair BASA.fxdaytrader with pending orders ?
