UniRenko, Universal Renko Bar Type - NinjaTrader | futures io social trading
futures io futures trading


UniRenko, Universal Renko Bar Type
Updated: Views / Replies:183,522 / 564
Created: by monpere Attachments:101

Welcome to futures io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.


You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Reply
 101  
 
Thread Tools Search this Thread
 

UniRenko, Universal Renko Bar Type

  #1 (permalink)
Elite Member
Bala, PA, USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Mirus, IB
Favorite Futures: SPY, Oil, Euro
 
monpere's Avatar
 
Posts: 1,858 since Jul 2010
Thanks: 300 given, 3,253 received

UniRenko, Universal Renko Bar Type

In this thread, I am posting my Universal Renko bar type implementation. I have been using it exclusively in my trading for a while now, and have had many requests for it. I wanted a more flexible Renko bar that could be customized in a particular way to fit my trading style, so I decided to make a bar type that allows the user to configure it more liberally to better suit their particular needs.

Basically the UniRenko bar, 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). So, you may choose for a new bar to form when the price has moved 5 ticks up from the previous close, or 10 ticks down from the previous close.
This allows you to tailor the bar in ways that hopefully may enhance your particular trading style. For instance, I am a reversal trader, entering on reversal bars, and putting my stop behind the entry bar. So, I have tested and chosen trend and reversal settings that minimize the size of reversal bars, and therefore minimize my stop loss sizes, while still producing clean sharp indicator patterns my trading method is based on.

Like most of the other advanced Renko bar types, the UniRenko bar open is artificial, so I consider it aesthetic only, and I do not use it in the bar size calculation. The bar calculations are based on the previous bar close. I personally like to place the open half way up the previous bar as I like the way the bars look with that setting. The tails on the bar show real prices. The bar should be backtestable if stops/targets are placed outside of the bar.

Because all the parameters are user selectable, and no aspect of the bar is derived from an arithmetic calculation, there should be no restriction on any bar parameter having to be odd or even, etc. Internally uses NT PeriodType.Custom5

I have hesitated to post this bar type before, as it can be configured to mimic some commercially available Renko bar types. I purchased some of those commercial bars myself, but they did not fully meet my needs. The purpose of this implementation is to provide traders with more flexibility, that hopefully with some experimentation may ultimately enhance their trading like it did mine.

futures.io (formerly BMT) Download link:

https://futures.io/download/ninjatrader-7/indicators/1304-download.html?view

Reply With Quote
The following 216 users say Thank You to monpere for this post:
2010, Abde, abourgeois, Affliction, aiti, ajrj, alberto, aligator, amoeba, Anatta, arbuthnot, Arno66, artmaan, Azrael, Barrosco, bd92154, Beljevina, biegea, Big Mike, billystl, bkool, Blash, bmfan, bmmartin, BobbyJ, bobbywu, bobc635, bongbong, Boomerang, Bosch777, boxi, bppayne, buddy858, buttermilk1939, candy, casey44, cazimi, cbratton, CFuture, Cloudy, Cmaker3, coolfutures, Corman, cory, danielk, dee50, devdas, djkiwi, DJTrader, Don Laing, doug, dstrader, dwntik5454, dwt51, edepa, eensor, enhancer, ewstox, fasttraxs, Fat Tails, Felix trader, ffxbettor, fibtrader1618, first quant, franjah64, fraquo, freedomtrader, Future4, futuretrader, GAP180, gdstuart, Gizmosis350k, gomi, gregid, GSREDDY, Haim1, Hans B, harry737, Hayles76, Hermo, HighDesertTrader, holythree, jagui, janfilimon, jceg1110, JDNeeman, jethro, jlwade123, jmeyer10, JohnKK, Jonson, Joules360, jta3, jtrade, Juanes, JustinIsHere, jwdixon, jwhtrades, KeithL, KennyK, lax99, learning0101, lemons, lolu, lordia, madLyfe, mailonline38, MarkG, master trader, matthoffman, maxr, mebv, meganer, michaelf, mikky182, Mirandus, MissyM, mongoose, mrfxtrade, MrTrader, MrYou, MWinfrey, mxphytlx, Nalu, NeilVee, nillz123, NJAMC, olobay, panama, panjm, perryg, philipp, pip29, pipandrun, Pipnatized, plethora, Pocketful, popswatter, profits, RabC, Rachel, Rad4633, rainbowchaser, Raj1, rapid58, resist, rickr, rimartin, rmejia, ronner, rpm123, Ruffcut, samsin89143, sandptrader, sands, SatchFan, Scalpingtrader, SeaView, seeker, serano, Serger, shanmugs, ShatteredX, Silvester17, skann, sleepy, Srq1, stealth38, stephenkelley, stephenszpak, Steve, steve2222, stoicbuddha, sudhirc, superpete, Taggart, Tasker_182, tbird, tehuff, tellytub, TempletonPeck, texastodd, TheGaryGuy, tinear10, tonimarfil, Trade58, trade65, traderbaker, tradergary, TraderJ, tradersp, TradingVictor, trendisyourfriend, TropicalRecon, trs3042, trvlntrdr, twism0, twosigma, urghan2, urocktwo, uzzo, ValLiant, VictorBravo, VictorK, wahn, Wil70, WillC, williamkao, wireford, Wolfgang, WyMak, Xav1029, xtrader111, ycomp, zeller4, zmm20
 
  #2 (permalink)
