NOTE: This is a real-time only strategy. Please view this strategy on a real-time data connection or the Simulated Data Feed.
Key concepts in this example:
- Drawing lines at the price where the orders are that extend for the duration of the trade
- Removing those lines when the trade is over
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.