The upper plot is the total number of shares or contracts offered for sale in the Level 2 order book. The lower plot is the total number of shares or contracts bid to buy in the Level 2 Order Book. The yellow plot is the bids minus the offers.
Maxrows is the user setting that controls how many rows of the order book are counted. In panel 2 we have the totals for all ten of the bid and all ten of the ask rows. In panel 3, with Maxrows set at 5, we see the totals for the 5 inside rows of bid and ask.
This will work in realtime or market replay mode. Changing any chart settings deletes existing plots, and there is no backfill. This limitation is because of the way Ninjatrader stores data. I started working on a DOMRecorder indicator to correct this. May take a while.
Thanks ZTrade for the idea of this indicator, and for the original implementation which worked fine in NT6.5 but had problems because of undocumented changes in NT7.
These are the common stochastics indicators with a few minor changes. THEY ARE FOR NINJATRADER 7 ONLY.
The main value of these is that they show: how to implement multi-color plotting in NT7; how to serialize colors for use as parameters; and how to use the dataseries objects exposed by GOMCD as input to other indicators.
The stochastic of price is the common, garden variety stochastic oscillator. I changed it to oscillate between -100 and +100 instead of between 0 and 100, and used the new PlotColors() method of NT7 to give different colors for rising and falling. Once the color changes, it stays changed.
The stochastic of CD is based on the CUMULATIVE DELTA OF VOLUME. It is not based on price AT ALL. For it to work, you need to have installed the GomCD indicator. If you are running a GomRecorder and have set up a GOMFOLDER, this plot will refresh historically, and will not disappear when you make changes to the chart. This is a good code sample for those who would want to use the GomCd to give inputs to other custom indicators.
For both of these, the colors of the rising and falling plots "K" are ColorRising and ColorFalling, the first two parameters all the way at the top of the list. Changing the color of Plot "K" will not do anything. However, that is where you can adjust the line weight and style of that plot.
COMPATIBILITY:
NinjaTrader 6.5: NO
NinjaTrader 7.0: YES
The indicator works a little different than websouth's implementation, because he was using the displacement chart feature which puts lines behind (historical) price. Within the indicator, I just painted the line using historical data, but it still plots real-time.
At any rate, it is a very interesting indicator. Sometimes it is a thing of beauty, others the visual aesthetics are not appealing but that usually means chop. If the indicator looks like shit then the price action is probably shit, too.
All colors are fully configurable, as is the shading, and opacity. You can also control the historical period rate.
Attached are a few screens plus the indicator. It's the top panel stuff.
I also created an indicator called jtRealStats_ChartDisplay (also in the zip file) which helps keep the chart sized properly to display the main indicator.
Also, you need to change the right side margin in chart properties from 4 to 24.
October 12th, 2010 01:32 AM dvan You can view detailed description of the indicator? )
June 22nd, 2010 04:04 PM willyad thanks
November 5th, 2009 10:23 PM cclsys This is an extraordinary indicator to be be able to access gratis. Anything that helps see the bids/offers or volume his
tory is helpful since really all you need to know about price is already on a bar chart. But volume isn't so obvious and
can be quite revealing. Amongst other things, very helpful when stop-trailing above break even to identify areas with m
uch higher support/resistance than others.
Only downside: it's another indicator, but this one has about 5,000 data points, so although very helpful, it's also a t
ad distracting!
September 26th, 2009 08:25 PM j0hnth0m I like what you did with my indicator. I get tonnes of comments on my blog for this indicator. I'll post a link to th
is version as you have greatly improved it.
Thanks.
September 22nd, 2009 11:29 PM Big Mike Nicely done, thank you!