Determining a high or low value for given time range can be useful.

Key concepts in this example:
  • Converting time to bars ago values
  • Getting the highest high and lowest low values


Important related documentation:

NinjaTrader 8

NinjaTrader 7

Import instructions:

NinjaTrader 8
  1. Download the file contained in this thread to your PC desktop
  2. From the Control Center window, select the menu Tools > Import > NinjaScript
  3. Select the downloaded file


NinjaTrader 7
  1. Download the file contained in this thread to your PC desktop
  2. From the Control Center window, select the menu File > Utilities > Import NinjaScript
  3. Select the downloaded file and click Import.
Attached Files