Elite Member
Quebec
 
Futures Experience: Intermediate
Platform: NinjaTrader wt Rancho Dinero's profiling tools
Broker/Data: Stage 5 trading/AMP/Rithmic
Favorite Futures: ES, NQ
 
trendisyourfriend's Avatar
 
Posts: 3,641 since Oct 2009
Thanks: 2,956 given, 4,402 received

Hi @monpere

Thanks for sharing this bar type. I have a question regarding the NT PeriodType.Custom5 property. Is there an easy way to check if there is a potential of conflict before installing this bar type? Do we need to open every file in this folder: "...NinjaTrader 7\bin\Custom\Type"

Reply With Quote
The following user says Thank You to trendisyourfriend for this post:
 
  #3 (permalink)
Elite Member
Bala, PA, USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Mirus, IB
Favorite Futures: SPY, Oil, Euro
 
monpere's Avatar
 
Posts: 1,858 since Jul 2010
Thanks: 300 given, 3,253 received



trendisyourfriend View Post
Hi @monpere

Thanks for sharing this bar type. I have a question regarding the NT PeriodType.Custom5 property. Is there an easy way to check if there is a potential of conflict before installing this bar type? Do we need to open every file in this folder: "...NinjaTrader 7\bin\Custom\Type"

I don't know of any other way. You can go to that folder and use the following command to find all the files that contain the string 'custom5': find /I "custom5" *


Last edited by monpere; November 20th, 2012 at 04:51 PM.
Reply With Quote
The following 3 users say Thank You to monpere for this post:
 
  #4 (permalink)
Elite Member
Lubbock TX
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Stage 5 Trading
Favorite Futures: CL
 
MWinfrey's Avatar
 
Posts: 1,878 since Jul 2009
Thanks: 1,448 given, 3,300 received

@monpere, I just noticed something that seems to differ from the definition of a renko brick. take a look at the blue circles in the picture. The wicks and sticks on those 3 examples are 2 ticks which by my understanding of a renko brick that a new brick should have been there instead of the wick or stick. Don't know if this is intended behavior or not but thought I'd mention it.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Thanks for sharing this with us all.

Mike

Reply With Quote
The following 3 users say Thank You to MWinfrey for this post:
 
  #5 (permalink)
Elite Member
Bala, PA, USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Mirus, IB
Favorite Futures: SPY, Oil, Euro
 
monpere's Avatar
 
Posts: 1,858 since Jul 2010
Thanks: 300 given, 3,253 received


MWinfrey View Post
@monpere, I just noticed something that seems to differ from the definition of a renko brick. take a look at the blue circles in the picture. The wicks and sticks on those 3 examples are 2 ticks which by my understanding of a renko brick that a new brick should have been there instead of the wick or stick. Don't know if this is intended behavior or not but thought I'd mention it.

...

Thanks for sharing this with us all.

Mike

I can't really count the ticks in the picture, but it looks like price moved 2 ticks from the previous close on these bars, failed to move one more tick to create a new bar, then turned around and breached the 4 ticks from the previous close in the opposite direction creating a new bar in the opposite direction, which is what is suppose to happen.


Last edited by monpere; November 21st, 2012 at 09:29 AM.
Reply With Quote
The following 11 users say Thank You to monpere for this post:
 
  #6 (permalink)
Elite Member
Lubbock TX
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Stage 5 Trading
Favorite Futures: CL
 
MWinfrey's Avatar
 
Posts: 1,878 since Jul 2009
Thanks: 1,448 given, 3,300 received


monpere View Post
I can't really count the ticks in the picture, but it looks like price moved 2 ticks from the previous close on these bars, failed to move one more tick to create a new bar, then turned around and breached the 4 ticks range in the opposite direction creating a new bar in the opposite direction, which is what is suppose to happen.

Yes that's exactly correct that price went 2 ticks which by the definition I've been using causes a new bar to be printed. By my understanding of Renko, if using a 2 tick renko brick, price only has to go 2 ticks to paint a new bar, not 3.

I've used the following link as the definition of renko...
Renko Chart Definition | Investopedia

The phrase providing the actual definition is "A renko chart is constructed by placing a brick in the next column once the price surpasses the top or bottom of the previous brick by a predefined amount." I've always interpreted predefined amount to be the brick size. So, in our example, every price change of 2 ticks causes a new brick to be printed. Also, I've evaluated a number of variations of the renko brick and believe all that I've seen to comply with that. However, this could be one of those situation where I wake up and find out that I've been operating all this time under a false interpretation but I don't think so.

