Here is what is going on one of my demos:
This demo is with Forex.com
chfjpypro-h4-Stacktrade problems.png
It got some Rogue trade alerts: Note that the CHFJPY alert occurred at 11:56:31 no CHFJPY trade shows up in the history until 15:00
At 15:00 a CHFJPY trade opened at 108.529 - it should have opened close to 108.100. Also I had the MA Stacking filter on for main trades and it does not look like the criteria were met because the MAs were sloping down.
Many of the preceding trades also opened many pips away from their intended open. Would using pending orders solve this?
At 15:56 a CHFJPY stack trade opened and closed in one minute.
The same thing happened on EURUSD, NZDUSD, and GBPJPY
four stack trades opened and closed immediately
my settings are:
MaxTradesAllowed=4;//A value of 1 turns off stacking
StackDistancePips=20;
StackBreakevenProfitPips=10;//Dynamic - multiplied by OpenTrades
StackTrailingStopPips=10;//Dynamic - multiplied by OpenTrades
BreakEven=true;
BreakEvenTargetPips=20;
BreakEvenTargetProfit=2;
I wonder if the breakeven and stack settings are interacting since both breakeven order modification and the opening of the stack trade are occurring almost simultaneously.
Also I got the following errors in a log file:
2;75;C:\Program Files (x86)\FXDC-1\experts\Simple Bob-1e-SL40.mq4;859:25;'take' - variable not defined
And one more thing while this demo with forex.com has opened 20trades, my demo with FXCM has opened 11 both with the same pairs and MA stacking on. Is one of them an ecn. when I load the corrected version I will use the same initial settings on both to see if there is a broker dependence
You do not have the required permissions to view the files attached to this post.
There are 10 kinds of people who understand binary. Those who do and those who don't.