Download MetaTrader 5

StrategyTester modify SL/TP and Results Tab

To add comments, please log in or register
Sign up for MQL5.community to post your Forum topic
David
217
David 2010.05.22 10:55 

Hi all,
i'm trying to modify the Stop Loss value of an open position using this code:

m_request.action=TRADE_ACTION_SLTP;
m_request.symbol=symbol;
m_request.sl    =sl;

After launching the backtest I see under the Journal tab rows like this:

position modified [sell 0.10 EURUSD 1.37325 sl: 1.35511]

But... if I check under the results tab I cannot see (as in MT4) rows that notify me that the stop loss value has been modified. Why ?

Lastly, I would suggest you to split the Results tab in two Tabs (Results and Report).
It is very annoying to do every time this path:

- Left click Results
- Right click to show the contextual menu
- Left click on (Deals, Orders or Orders&Deals)

Total of 3 clicks instead of 1 having two separate tabs. Not so good in terms of UI usability.

Thank you. 

Documentation on MQL5: Standard Constants, Enumerations and Structures / Trade Constants / Order Properties
  • www.mql5.com
Standard Constants, Enumerations and Structures / Trade Constants / Order Properties - Documentation on MQL5
To add comments, please log in or register