SIMPLE NINJATRADER INDICATOR
Budget: $30 – $250 USD
I am looking to have an indicator that will plot the time, the duration, of a non-time based bar ( tick, range , renko, ninza renko ) from its
open to its close.
The plot, the time counter, should be on top of the bar, and will start its count as soon as the bar opens. The increments should be
tenths of a second, seconds, tens of seconds, minutes and tens of minutes.
Example: A bar that had a duration of 9.2 seconds would be plotted - 09.2 above the bar. A bar that had a duration of 21 minutes and 5
seconds would be plotted 21:05. Once a bar reaches one minute, tenths of seconds will NOT be plotted. Only bars longer than 9
minutes will have four numbers plotted.
The count should begin as soon as the bar opens, so every current bar will have a moving timer on it that runs. The attached image
shows what it could look like - although this indicator breaks minutes into hundreths - which I do not want.
Here is a link to the Ninjatrader Ecosystem which has this already coded, I believe, but it plots as a histogram at the bottom of the
chart. I want it to plot as a number above the chart. https://ninjatraderecosystem.com/user-app-share-download/nt8-bartimes/
Here are some links from the Nijnatrader forum which discuss this with code examples - ( may help with what I'm looking for )
https://ninjatrader.com/support/forum/forum/ninjatrader-8/indicator-development/100197-time-taken-for-each-bar
Once this is done I will be looking to have a strategy created based on this..thank you!!
open to its close.
The plot, the time counter, should be on top of the bar, and will start its count as soon as the bar opens. The increments should be
tenths of a second, seconds, tens of seconds, minutes and tens of minutes.
Example: A bar that had a duration of 9.2 seconds would be plotted - 09.2 above the bar. A bar that had a duration of 21 minutes and 5
seconds would be plotted 21:05. Once a bar reaches one minute, tenths of seconds will NOT be plotted. Only bars longer than 9
minutes will have four numbers plotted.
The count should begin as soon as the bar opens, so every current bar will have a moving timer on it that runs. The attached image
shows what it could look like - although this indicator breaks minutes into hundreths - which I do not want.
Here is a link to the Ninjatrader Ecosystem which has this already coded, I believe, but it plots as a histogram at the bottom of the
chart. I want it to plot as a number above the chart. https://ninjatraderecosystem.com/user-app-share-download/nt8-bartimes/
Here are some links from the Nijnatrader forum which discuss this with code examples - ( may help with what I'm looking for )
https://ninjatrader.com/support/forum/forum/ninjatrader-8/indicator-development/100197-time-taken-for-each-bar
Once this is done I will be looking to have a strategy created based on this..thank you!!