Allow EA trading on demo account only MT5
Perhaps you should read the manual.
List of MQL5 Constants - Reference on algorithmic/automated trading language for MetaTrader 5
List of MQL5 Constants
All MQL5 constants in alphabetical order.
|
Constant |
Description |
Usage |
|
ACCOUNT_TRADE_MODE_DEMO |
Demo account |
List of MQL5 Constants - Reference on algorithmic/automated trading language for MetaTrader 5
I have this code from my EA of mt4 and I need mt5 code