skip navigation


Horizontal Price Ray-Line

AB-HRay is a FREE drawing tool for NinjaTrader that lets you draw a horizontal ray or zone centered at a specific price with only one-click. The built-in NinjaTrader ray drawing tool requires at least two points which is cumbersome when you just want a straight line. The horizontal line tool lets you do this but, it extends both forwards and backwards in time which clutters your charts. AB-HRay is fully customizable, allowing you to choose your colours, whether labels are displayed and if alerts are activated. As a bonus feature, you can generate a 'zone' around your price level by simply changing one parameter!

Not a complicated or advanced drawing tool, but if you like drawing lines on your charts to highlight important areas like congestions or previous highs/lows, etc. then this might make your life a little easier.

keep me updated!



Draws a horizontal ray (straight-line extending from a chosen point to the right-edge of your chart) with one click. The built-in NinjaTrader tool requires two points (two-clicks) which is cumbersome when you just want a straight line.

price zones

Simply select the number of ticks above and below the price-level you've chosen and a horizontal price zone will be drawn instead of just a ray. Alerts and labels automatically adjust to reflect the zone instead of the ray.

customizable colours

You can fully control the colours used to draw the price ray or the fill of the price-zone. Opacity and styles can be changed too, including really cool looking 'dashed-line' zones. You can save your settings as templates to access your preferred settings quickly.

price labels

Optional price labels for the price ray and high/low values for price zones are just a checkbox away. This lets you quickly see the exact price you've marked on your charts. You can customize where the price labels appear, whether on the left or the right and inside or outside your price zones, along with the font used to display them.

text labels

Starting in Version 2.0, you can add custom text labels to annotate your lines with any text you like! Call your HRay "important level", "bullish level" or anything else that makes sense to you. You can even combine these text labels with price labels so you know exactly what's going at a particular price level!


Set price alerts so you know when price hits or exceeds your price level. No need to watch your charts all day! Fully customizable using NinjaTrader's built-in alerts system.

Open-Source (FREE)

I’d love your feedback and am more than happy to at least try implementing changes or improvements you suggest. If you are comfortable coding for NinjaTrader or in C#/.NET in general and want to contribute, check out my private git repo. If you can’t program but have ideas/suggestions, then shoot me an email!


screenshot 1

customizable styles

You fully control the colours, opacity and style of the price ray/zone. Solid or dashed, opaque or semi-transparent, with or without labels. The choice is yours -- make your levels stand out in ways that make sense to you. Plus, you can save your settings as templates for quick access!

screenshot 2

labelled rays

If you want your price rays labelled, you can choose where they appear. Left, right, above or below. Plus, you can fully customize the font, size, opacity and colour of your labels independent of the ray.

screenshot 3

labelled zones

Price labels work for zones too! You can choose if they appear on the left, right, inside or outside the price zone. Just like with the rays, you can fully customize the labels independent of the zone.

screenshot 4

properties grid

All customization options can be found in the properties grid (double-click on the ray or zone to open properties). You can also save templates for quick access to your favourite settings.

contact me

Want to stay updated on new releases? Have questions or found a bug? Want to submit a feature request? Feel free to email me by clicking the button below. I'll be happy to answer any questions you have, help you get the indicator set-up, or let you know about incorporating your suggestion(s) into future versions. If you know how to program for NinjaTrader or in C#/.NET in general and want to contribute, email me using the button below or file an issue or pull request in the git repo (preferred).

email me