Support resistance change

 

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 parameters

extern int TimeFrame=1440;

to update on all timeframes or is this something i would need to do with a script?

 
iannai69:

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 parameters

extern int TimeFrame=1440;

to update on all timeframes or is this something i would need to do with a script?

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.
Reason: