Errors, bugs, questions - page 2261
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
The position is closed. Manually open a position on the demo, then set its SL/TP and close it. The SL/TP of the closed position will be shown in the History tab (Positions/trades). How to get these levels in MQL?
The position is closed. Manually open a position on the demo, then set its SL/TP and close it. The SL/TP of the closed position will be shown in the History tab (Positions/trades). How to get these levels in MQL?
So far it seems that there is no way. There is no DEAL_SL and DEAL_TP identifiers to get these properties.
unknown-tultiple
How to reproduce ?
How to reproduce ?
Tried to compile code that @A100 posted here yesterday (already deleted). Got ME hanging up. Then when opening ME on many mqh it hung up, and gave such tooltips when writing code.
Try double clicking on the user in the PM. Until the word unread messages disappears. Works for me.
Thank you, that helps!
Tried to compile the code...
Yes... I need to open magic .mq5file first (only 340 bytes)
(1) is not fundamentally different from (3)(9), but the result (6) and (8)(11) are fundamentally different. The same was expected, taking into account result (7)(11)
lines with (*) were added later
MetaEditor 1881/32 hangs... just open the attached file and then e.g. start the compilation process or open any other file
Fixed by