PDA

View Full Version : Indicator that measured distance in ticks between movable lines


StockStalker
06-10-2011, 03:21 PM
I am looking for a pretty simple indicator that can be placed on the chart. It will be used to measure the distance (in ticks) between two lines, which are movable. Something like this:
http://img703.imageshack.us/img703/8084/exampleb.jpg
The number of ticks between the lines is then displayed somewhere on the screen.

Anyone knows where I can find such an indicator?

NinjaTrader_RyanM
06-10-2011, 03:32 PM
Hi StockStalker,

I'm not aware of an indicator that does this currently. To program it, you can work in IDrawObject to expose values from drawing objects.

http://www.ninjatrader.com/support/helpGuides/nt7/idrawobject.htm

Manually, you can use the ruler drawing tool to draw between two points and see the tick change.
http://www.ninjatrader.com/support/helpGuides/nt7/working_with_drawing_tools__ob.htm

StockStalker
06-10-2011, 03:53 PM
I wasn't aware NT had a ruler, but that solves everything!

Thanks!