I'm new to NT indicator development and have read some of the helpful steps in the guide but am struggling to create a simple indicator. Any advice or assistance would be greatly appreciated.
I'm trying to create an indicator that is a simple line whose value is the closing price from x periods ago. e.g. 26 bars ago.
I've tried the below, but nothing shows on the chart.
protected override void OnBarUpdate() { // Use this method for calculating your indicator values. Assign a value to each // plot below by replacing 'Close[0]' with your own formula. PriceXBarsAgo.Set(Close[26]); }
David
Comment