Download MetaTrader 5

how to Change Pair on current open chart

To add comments, please log in or register
Join MQL5 Cloud Network. Start earning money!
zahidmahmood
66
zahidmahmood 2015.10.28 08:13 
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
25009
Mohammad Soubra 2015.10.29 01:09  
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
37203
Trinh Dat 2015.10.29 05:48  
ChartSetSymbolPeriod(0,"GBPUSD",_Period);
try it
To add comments, please log in or register