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.
January 3rd, 2010
Size: 5.82 KB
Downloaded: 416 times
263
websouth
Exported using NT version 7.0.1000.27
This is a generalized version of the Donchian Channel with a few options added:
- The Donchian Channel lines can be calculated from High/Low, Close, Typical or Weighted price. With the default option High/Low they will be calculated from the highest high and lowest low over the lookback period. With the other options the highest and lowest of the selected input series are used, which produces narrow channels.
- The indicator has an option to display outer channels, inner channes or midband individually.
- The indicator comes with a fast and a slow trend filter. The fast trendfilter changes direction, when the midband breaches the prior low of the upper band (trend change up) or when it breaches the prior high of the lower band (trend change down, as shown in the chart attached). The slow trendfilter changes direction, when the lower band breaches the prior low of the upper band (trend change up) or when the upper brand breaches the prior high of the lower band (trend change down, as shown in the chart attached.
- The indicator allows to display the fast trend, the slow trend or a combination of fast and slow trend, when appropriate colors are selected. If you want to show the fast trend only, you need to use identical colors for fast/slow uptrend and fast/slow downtrend. If you want to show the slow trend only, you would need to use the same colors for slow uptrend/fast downtrend and fast uptrend/slow downtrend. Both trendseries are exposed as public BoolSeries and can be called in an automated strategy.
- The trend can be displayed via the channel and midband colors or via paint bars. The indicator also has an option to display the channels or the midband individually. If you just need the paint bars, you can disable all plots.
Update October 4, 2012: Channel and paintbar colors will now align, when indicator is displaced.
Update July 5, 2015: Second channel added to indicator.
Puts a dot on top of volume bar when your desired "High" volume criterion is met.
In past I had a horizontal line at my desired volume, but could not tell for sure until I checked the bar.
This way NT7 does the checking for you.
Hope this one is not considered to simple.
I am fairly new to programming and this indicator plots a Dot at the top of the volume bar or where the volume bar would be when the last bar exceeds a user selected volume in your indicator panel (default is 30,000). It can be used with or without VOL. (Best to load both in the same panel)
Also the Blue dot works best at size three, but that too is selectable (You don't even need to use the dot and select another plot style.)
Fairly simple code and easily changed. Works with any time frame that VOL works with; however VOL indicator is not totally necessary, but helps for visual display.
Also if you want to just unzip this indicator before importing it to NT7: DotForVol.zip contains three files: DotForVol.cs This is a text file containing my code. If you rename it to DotForVol.txt you can use any editor to view the code. DotForVol.dll Compiled code for NT7 Info Not sure how this file works, but sure there is a reason for it, as NT7 exporter put it in there.
This is my first version 1.0.0.1 5/28.2014
Second version 1.0.0.2 6/2/2014 (Added an offset to plot above volume bar and a default of 3 for dot size. All of which can be changed without recoding the indicator the offset default is 10,000 and shows in MISC and can also be changed.)
20 OCT 2014 Added sound option for indicator. Couldn't figure out quickly how to include while zipping with NT7 and will include .WAV file separately. Just copy the .wav file into your /sounds/ folder and it should work. Note: this is a work in progress for me. I have borrowed code from MACD Color, and will be working in the future to clean up my code. Also this time I zipped without creating the .dll files. I learned that doing it that way makes it so you can see my code. Before I thought I had done this... Who knew there were different .cs files with same name when you make an indicator depending on how it is compiled. Man I have a lot to learn. Well Uploading now as I have taken a short break today to finish this. Okay... Well didn't have time today to make this perfect Here is link to update in my journal where I uploaded the files indicator and wav file. I'll do my best to fix things up and get back to this later. Just don't have the time for perfection right now.... https://nexusfi.com/trading-journals/27901-my-yellow-brick-road-bd92154-30.html
May 28th, 2014
Size: 2.60 KB
Downloaded: 250 times
1554
bd92154
Indicator paints when confirming both CCIs above or below zero. Can use one CCI for trend and other for entries and exits similar to Jeff's CCI - but longer frame CCI for trend instead of MAs. CCI lengths are adjustable inputs. Need to change color of your instrument bar to the neutral color (yellow in my case). Noob with EL so take it easy on me.
April 8th, 2010 04:18 PM anniebee321 i cannot see any data associated with this indicator?
January 10th, 2010 12:55 PM GoldStandard Thanks again for this tool. It's interesting to be able to view how the buyers/sellers order relationship changes at cer
tain points.
I ran across a site you might find interesting that is doing some work with order book analysis: tradingphysics.net. The
y have some interesting oscillators based on level 2 data & claim to have achieved quite a high success rate with them.
(i have no association with them)
I have a small request if its not too much trouble. For me it's a little bit counter-intuitive that the Total Buy line g
January 9th, 2010 09:18 PM GoldStandard Nice work and thank you! I'm trying this out now on replay mode.
January 7th, 2010 12:44 PM cclsys Thxs alot. I like indicators that give straight info that is otherwise hard to see (like Vwap and POC etc.). I also look
at the DOM alot and suspect this visual translation will prove helpful in learning to read various situations better.
May 27th, 2018 04:10 PM GLinden I so wanted the Donchian channel and
I did appreciate you providing it but I
can't open it and have no idea how to
get it thus. thanks for the work you di
but I can't use it.
April 4th, 2015 12:08 PM Purplesage Got it after all, maybe too impatient
April 4th, 2015 12:06 PM Purplesage Need help getting this file into TOS, I saved onto desktop and then tried to import but it saved as MPEG video and will
not load.
I am not the most experienced TOS member, I need help?