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


UniRenko, Universal Renko Bar Type
Started: by monpere Views / Replies:177,559 / 562
Last Reply: 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

  #11 (permalink)
Elite Member
Germany
 
Futures Experience: Beginner
Platform: NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire
 
TempletonPeck's Avatar
 
Posts: 199 since Feb 2010
Thanks: 1,128 given, 199 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, 353 views)

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

Futures Edge on FIO

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)
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,247 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 9 users say Thank You to monpere for this post:
 
  #17 (permalink)
Elite Member
Atlanta, GA
 
Futures Experience: Intermediate
Platform: Ninjatrader
Favorite Futures: N/A
 
Posts: 262 since Dec 2011
Thanks: 117 given, 320 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)
Trading for Profit
new york
 
Futures Experience: Intermediate
Platform: X Trader, Sierra Charts, Multicharts
Broker/Data: AMP/TT, Vision/Rithmic, AMP/CQG
Favorite Futures: CL, NG, gold
 
Posts: 355 since Mar 2012
Thanks: 665 given, 568 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
 
Futures Experience: None
Platform: NT 8, TOS
Favorite Futures: ES
 
Silvester17's Avatar
 
Posts: 3,282 since Aug 2009
Thanks: 4,532 given, 10,140 received
Forum Reputation: Legendary


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)
Trading for Profit
new york
 
Futures Experience: Intermediate
Platform: X Trader, Sierra Charts, Multicharts
Broker/Data: AMP/TT, Vision/Rithmic, AMP/CQG
Favorite Futures: CL, NG, gold
 
Posts: 355 since Mar 2012
Thanks: 665 given, 568 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

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Spring Grains Outlook w/Sean Lusk @ Walsh Trading

Elite only

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

April

Process above all else w/Anthony Crudele @ Futures Radio Show

Elite only

Machine Learning - Quantitative Trading w/Martin Froehler @ Quantiacs

Elite only

Market Dynamics w/Peter Davies @ Jigsaw Trading

Elite only

Ask Me Anything w/Patrick Rooney @ Trading Technologies

Apr 18

Ask Me Anything w/FuturesTrader71

Apr 19

Machine Learning w/Kris Longmore

Elite only

Market Analysis w/Dave Forss

Apr 25

Introducing iSystems with Stage 5 Trading

Apr 27
     

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 01:07 AM.

no new posts
Page generated 2017-03-30 in 0.14 seconds with 20 queries on phoenix via your IP 54.166.107.51