Download MetaTrader 5

change symbol /change timeframe indicator

To add comments, please log in or register
Need mobile version of MetaTrader 5? Download it and trade!
Chinh Tieu
160
Chinh Tieu 2016.03.18 07:04 

Hi,


can any one please give me sample function to change symbol and change timeframe when user click on the button.

example:

- i made 2 button eurusd, gbpusd and 2 button m1, m2 , when i click, it should change...

Stuart Browne
5794
Stuart Browne 2016.03.18 08:16  
You will need to call ChartSetSymbolPeriod from the OnChartEvent function
Pablo Rego
1649
Pablo Rego 2016.03.18 16:26  
Stuart Browne:
You will need to call ChartSetSymbolPeriod from the OnChartEvent function
Thank you.
To add comments, please log in or register