Reply With Quote
The following 3 users say Thank You to MWinfrey for this post:
 
  #7 (permalink)
Market Wizard
Las Vegas, NV
 
Futures Experience: Advanced
Platform: Abacus, Slide Rule, HP-65, Metastock, TOS, NT
Favorite Futures: Futures
 
aligator's Avatar
 
Posts: 3,424 since Aug 2010
Thanks: 1,053 given, 5,813 received
Forum Reputation: Legendary

@monpere,

Thanks a bunch for your great invention. My first trade this morning using UniR was good trade.

My question, if I may please, is whether it is possible to write a little indicator for projection of the next bar open (something similar to the one one range bars). I am not quite familiar with the construct of UniR bars.

Much appreciated for sharing.

Cheers!

Reply With Quote
The following 3 users say Thank You to aligator for this post:
 
  #8 (permalink)
Elite Member
Bala, PA, USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Mirus, IB
Favorite Futures: SPY, Oil, Euro
 
monpere's Avatar
 
Posts: 1,858 since Jul 2010
Thanks: 300 given, 3,253 received


MWinfrey View Post
Yes that's exactly correct that price went 2 ticks which by the definition I've been using causes a new bar to be printed. By my understanding of Renko, if using a 2 tick renko brick, price only has to go 2 ticks to paint a new bar, not 3.

I've used the following link as the definition of renko...
Renko Chart Definition | Investopedia

The phrase providing the actual definition is "A renko chart is constructed by placing a brick in the next column once the price surpasses the top or bottom of the previous brick by a predefined amount." I've always interpreted predefined amount to be the brick size. So, in our example, every price change of 2 ticks causes a new brick to be printed. Also, I've evaluated a number of variations of the renko brick and believe all that I've seen to comply with that. However, this could be one of those situation where I wake up and find out that I've been operating all this time under a false interpretation but I don't think so.

Given that this is not a standard Renko bar, I am not using the strict Renko definition that you provide. The rules are different. Maybe I should have used a different name for the bar type.

Reply With Quote
The following 7 users say Thank You to monpere for this post:
 
  #9 (permalink)
Elite Member
Lubbock TX
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Stage 5 Trading
Favorite Futures: CL
 
MWinfrey's Avatar
 
Posts: 1,878 since Jul 2009
Thanks: 1,448 given, 3,300 received


monpere View Post
Given that this is not a standard Renko bar, I am not using the strict Renko definition that you provide. The rules are different. Maybe I should have used a different name for the bar type.

Quite alright. Now that I have clarification I can adjust.

Thank you...you always do such great work.

Reply With Quote
The following 3 users say Thank You to MWinfrey for this post:
 
  #10 (permalink)
Elite Member
Bala, PA, USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Mirus, IB
Favorite Futures: SPY, Oil, Euro
 
monpere's Avatar
 
Posts: 1,858 since Jul 2010
Thanks: 300 given, 3,253 received



aligator View Post
@monpere,

Thanks a bunch for your great invention. My first trade this morning using UniR was good trade.

My question, if I may please, is whether it is possible to write a little indicator for projection of the next bar open (something similar to the one one range bars). I am not quite familiar with the construct of UniR bars.

Much appreciated for sharing.

Cheers!

I thought about including a function call to get these values, but I thought it was simpler to include them in the bar displayed name. If you call Bars.ToString() you can get the trend and Reversal tick amount from the 'T2R4O2' part of the string. 'T2' is Trend 2 Ticks, 'R4' is Reversal 4 Ticks, 'O2' is Open offset 2 ticks, all measured from the previous close.

Reply With Quote

Reply



futures io > > > > UniRenko, Universal Renko Bar Type

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

FIO Journal Challenge featuring NinjaTrader ($2,000+ of prizes)

May

An overview of volumetric analytical tools w/Sergey Sokolov @ PTMC

Elite only

John Hoagland (TBA)

Elite only

FuturesTrader71 Extended Ask Me Anything (AMA)

Elite only

Pete @ Jigsaw Trading (TBA)

Elite only

John @ No BS Day Trading (TBA)

Elite only

An Afternoon with FIO member Softsoap (being rescheduled)

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Better Renko Bar Size (vs. 5 min bar) TrendTraderBH Traders Hideout 5 December 9th, 2016 04:30 AM
Bar Counter For Line Break Bar Type Eagle01 NinjaTrader Programming 8 April 1st, 2012 11:29 PM
Wicked Renko custom bar type for NT7 aslan NinjaTrader Programming 25 March 10th, 2012 10:13 AM
End of bar strategies with advanced bar types (Renko, Range, Kagi, etc) RM99 Elite EasyLanguage Automated Trading 2 September 9th, 2011 08:38 AM
how to load Median renko and LineBreakwicked type bar kieuthu59 NinjaTrader 8 April 11th, 2011 02:56 PM


All times are GMT -4. The time now is 02:54 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-05-28 in 0.15 seconds with 20 queries on phoenix via your IP 23.20.157.174