Searching for entries matching plot, looking in keywords for any words Found 3 matching entries
Entries
2196
jpygbp
Ninjatrader 8
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 lines each time I loaded the program or reloaded NinjaScript. I have found it very handy, so thought I'd share it (first-time post).
It plots lines on chart at price lines 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
label (not currently used)
File name consists of concatenation of instrument+suffix (suffix is an input parameter) -
Indicator determines the instrument and then joins it with the suffix provided
eg. TF-Zones.txt (for the Russell instrument)
The filepath is an input parameter (any valid path) -
Toggles session break lines on and off for a cleaner chart when doing your analysis / trading.
Thanks to others who had coded the toggle buttons for other indys. Uses unsupported code for NT. Nothing sinister just ChartControl stuff and PlotSessionBreaks.