Forum

GTC mode and Expiration

In a symbol's contract specification from the "Market Watch" there are two properties: G‌TC mode and Expiration. After pressing F1 and you can see that help says: ‌Type of orders — types of orders placed (I think this is the GTC mode) .‌... ‌Expiration — available types of expiration of pending

Symbol specification from mql5

A part of the symbol specification from the MT5 help: Type of orders — types of orders placed: Good till today including SL/TP — orders that are valid only during one trading day. With the end of the day, all of the Stop Loss and Take Profit levels , as well as pending orders are deleted; Good till

Draw remaining graphics object to chart from script

I would like to draw some graphics to the chart from a script. I use the standard library classes and objects. I would like to keep the objects on the chart after the script finished, but the objects destructor automatically clean them. How can I draw remaining objects from a script