Hello everyone,

How can I prevent an ATR indicator from automatically updating according to the resolution? I'm looking to only update it when a function is true.

self.atr = self.ATR("TSLA", 30, MovingAverageType.Wilders, Resolution.Minute)


 

Author