A simple script for switching basic timeframes. It allows to change a chart period using hot keys.
Three different versions are attached:
Author: Olegs Kucerenko
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
Nice code. Simple but useful
if defined a indicator handle in OnInit().
How to do if change chart period in such mode ?
Hello, I really like the script. Its simple and something that MT should have as a default function. I was wondering if the script can be modified to change the time frames for all open charts at the same time.
I found a script for that called period before and periodnext but it does not have the M1 & MN1 timeframes. I tried to merge the two but was unsuccesful.