I would like to change the value of a parameter in an indicator, depending on the time interval of the candles, along the lines as follows
if time interval = M60, then parameter X = xx, else if time interval = M30, then parameter X = yy, then use the parameter X in a following indicator.
Thank you for any help provided.
Comment