Download MetaTrader 5
To add comments, please log in or register
Register at MQL5.community and leave your comments!
Automated-Trading
Admin
99080
Automated-Trading 2012.06.27 12:03 

Chart_Period_Changer:

A simple script for switching basic timeframes. It allows to change a chart period using hot keys.

Three different versions are attached:

  1. Ascending;
  2. Descending;
  3. On loop.

Author: Olegs Kucerenko

lion999
33
lion999 2012.09.13 17:43  

Hi Karlson,

Tried to attach it to the chart but it gets emoved from the chart instantly after being attached.

can you give me a solution to the problem. Pls find the attached file 

lion999
33
lion999 2012.09.13 17:46  
Sorry could not attach file
Miss_MiaChan
7
Miss_MiaChan 2012.09.24 13:06  

Nice code. Simple but useful

okwh
1631
okwh 2012.09.25 12:03  

if defined a indicator handle in OnInit().

How to do if  change chart period   in such mode ?

/
To add comments, please log in or register