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.
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.
This indicator which requires GomPackage plots volume profiles.
User can select Bar or Daily profiles
User can plot profile of all volume since a certain date
Profiles can be colored to indicate time of the trades
Profiles can plot delta of the bar
Profiles can be smoothed to filter noise
Profiles can be plotted left to right or right to left.
Profiles can include/exclude AH volume
POC, VAH, VAL, VWAP can be plotted
High and Low volume Nodes can be plotted
Coded to my interests at the time, MultiTimeFrame Strategy: also has some interesting code for Profit Targets and Trailing Stops. One interesting thing (at least for me lol) I had included was an option that if the bar closed over a trigger for moving the trailing loss, not just if it hit the trigger value. Audio and Visual Alerts. Works on historical data.
September 22nd, 2011 12:42 PM 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 12:31 PM dilbert618 Thank you Zondor
September 26th, 2015 09:07 AM PharmDoc Great work
February 12th, 2013 08: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 04:42 AM MasterSeer Thanks So Much for your great contribution to my profitable trading!
September 24th, 2011 10: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 06:46 AM dbnaegele Nice work--thanks!
March 7th, 2011 03:47 PM kevinhenjum Really useful indicator.
November 21st, 2010 05: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 12:53 PM marcelo203 Thanks very good indicator.
December 29th, 2014 12:48 PM jlmurcia Thanks for this visual indicator, particularly helpful to spot price reversals in support/resistance areas.
August 25th, 2014 12:48 PM 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 02: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?