I dont know why but when I try to test the EA with strategy tester, the TP and SL never appear. They are not set when I do not use the trailing stop.
When using the TrailingStop parameter, the SL appears, but it seems to be a modification and not an initial setting in the position. (using the trailing stop allow to set a SL whent the trailing stop is used)
In the same time, when debugging allowing autotrading (on a demo account) , the SL and TP are immediately set (when the position is first set on TradingBlock(); and it is not necessary to wait to ModifyTrailingStop() function to see the SL and TP)
Do someone can explain WHY ?
is it a problem of Broker (Alpari UK) ?
In these condition, it is difficult to evaluate how the EA works when SL and TP are set.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
It 's OK !
I tried from another PC with another navigator and it works fine !
Sorry
Hello,
I dont know why but when I try to test the EA with strategy tester, the TP and SL never appear. They are not set when I do not use the trailing stop.
When using the TrailingStop parameter, the SL appears, but it seems to be a modification and not an initial setting in the position. (using the trailing stop allow to set a SL whent the trailing stop is used)
In the same time, when debugging allowing autotrading (on a demo account) , the SL and TP are immediately set (when the position is first set on TradingBlock(); and it is not necessary to wait to ModifyTrailingStop() function to see the SL and TP)
Do someone can explain WHY ?
is it a problem of Broker (Alpari UK) ?
In these condition, it is difficult to evaluate how the EA works when SL and TP are set.
Thanks if any has an idea.
M.