iannai69:
You need to change the code so it works with all timeframes. Open the code in Meta Editor, press Ctrl + F and enter TimeFrame then find all instances of this word in the code and understand how it is used, then you can formulate a solution to making the Indicator work on all timeframes.
I am using a support/resistance indicator but it only sets to 1 timefame, 1440. So when attatched to a chart it only updates or reads from the 1440 chart, the only thing i have managed to come up with is, If i where to add this line
extern string note_TimeFrames = "M1;5,15,30,60H1;240H4;1440D1;10080W1;43200MN|0-CurrentTF";
would it change this
extern int TimeFrame=1440;
to update on all timeframes or is this something i would need to do with a script?
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I am using a support/resistance indicator but it only sets to 1 timefame, 1440. So when attatched to a chart it only updates or reads from the 1440 chart, the only thing i have managed to come up with is, If i where to add this line
extern string note_TimeFrames = "M1;5,15,30,60H1;240H4;1440D1;10080W1;43200MN|0-CurrentTF";
would it change this
//---- indicator parametersextern int TimeFrame=1440;
to update on all timeframes or is this something i would need to do with a script?