Hi vegasfoster, I have now watched this a few days in real time and it looks the opening bar stochastics range plots are not quite right... actually it seems to be only the 'reversing' direction stoch range plot that is too 'wide' and it doesn't correct even when the price bar developes. When I push F5 (Reload Ninjascript) it does correct, however. Not a big deal, I can always use F5 when a new bar opens, but just wanted to report this bug if it's easy to correct.
Yeah, thanks for the heads up. Max pointed that out to me yesterday, I just haven't had a chance to look at it. Will try to fix it later today unless someone beats me to it. I am using the JtRangeMarker code and my skills are limited so I may need help to fix it, not sure yet.
So, the plot is being reset each bar to the prior K value, but the input to the plot is not being reset in the same fashion to the prior Close value so we are essentially having the same problem as before. Monpere's fix to reset the K value works on a data series, but the input was not a data series. So I went back to using a dataseries for the input but what I am doing is not working.
I need the prior hinput value to be "Close" and the current value to be "Low + (Bars.Period.Value+1)*TickSize" so that I can feed it into the rest of the calculations. I don't know how to do it, so any help would be appreciated, thank you.
I don;t use this particular indicator. I just provided a workaround for the issue he was having with the normal plotting. Later he was trying to do something else, but I did not understand what he was trying to do.