Originally ported from MetaTrader, I found this in one of BMT's threads & made some slight modifications to it. I found the original bar size and font size a little too small for my large monitor and decided to add a "bar size multipler" and "font size multiplier" to enlarge the size of the color bars as well as the font.
Other older members, who, like myself, may have a difficult time seeing small objects on a chart, may find this helpful.
You can increase the size of the color bars, the font, or both.
This is my implementation of a Universal Renko bar type. It allows the user to choose when the bar closes in the direction of the previous bar (Trend), and when it closes in the direction against the previous bar (Reversal).
This allows you to tailor the bar to behave specifically how you want it in ways that hopefully may enhance your particular trading style. As an example, if I am a reversal trader, entering on reversal bars, and putting my stop behind the entry bar, I can choose trend and reversal settings that minimize the size of reversal bars, and therefore optimize my stop sizes, etc.
Parameters are:
'Tick Trend' - Number of ticks to close the bar in the Trend direction
'Tick Reversal' - Number of ticks to close the bar in the Reversal direction
'Open Offset' - Number of ticks offset to draw the artificial open
Like most Renko bars, the bar open is artificial, and is placed by default halfway up the previous bar. The open is aesthetic only, it is not used in the bar size calculation. The tails on the bar show real prices. The artificial Open may affect your backtesting depending on the coding of your strategy. Internally uses NT PeriodType.Custom5
V2:
To support Muti TimeFrame indicators/strategies using the Add() method, added an alternative way to specify all bar specs in the 'Tick Trend' parameter. You can now alternatively specify each parameter as 3 digits in the Data Series window 'Tick Trend' parameter or Add() method 'Period' parameter. For example to specify TickTrend=4 , TickReversal=8, OpenOffset=2 or (T4R8O2) then specify: 'Tick Trend'=004008002 in Data Series window, or Add(PeriodType.custom5, 004008002);' in your MTF code. The normal way of specifying the parameters will continue to work as well.
This indicator will provide the volumetric Bar statistics in a hidden plot form. The main purpose is to provide (through 21 plots) the bar statistics values to the Strategy Builder and/or Chart alerts, and/or the Market analyzer without the need to program. You can also use in a Ninjascript indicator or strategy. The 21 plots are hidden so they will not change the display. See the screenshot to see the names of the available data points (plots).
When you select the indicator in the strategy builder or the chart alerts, you can change the plot to any of the 20 other plots so you can work with the statistic of interest.
Also, all 21 plot values will show in the charts data box window or the charts mini data box.
The indicator must be applied to a chart or data series that uses Volumetric bars.You must have the NinjaTrader lifetime license to access the Volumetric bars.
There is an option, for debugging, to print the output to the Ninjascript output window. This will show two values that should match on each line. One value is direct from the calculation and the other is from the plot (that gets it from the same calculation), the point is to remove the mystery of what data is being provided.
August 16th, 2016 12:55 PM bobc635 Very Nice !!! Thanks
March 17th, 2016 08:32 AM no3putts Thank you!
December 31st, 2015 01:23 PM Srq1 Thanks Wizard, very useful indicator.
August 26th, 2015 05:39 AM fisagol Very useful indicator! Good job!!
July 22nd, 2013 02:46 AM Amsterdam Whale You're bang on - I'm much more able to see at a 'glance' what once could only be seen by a 'squint'. The only thing wors
e than getting old and things getting blurry is being young and things getting blurry! Oh well, some must apparently go
down early, I can hack it. Thanks very much for this.
January 18th, 2017 03:02 PM AABid Thank you for sharing. Your kindness is greatly appreciated. This bar type is the cornerstone of my trading as it help
s me to filter all the noise. I use setting of 1-5-1 for the emini.
August 23rd, 2016 01:59 PM Trading Noob Awesome Renko implementation!
January 28th, 2020 08:19 AM PilotTrader Excellent tool for traders using the uniRenko bars!
Question: Is there an NT8 version of this anywhere? Thanks.
January 1st, 2019 08:07 PM beatnik Just what I needed. Been drawing a rectangle around the candle the size of my reversal candle. Thanks
April 26th, 2018 10:14 PM chuckclymer I am new to this forum and I am probably not commenting in the correct spot, but I am curious if this is available for N
T8? Thanks for the indicator!!!
September 23rd, 2017 01:31 PM longboat Thanks. Can somebody please code this for NT8?!!