Gumphrie recently posted a Zero Lag Double Stochastic on the Ninjatrader forums. I optimized the code and modified it to use an external call to my super fast Double Stochastics Optimized instead of the inefficient "stock" version.
You will note that this Zero Lag Double Stochastic is much more responsive than the normal Double Stochastic, and that because of the code optimization, it loads and refreshes practically instantaneously.
For NT7 compatibility, there were 2 new parameters added to one of the DrawText() statements.
I added a compiler switch that will select the correct version of the statement of the DrawText method for either 6.5 or 7.
Indicator should now work in either version of Ninjatrader. However this zip package was created by NT7 so may not import into NT6.5. However, the previous version works fine in NT6.5 so that should not be a problem.
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.
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.
VIP Only, please do not distribute outside of the Elite Circle.
Mike's version, posted in June of 2009, was downloaded almost 700 times!
It colors the volume bars based on a sophisticated linear regression analysis without using bid ask volume data. It corresponds well with Delta Momentum generated from GomRecorder buy/sell volume.
I applied Richard's optimization method from his article, aboot the right way to call external indicators, at MoveTheMarkets.com. (eh?)
This greatly improves the performance, so much so that in NT7 it can run with CalculateOnBarClose = false. However, DO NOT run it this way. CoBC must be true for it to calculate correctly... for now.
VIP Only, please do not distribute outside of the Elite Circle. It's based on Mike's Version 2.02 from February. This plots the same as Mike's except for two differences.
Quick Start Modification causes value of CMA to rapidly converge to the correct value within a few bars of startup.
The method of calling the EMA's was changed for greater efficiency. This causes initial loading to be much faster, and resource use while indicator runs to be much lower. Thanks to Richard of MoveTheMarkets.com for his excellent article about this subject.
To see the envelope bands, chart must go back at least one day. Bands begin to display on the second day.
As in original version, all band colors are hard coded and are best for a chart with a dark background.
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?