Rgbpricelines

I originally developed this indicator for NT7 and now have converted to NT8. It simply plots lines on chart at price lines specified in a text file.

A few times NT7 would drop a line I added through Draw Tools, or I would accidentally delete a line. So, I created this indicator that plotted my important price lines each time I loaded the program or reloaded NinjaScript. I have found it very handy, so thought I'd share it.

It plots a line on chart at price level specified in a text file. Indicator reads in standard text file with the following format (each field required and is separated by tab in the text file):

price
‐ desired price level for line to be drawn
height
‐ (not currently used)
color
‐ desired color in text format eg. Red, Blue, Black
width
‐ desired width of line e.g. 1, 3, 5
label
‐ (not currently used)

File name must be set up in the following format. The file name consists of concatenation of instrument+suffix (suffix is an input parameter) ‐
The script determines the instrument and then joins it with the suffix provided. Each instrument needs its own text file.

eg. TF‐Zones.txt (for the Russell instrument)

The file path is an input parameter (any valid path) ‐

eg. C:UsersRGBNinjaTrader Pricelines

Created By RGBtrader
NinjaTrader Version 8
File Size 2.4 KB
Create Date 10/23/2015
# of Downloads 663

Importing to NinjaTrader 8 is Easy!

To import your 3rd party app or add-on to NinjaTrader, simply follow these 3 steps:

  1. Download the app or add-on file to your desktop
  2. From the NinjaTrader Control Center window, select the menu Tools > Import > NinjaScript Add-On…
  3. Select the downloaded file from your desktop

Questions?

Visit the NinjaScript File Sharing discussion in the NinjaTrader user forum to interact with fellow traders and the NinjaTrader support team.