Another update to the Opening Range indicator. This one now uses Plots instead of drawing lines. Very flexible for setting line styles. (Why didn't I do that in the first place??) It takes opening range start time, opening range end time, and plot end time as input parameters, plus the normal plot mods.
I have also added methods and properties to be used from other indicators and strategies:
(If the range has not yet been put in for the given date, then they return previous day's range values. If previous day doesn't exist, then they return ‐1.)
I just finished the code and only tested on a tick chart. Have not tested the TodaysRangeIsIn property at all yet. I'll update if I find a problem with it later. Let me know if you get errors.
|File Size||4.4 KB|
|# of Downloads||2961|
Importing to NinjaTrader 7 is Easy!
To import your 3rd party app or add-on to NinjaTrader, simply follow these 3 steps:
- Download the app or add-on file to your desktop
- From the NinjaTrader Control Center window, select the menu File > Utilities > Import NinjaScript
- Select the downloaded file from your desktop
Visit the NinjaScript File Sharing discussion in the NinjaTrader user forum to interact with fellow traders and the NinjaTrader support team.