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


UniRenko, Universal Renko Bar Type
Updated: Views / Replies:282,373 / 694
Created: by monpere Attachments:121

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors – all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you don’t need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • 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.

-- Big Mike, Site Administrator

Reply
 121  
 
Thread Tools Search this Thread
 

UniRenko, Universal Renko Bar Type

  #11 (permalink)
Germany
 
Trading Experience: Beginner
Platform: NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire
 
TempletonPeck's Avatar
 
Posts: 200 since Feb 2010
Thanks: 1,132 given, 201 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!


IMO the "AligatorRenkoRangeTargetByThatManFromTexas"- Indicator works to show the projected close of the current bar. The next bar will open when price goes up/down 1 tick above/below these values.

Edit: I just noticed the "AligatorRenkoRangeTargetByThatManFromTexas" doesn´t show the correct values for all settings. I think I was lucky it worked with the settings (T2R6O2) I tried the last days. With (T2R4O2) it seems not to work. Perhaps a programmer can look into this.

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


@monpere
When you enter on reversal bars, do you enter 1 tick above/ below the reversal bar (stop market order)?
Or do you use Stop Limit Orders with an offset of -1, so when price ticks 1 tick above/below the reversal bar (new candle is printed) a limit order is entered with the value of the close of the reversal bar?
But in fast markets you won´t get a fill sometimes.

Thanks for sharing this indicator!

Attached Files
Register to download File Type: zip AligatorRenkoRangeTargetByThatManFromTexas.zip (4.5 KB, 423 views)

Last edited by TempletonPeck; November 22nd, 2012 at 04:07 AM.
Reply With Quote
The following 5 users say Thank You to TempletonPeck for this post:
 
  #12 (permalink)
Wrocław, Poland
 
Trading Experience: Intermediate
Platform: NinjaTrader, Racket
Favorite Futures: Ockham's razor
 
gregid's Avatar
 
Posts: 651 since Aug 2009
Thanks: 321 given, 615 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.

Depending what do you need it for but the way unirenko calculates new bar is my preferred way for automated strategies - it does a better job at denoising (it creates a new bar once the move in the direction is confirmed)

Reply With Quote
The following 2 users say Thank You to gregid for this post:
 
  #13 (permalink)
Wrocław, Poland
 
Trading Experience: Intermediate
Platform: NinjaTrader, Racket
Favorite Futures: Ockham's razor
 
gregid's Avatar
 
Posts: 651 since Aug 2009
Thanks: 321 given, 615 received


If anyone still wants to have the behavior of creating new bar on "touch" as opposed to on "exceed" the change in the code should be quite straightforward. Just replace the following lines (54,55):

 
Code
                            
maxExceeded  bars.Instrument.MasterInstrument.Compare(closebarMax) > true false;

minExceeded  bars.Instrument.MasterInstrument.Compare(closebarMin) < true false

With:
 
Code
                            
maxExceeded  bars.Instrument.MasterInstrument.Compare(closebarMax) >= true false;

minExceeded  bars.Instrument.MasterInstrument.Compare(closebarMin) <= true false
Can't test it right now but that should be it.

BTW Thanks @monpere for the bar type - I used similar implementation of my own but I like yours even better

Reply With Quote
The following 3 users say Thank You to gregid for this post:
 
  #14 (permalink)
Quebec
 
Trading Experience: Intermediate
Platform: NinjaTrader wt Rancho Dinero's profiling tools
Broker/Data: AMP/CQG
Favorite Futures: ES, NQ, YM
 
trendisyourfriend's Avatar
 
Posts: 3,864 since Oct 2009
Thanks: 3,455 given, 4,917 received

Could you expose this property to the user so that it can be set in the user interface?
New bar on touch: True/False


gregid View Post
If anyone still wants to have the behavior of creating new bar on "touch" as opposed to on "exceed" the change in the code should be quite straightforward. Just replace the following lines (54,55):

 
Code
                            
maxExceeded  bars.Instrument.MasterInstrument.Compare(closebarMax) > true false;

minExceeded  bars.Instrument.MasterInstrument.Compare(closebarMin) < true false

With:
 
Code
                            
maxExceeded  bars.Instrument.MasterInstrument.Compare(closebarMax) >= true false;

minExceeded  bars.Instrument.MasterInstrument.Compare(closebarMin) <= true false
Can't test it right now but that should be it.

