Discussion of article "MQL5 Cookbook: Using Indicators to Set Trading Conditions in Expert Advisors" - page 2
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.