NinjaTrader Coding Samples
Sample Bool Converter
Example & Download
Chart Trader Button Example
Example & Download
Basic Chart Trader button template that uses multiple grids.
This allows you to have multiple columns (Different sized buttons) on separate rows.
Same concept used to build the Predator Chart trader buttons. I ended up outsourcing the issue with the Tab selection.
This new template fixes that issue and should work without problem.
Enum Converter Test
Example & Download
This is a code sample for modifying your properties based on your Enum selection(Drop down list)
Color Horizontal Lines Plot
Example & Download
This is a way of adding a ‘Horizontal Line’ using Plots.
You can choose to change the entire line using Plots[0].Brush
or choose to have a multi colored line using PlotBrushes[0][0]
This is just a sample, not meant to be a full indicator. Modify it for your own code.
Hope it helps.