I am newbie and have follow this site for period with good articles, then have started self learning for a while and done exercise my own EA (pull pieces from everywhere in here), following are the conditions that I expected the EA to work;
(1) This is reverse signal EA that will close all open orders, after successfully closing all order then send new opposite side order, i.e., from close SHORT and open LONG, or vice versa.
(2) There are options to open lots by assigning lot on EA setting or base on risk percentage when turn "MoneyManagement" to true,
(3) The EA can partial close the lots ans left last partial lot remaining, which can be as assigned in EA setting or tell the EA to equal scale out (left last equal split remaining), the last remaining partial lot then will be close when there is reversal signal, then go back to step 1 again.
I have compiled and passed with no error, but when I tested it in Strategy Tester, there is no activity produced from the EA. May be the logic is wrong somewhere? or any mistake, thank you for your advise from you all gurus. hope solution for this can be benefit to others...
Thanks,
Tutor539
(1) This is reverse signal EA that will close all open orders, after successfully closing all order then send new opposite side order, i.e., from close SHORT and open LONG, or vice versa.
(2) There are options to open lots by assigning lot on EA setting or base on risk percentage when turn "MoneyManagement" to true,
(3) The EA can partial close the lots ans left last partial lot remaining, which can be as assigned in EA setting or tell the EA to equal scale out (left last equal split remaining), the last remaining partial lot then will be close when there is reversal signal, then go back to step 1 again.
I have compiled and passed with no error, but when I tested it in Strategy Tester, there is no activity produced from the EA. May be the logic is wrong somewhere? or any mistake, thank you for your advise from you all gurus. hope solution for this can be benefit to others...
Thanks,
Tutor539
Attached File(s)