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.
IMPORTANT UPDATE JULY 11 2013, "VERSION 3" -- FROM BIG MIKE:
July 11 2013: Please note, user "dstrader" has uploaded a crucial bug fix for this bartype. You can find the download link here: https://nexusfi.com/?view
Folks,
These bars have become an integral part of my trading systems.
I went ahead and fixed the memory leak on the UniRenko bars. Now I can market replay a strategy without any memory leaks which is awesome.
June 21st, 2026
Size: 66.84 MB
Downloaded: 18 times
2761
xplorer
Winning Entry September 1st, 2026 to October 1st, 2026 [1 votes]
This simple indie uses 'added data' in the code.. Just input the 'data series' you want to
study in relation to the 30min BB's and it will plot values (estimates) of where the 30 min
BB 'Upper' and 'Lower' will plot on the hour and half-hour that is coming up..
These bands will also show you the median value of the current 30minute study which I
find very useful to form a "bias"..
In general : if price is below the 'Lower' plotted 30min BB (30 min chart) AND below the
'Lower' (already plotted 'fulcrum') 10 min BollingerPro (10 min data on any tick or volume
series chart) then price is in oversold territory ... at least its below the number of SD's you're
studying AND what's projected..
**Important : This indicator will stop working on Rollover.. .. The 'added data' in the code
needs to be updated to the current Sept, Dec, Mar, June series AND underlying !.. i.e. if you
want to study ES, the code has to be changed to use ES as 'added data'.. It's very simple to
do - the 'added data' lines are 70 and 71.. (try changing them yourself - you'll feel like a coder)
Note: I've updated the code to a 'Source Code' version (I hope).. I also hope it works as a
version everyone can access and change as needed, as I had hoped to share originally..
** I'd like to include the link for a new 'source code' version of BollingerPro now 'BollingerProChof'
I wasn't aware I had uploaded a .dll version. I apologize and bear responsibility for what got
posted/shared.. …
I attached a couple more pics to explain 'Ellipse #'s 1 & 2' in the pic attached here..
I've penned specifics on data series and some tips you 'May' use.. "Only trade with money
you can afford to lose" haha - seriously I hope it all helps.. Chof
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!