Chart Templates New comment Simon Gniadkowski 2008.03.17 15:14 Hi, when I start my EA I would like it to apply different Chart Templates depending on the currency pair I'm looking at. I know how to get the current currency pair using Symbol( ) . . . how (if possible) do I set the chart template to the one I want ? The logic would go like this if pair = GBPUSD set template to gbpusd.tpl else if pair = GBPJPY set template to gbpjpy.tpl else set template to generic.tpl how to Change Pair on current open chart Save and re-use on MT5 How I assemble my advisor by trial and error Slava 2008.03.18 11:34 #1 It is impossible. Sorry Simon Gniadkowski 2008.03.18 13:08 #2 OK, bad news, but thanks for letting me know. New comment
Hi,
when I start my EA I would like it to apply different Chart Templates depending on the currency pair I'm looking at. I know how to get the current currency pair using Symbol( ) . . . how (if possible) do I set the chart template to the one I want ?
The logic would go like this
if pair = GBPUSD set template to gbpusd.tpl
else if pair = GBPJPY set template to gbpjpy.tpl
else set template to generic.tpl