MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Automated Trading Language Documentation

Subscribe to signal
Mark LT
64.41%, 1 651.29 USC
PowerTrend Indicator
PowerTrend
Author: GODZILLA
Catcher profitCatcher profit Try product
Catcher profit
Author: tonjo
Screenshot
USDJPY, W1
Demo
William Blau's Indicators and Trading Systems in MQL5. Part 1: Indicators William Blau's Indicators and Trading Systems in MQL5. Part...

Magic

Gets the ID of Expert Advisor, opened the position.

long  Magic() const

Returned value

ID of the Expert Advisor, opened the position.

Note

The position should be selected using the Select (by ticket) or SelectByIndex (by index) methods.


Updated: 2010.12.10