I'm new in coding NinjaScript and have some elementary problems using the evaluation of price data. (High, Low, etc.)
If I want to use for example the High or Low functions for any previous bar, the calculation logic doesn't work at all and it isn't possible to debug using the output window...
Even a basic code snippet from the helpguide (see example1) doesn't work.
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. if (Close[0] > Close[1]) Print("We had an up day"); }
Print(High[0].ToString());
Comment