Key concepts in this example:
- Drawing unique diamonds to mark the beginning and end of uptrends
- Drawing and updating a single rectangle that marks the current uptrend
Important related documentation:
NinjaTrader 8
NinjaTrader 7
Import instructions:
NinjaTrader 8
- Download the file contained in this thread to your PC desktop
- From the Control Center window, select the menu Tools > Import > NinjaScript
- Select the downloaded file
NinjaTrader 7
- Download the file contained in this thread to your PC desktop
- From the Control Center window, select the menu File > Utilities > Import NinjaScript
- Select the downloaded file and click Import.