I have a need to re-bias past values in some indicators. By that I mean say something happens at time X that requires all times before X to be shifted by a delta value.
For some indicators it is simple to manually set prior Plot values by back-stepping. But for other indicators that maintain a running state/accumulator the problem is more difficult. Other issues come up when indicators are chained so the main question is....
Is there any way to programmatically rewind the CurrentBar value to a specific value and reset the mode to historical thereby causing the next call to Update() to recalculate all bars from that point forward to the end? If there is no way to do this for a partial time range, is there a way to recalculate the entire indicator programmatcially (like hitting F5).
Thanks,
Chris
Comment