NOTE: This script is (sort of) superseeded by my TimeFrame Sync indicator - check https://www.forexfactory.com/showthread.php?p=12261269
Hi everyone,
I wrote this small script to change timeframes on all open charts in the current profile.
"TimeFrame" input is a list of timeframes (you can comment out in the source-code the ones you do not use).
Use it on any open chart window (e.g. bind to a key), it will cycle through all charts automatically.
After it's done, the scripts asks "Do you really want to close script "TimeFrames"?" - it's just the way MT4 handles timeframe change from a script, click [Yes]
Hope it helps.
Hi everyone,
I wrote this small script to change timeframes on all open charts in the current profile.
"TimeFrame" input is a list of timeframes (you can comment out in the source-code the ones you do not use).
Use it on any open chart window (e.g. bind to a key), it will cycle through all charts automatically.
After it's done, the scripts asks "Do you really want to close script "TimeFrames"?" - it's just the way MT4 handles timeframe change from a script, click [Yes]
Hope it helps.
Attached File(s)
TimeFrames v1.1.mq4
1 KB
|
855 downloads
|
Uploaded May 14, 2014 9:03am
Attached File(s)
TimeFrames v1.0.mq4
2 KB
|
557 downloads
Attached Image