how to use timeframe.period
Posted: Fri Oct 06, 2023 2:53 pm
Hello pinescripters,
i have this
TF = input.timeframe(defval = '15', title = "Time Frame")
i want the TF defval change automaticly when i change the time frame
exmpl with timeframe.period :
if timeframe.period == "60"
TF := 15
thank you.
i have this
TF = input.timeframe(defval = '15', title = "Time Frame")
i want the TF defval change automaticly when i change the time frame
exmpl with timeframe.period :
if timeframe.period == "60"
TF := 15
thank you.