Hi Srinivas,
In your code, it seems the indicator ExpATR20 is computed by your own code. However, the attached code does not include how it is computed. Is it possible the code that computes ExpATR20 incorrectly?
Note that the indicator ExpATR20 should be consistent with the other data range your code passes to ChartDirector. For your case, the data range your code passes to ChartDirector is viewPortTimeStamps. The ExpATR20 therefore should be computed using data in the exact same data range. If you use another data range (such as the full timeStamps) to compute ExpATR20, it would be inconsistent.
Regards
Peter Kwan |