This version of Ninja's Bar Timer will work with NT7.
Code will not work on NT6.5.
v3 Some Minor alterations and code tidying. Jan 24 2011.
v Forum Major change - now use Ctrl + Numbers to move clock around chart - see Notes inside code.
There is a video review ( 2 mins) here.
Update 8 Jan 2013. Corrected minor Font serialisation issue.
Features
Shows Clock and Bar lapsed time.
Alerts can be visual or sound based ( or both).
Clock works independently of OnBarUpdate().
The visual alert can 'flash' the whole screen, the clock area or just the text from a user defined interval before the end of the bar.
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.
This version of the Double Stochastics has every coding trick I can think of.
All calls to external indicators are pre-instantiated.
It uses Richard's FastMAX and FastMin indicators instead of MIN and MAX.
Redundant p2 DataSeries from earlier …
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.
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
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?
April 20th, 2025 12:49 PM jrs659 still on 7 thanks
December 20th, 2013 02:46 PM Jonson big thanks!
May 13th, 2011 08:24 AM cw30000 Mindset,
Very nice indicator.
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