This bar type creates a new bar when price reverses by a pre-defined amount of ticks from the high/low of the bar. As soon as a new bar is created and price moves at least the amount of pre-defined ticks in one direction, the bar again, closes after a reversal of pre-defined ticks.
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.
I dug this up somewhere. You might find it useful.
2 different 3 bar reversal patterns are shown by this indie -
3 Bar Reversal Pattern
BuyColor(Cyan)
SellColor(Magenta)
Low(1)>=Low(2)
Low(3)>=Low(2)
Low(3)<=Low(4)
High>High(1) trigger magic tick
Note : I have deleted one definition of Low>Low(1) in the previous version
+++++++++++++++++++
suri 3 Bar Reversal
BuySuri(Blue)
SellSuri(Red)
Updated version of the original indicator posted by Cunparis. Same logic. I found that the colors were not serialized and if you changed any of the bar colors upon saving the template & re-loading, they reverted back to the original default colors. I added serialization to the indicator code so that if you decide to change the default colors, once you save your template, the color changes will be saved also.
Hey Elite Circle Members!.. I wanted to go ahead and share something that Big Mike wrote for me that may help you in your trading. This indicator utilizes Volume, Stochastics, and Reversal Bars, to plot out potential reversals in the market.
You could use this indicator to trade in the direction of the trend after minor pull backs reversal. It could be used in strategies. It is variation of TTM trend indicator.
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!
October 1st, 2022 04:05 PM Buscador Thanks for sharing
June 20th, 2021 07:53 AM bluedot thanks, appreciated!
November 9th, 2019 05:45 AM Phc1 I think it's better to use the DM indicator as basis , it has the advantage of having the ADX and the DM in combo , wher
e the DM shows momentum as Peter1 mentioned probably . took 2 screenshots :
-https://www.screencast.com/t/TkuRYjY96
-https://www.screencast.com/t/SrMkoaCB1XZK
https://www.investopedia.com/terms/a/adx.asp
November 9th, 2019 05:32 AM Phc1 I share Kcrawford's opinion :
Not bad, but a couple of things:
1) people should be able to change whatever colors to whatever they want
2) set the EMA so that it also can be adjusted, people are going to tinker with it, and want to.
3) set the ADX itself to the range they want there to,
THEN your indicator is complete and everyone can adjust it how they want.
November 8th, 2019 05:20 PM renvik Thanks for your effort.