Your custom script could use logic from the fibonacci pivots indicator and have your own custom drawn objects.
Below is a link to a forum post with helpful information about getting started with NinjaScript and C#.
https://ninjatrader.com/support/foru...040#post786040
Lines can be drawn with Draw.Line() / Draw.HorizontalLine().
https://ninjatrader.com/support/help...zontalline.htm
https://ninjatrader.com/support/help.../draw_line.htm
Rectangles can be drawn with Draw.Rectangle().
https://ninjatrader.com/support/help..._rectangle.htm
Are you wanting to custom render everything?
There are indicators in the app share that do similar kinds of rendering you may be able to adapt to your needs.
https://ninjatraderecosystem.com/use.../colorzone3-2/
https://ninjatraderecosystem.com/use...-drawing-tool/
The VolumeProfile included with NinjaTrader has similar behavior.
Prices can be translated to y values with GetYByValue().
https://ninjatrader.com/support/help...etybyvalue.htm
Bars can be translated to x values with GetXByBarIndex() / GetXByTime().
https://ninjatrader.com/support/help...bybarindex.htm
https://ninjatrader.com/support/help...getxbytime.htm
Let me know if there is anything specific you get stuck with we may assist with.

Comment