Download MetaTrader 5

how to Change Pair on current open chart

To add comments, please log in or register
zahidmahmood
99
zahidmahmood  
hi i want to change pair on current chart  i.e currently open chart is EURUSD with h1 tf and Momentum.tpl Template . when i attach ea it change EURUSD To GBPUSD with same time frame h1 and same template Momentum.tpl
Mohammad Soubra
33388
Mohammad Soubra  
zahidmahmood:
hi i want to change pair on current chart  i.e currently open chart is EURUSD with h1 tf and Momentum.tpl Template . when i attach ea it change EURUSD To GBPUSD with same time frame h1 and same template Momentum.tpl
Yes,
You can
While the chart is active, press ENTER button from the keyboard. Then type the pair exact name with no - or / like: gbpusd, or usdchf
Trinh Dat
40255
Trinh Dat  
ChartSetSymbolPeriod(0,"GBPUSD",_Period);
try it
To add comments, please log in or register