If i call my cma indicator from proprieties panel in indicator window the cma line will appear in the chart.
If i call it from another indicator in OBU:
double sm = CMA01(100)[0];
Indicator 'NEWSDBA': Error on calling 'OnBarUpdate' method on bar 1: You are accessing an index with a value that is invalid since it is out-of-range. I.E. accessing a series [barsAgo] with a value of 5 when there are only 4 bars on the chart.
Of course, the line do not show up in the chart.
Frank
Ty
Comment