Currency symbol on chart
If I open a chart, say GPBUSD, how would I programatically be able to find that currency pair name?
In my case, my EA will assign the MagicNumber based on what currency pair symbol exists on the chart I open.
Possible?
Thanks,
Merlin
Hi Merlin
The function Symbol() returns the symbol of the chart that an EA is attached to.
JellybeanHi Merlin
The function Symbol() returns the symbol of the chart that an EA is attached to.
JellybeanThanks, Jellybean :)
I think the Documentation would be improved 100% by implementing a Natural Language search.
If I open a chart, say GPBUSD, how would I programatically be able to find that currency pair name?
In my case, my EA will assign the MagicNumber based on what currency pair symbol exists on the chart I open.
Possible?
Thanks,
Merlin