A real time only version of this indicator was posted on the Ninjatrader forums by Dave S. in February. Naturally I couldn't resist the temptation to make it work with the GomRecorder.
The bars are colored blue for positive deltas and red for negative deltas. The saturation is proportional to the ratio of delta to total volume. Lighter color bars have lower deltas, and white bars have deltas near zero.
The trades that are counted can be filtered by the Minimum and Maximum Trade Size settings.
It seems to work well on Renko charts, where you can see the balance of power shift at congested areas that become reversals.
An optimized, ultra fast loading version using optimization techniques from the article on MoveTheMarkets, as referenced in the Optimize C# thread of the Forums.
Version 1.4 uploaded on May 30 should work with NT6.5 as well as NT7. Tested out OK here, please send me a PM if any problems.
Adapted from Blau's Momentum/Direction/Divergence by zoltran (Wes S.) and optimized by Zondor (ZondorŪ)
Here are the "rules" for using this.. take them with a grain of salt! Never rely wholly on indicators, nor on a single time frame!
Enter or hold position only when slope of ECO2New3 Signal line has the same direction as the trend
Stand aside when slope of ECO2New3 Signal Line is in the opposite direction of trend
Enter or exit position when ECO2New3 and its Signal Line cross
The magenta dot shows when the ECO2New3 is 'inside' its signal line, indicating failing momentum.
Instances of all external MA's that are used by this indicator are pre-instantiated and the instances are defined before use.
Calls to the external MIN and MAX indicators have been replaced by calls to new internal private functions that give the minimum and maximum values.
The calls to those functions can only be made on the first tick of each new bar, and then ONLY when the maximum or minimum value of the applicable series is known to have changed. This eliminates a great deal of unnecessary loop processing.
Special thanks to Richard of MoveTheMarkets.com for the optimization strategies, at least SOME of which should be used whenever an external indicator is called from a Ninjacript INDICATOR or STRATEGY... it's a Paradigm Shifter.
This version should work on NT6.5 or NT7, but I have not tested it on NT6.5.
Revised May 25 2011: This is an updated G40 version. The installation package includes the GomRecorder and related files from latest Gom Package version 2.3b.
Revised at 4:50 PM ET on May 27: Added user selectable values for the fast and slow smoothing parameters of the Tick Volume Index, and changed the default values that previously had been hard coded.
We've come a long way since version G35. This one includes bar by bar values of Delta, Delta Momentum, and the Tick Volume Index. There were some optimizations to make it run a little faster, but it was still relatively slow to load.
On Tuesday May 26 I did some further code optimization and it now loads much faster. If you downloaded prior to around 7PM ET on that date, you should download and install the updated version posted at that time.
VIP Only, please do not distribute outside of the Elite Circle.
This an optimization of the December 2009 BMTDivergence Indicator. The code has been optimized by predefining the instances of the external indicators that are used.
September 22nd, 2011 11:42 AM Tiberius I found this indie did not plot correcting (math,code) in fast markets. Seems like a great indie, but my faith has dimin
June 12th, 2016 11:31 AM dilbert618 Thank you Zondor
September 26th, 2015 08:07 AM PharmDoc Great work
February 12th, 2013 07:03 PM OpalDragon Epically awesome sir... Thank you very very much! Would love the option for the little diamonds to appear right on to
p of the bars on the chart...
with out any left scale - just diamonds on the chart
all I would need is to know that there is divergence it is so just diamonds appearing on top of the bar would be gr
eat -- but it is freakin awesome!
November 20th, 2010 03:42 AM MasterSeer Thanks So Much for your great contribution to my profitable trading!
September 24th, 2011 09:12 AM visionone Nice work. Has anyone built a strategy around this indicator? I am new to NT and interested in trying to backtest a stra
tegy using this indicator. Appreciate any suggestions or pointers.
September 7th, 2011 05:46 AM dbnaegele Nice work--thanks!
March 7th, 2011 02:47 PM kevinhenjum Really useful indicator.
November 21st, 2010 04:29 PM Trafford Nice indicator - used in conjunction with say Delta Momentum indicator this works very well, price, and net Buy and Sell
October 18th, 2018 11:53 AM marcelo203 Thanks very good indicator.
December 29th, 2014 11:48 AM jlmurcia Thanks for this visual indicator, particularly helpful to spot price reversals in support/resistance areas.
August 25th, 2014 11:48 AM OpalDragon pretty awesome Zondor -- but I think we can make it better if we combine this with other studies or systems!
Great Work Zondor. <<< Wanted to edit my original comment because it could be misconstrued >>> These bars/modifications
are freakin awesome..
April 18th, 2012 01:44 PM sigmatrader Does the Trade Size filter work on this code? I've tried changing the Maximum Trade Size and Minimum Trade Size and see
no difference in the color bars. I understand that the code is based on the delta_ratio of (buyvolume-sellvolume)/(buy
volume+sellvolume). I've formatted the dataseries with black up bars and black downbars and then applied theBuy/Sell co
lor Bars indicator with the defaults of max size 1000 and min size 1. Then I tried increasing min size from 1 up to 100
0 and did not see any changes in the color bar shading. I also tried leaving the min size at 1 and decreasing the max s
ize from 1000 down to 1 and again no change in the color bar shading. Any ideas?
Is there an option to set the alarm sound to have the same property as the flash? It only sound off at the end of the ba
r.
Thanks
March 24th, 2011 06:52 PM jrayroc Thank you!
January 26th, 2011 09:27 PM fusion The indicator provides options for user to choose preferable alert duration, display type and flash type. It's really ni
ce!
June 11th, 2010 12:12 PM sam028 Very nice !!!
An enhanced version in the Codex, here, with Mike's comment on Zorder/opacity.