lacp.forex / Publications
Forum
Magic Number X Chart ID in MQL4
I am building a EA to manage an account where two or more EA´s are trading. I need to know for each EA the Magic Number and Chart ID where the EA is running, and I need to known it from the EA that is managing the account. The functions ChartFirst and ChartNext allow to know the Chart ID of all open