I'm developing a strategy that uses Add(Indicator(StartingPeriod)) inside Initialize() to show plot using a user defined Parameter for StartingPeriod.
Inside the strategy when Indicator(StartingPeriod) is called, StartingPeriod is a dynamic variable, and changes OnBarUpdate().
How can I update the plot of Indicator(StartingPeriod) in the OnBarUpdate().
Thanks!
Comment