BTW Thanks @monpere for the bar type - I used similar implementation of my own but I like yours even better


Reply With Quote
 
  #15 (permalink)
Wrocław, Poland
 
Trading Experience: Intermediate
Platform: NinjaTrader, Racket
Favorite Futures: Ockham's razor
 
gregid's Avatar
 
Posts: 651 since Aug 2009
Thanks: 321 given, 615 received


trendisyourfriend View Post
Could you expose this property to the user so that it can be set in the user interface?
New bar on touch: True/False

It could be done but I don't remember how many parameters are exposed by NinjaTrader for bar types.
UniRenko already uses: Value, Value2, BasePeriodValue so the complication may be there are no other fields that could store/expose this information

Reply With Quote
The following user says Thank You to gregid for this post:
 
  #16 (permalink)
Bala, PA, USA
 
Trading 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,324 received


trendisyourfriend View Post
Could you expose this property to the user so that it can be set in the user interface?
New bar on touch: True/False


gregid View Post
It could be done but I don't remember how many parameters are exposed by NinjaTrader for bar types.
UniRenko already uses: Value, Value2, BasePeriodValue so the complication may be there are no other fields that could store/expose this information

It can be done. I experimented and evaluated with this idea, and even as a scalper I concluded that it is of little value overall. I don't believe that on-touch, or exceeding the defined range by 1 tick should really make or break a trader's trading method. If it does, I would look at the merit of that trading approach itself. But if there's enough demand for this feature, I can include it.

Reply With Quote
The following 10 users say Thank You to monpere for this post:
 
  #17 (permalink)
Atlanta, GA
 
Trading Experience: Intermediate
Platform: Ninjatrader
Favorite Futures: N/A
 
Posts: 260 since Dec 2011
Thanks: 117 given, 324 received

Woah! I sweated and stomped, and huffed and puffed my way to the top of the mountain, and I guess I should've planted my flag when I had the chance

Or waited a month or so to save the effort...

Thanks for posting this, @monpere, I'm psyched to download it and check out the code.

best,
RK

Reply With Quote
The following user says Thank You to rk142 for this post:
 
  #18 (permalink)
new york
 
 
Posts: 355 since Mar 2012
Thanks: 665 given, 579 received

is there some way I can get this ?
I am not an elite member and I exclusively use renko bars.
This looks very interesting.

thanks
shane

Reply With Quote
 
  #19 (permalink)
Market Wizard
Columbus, OH
 
Trading Experience: None
Platform: NT 8, TOS
Favorite Futures: ES
 
Silvester17's Avatar
 
Posts: 3,467 since Aug 2009
Thanks: 4,848 given, 10,904 received


shanemcdonald28 View Post
is there some way I can get this ?
I am not an elite member and I exclusively use renko bars.
This looks very interesting.

thanks
shane

I think you got 2 choices.

- become an elite member
- go to ninjatrader forum Links and Downloads Manager - NinjaTrader Support Forum

Reply With Quote
The following 2 users say Thank You to Silvester17 for this post:
 
  #20 (permalink)
new york
 
 
Posts: 355 since Mar 2012
Thanks: 665 given, 579 received


i found it on ninjatrader.com
thanks so much !
it looks very promising for my automated strategies so far !

shane

Reply With Quote
The following user says Thank You to shanemcdonald28 for this post:

Reply



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




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

futures io is celebrating 10-years w/ over $18,000 in prizes!

Right now
 

$250 Amazon Gift Cards with our "Thanks Contest" challenge!

Right now
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bar Counter For Line Break Bar Type Eagle01 NinjaTrader Programming 9 July 26th, 2019 08:08 PM
Wicked Renko custom bar type for NT7 aslan NinjaTrader Programming 26 January 17th, 2018 07:43 PM
Better Renko Bar Size (vs. 5 min bar) TrendTraderBH Traders Hideout 5 December 9th, 2016 05:30 AM
End of bar strategies with advanced bar types (Renko, Range, Kagi, etc) RM99 Elite EasyLanguage Automated Trading 2 September 9th, 2011 09:38 AM
how to load Median renko and LineBreakwicked type bar kieuthu59 NinjaTrader 8 April 11th, 2011 03:56 PM


All times are GMT -4. The time now is 05:05 PM. (this page content is cached, log in for real-time version)

Copyright © 2020 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