NexusFi: Find Your Edge


Home Menu

 





UniRenko, Universal Renko Bar Type


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one MWinfrey with 27 posts (120 thanks)
    2. looks_two Tasker_182 with 27 posts (83 thanks)
    3. looks_3 jmcg618 with 21 posts (2 thanks)
    4. looks_4 Big Mike with 20 posts (54 thanks)
      Best Posters
    1. looks_one monpere with 33.4 thanks per post
    2. looks_two dstrader with 8 thanks per post
    3. looks_3 MWinfrey with 4.4 thanks per post
    4. looks_4 Tasker_182 with 3.1 thanks per post
    1. trending_up 426,484 views
    2. thumb_up 1,698 thanks given
    3. group 227 followers
    1. forum 695 posts
    2. attach_file 122 attachments




 
Search this Thread

UniRenko, Universal Renko Bar Type

  #371 (permalink)
Momozo
fortaleza + ceara/brazil
 
Posts: 23 since Jun 2014
Thanks Given: 26
Thanks Received: 4

Guys, I have a 1 minute database here. I downloaded the Unirenko that is available at ninjatrader forum. I dont know it this one is already patched against the memory leak bug or if its an older version, but it seems I cant open my historical chart in Unirenko, or any other kind of custom bars, as range, normal renko etc. I can do it in time bars, tough.

Does anyone know the cause?

Thanks!

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Exit Strategy
NinjaTrader
Are there any eval firms that allow you to sink to your …
Traders Hideout
ZombieSqueeze
Platforms and Indicators
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
59 thanks
Funded Trader platforms
37 thanks
NexusFi site changelog and issues/problem reporting
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
The Program
19 thanks
  #372 (permalink)
 
traderdavidt's Avatar
 traderdavidt 
Hong Kong
 
Experience: Intermediate
Platform: www.x500.pro
Trading: YM
Posts: 53 since Dec 2011
Thanks Given: 13
Thanks Received: 138

Hi momozo,

I don't think your 1 minute historical data will work because the way UniRenko and Range bars are calculated.

Bars such as range and UniRenko are calculated by tick data, and rules for creating new bars inherently per tick data. A good example is that a range of a 1 minute bar which is your smallest precision of historical data you have could have a low to high range of 50 ticks. Therefore if you're using a UniRenko or Range bar which are created every 6 ticks in range, there would be no way the business logic in the custom bar to be able to know this with just minute data.

I hope I've been clear enough with my explanation.

If you're in Ninja Trader it is worth getting your hands on tick data or download directly in ninja trader tick data if you have a data service provider like CQG, IQFeed etc.

There's many others on this board who can help you with this ;-)

Kindly


Momozo View Post
Guys, I have a 1 minute database here. I downloaded the Unirenko that is available at ninjatrader forum. I dont know it this one is already patched against the memory leak bug or if its an older version, but it seems I cant open my historical chart in Unirenko, or any other kind of custom bars, as range, normal renko etc. I can do it in time bars, tough.

Does anyone know the cause?

Thanks!


--
David
Reply With Quote
Thanked by:
  #373 (permalink)
Momozo
fortaleza + ceara/brazil
 
Posts: 23 since Jun 2014
Thanks Given: 26
Thanks Received: 4



traderdavidt View Post
Hi momozo,

I don't think your 1 minute historical data will work because the way UniRenko and Range bars are calculated.

Bars such as range and UniRenko are calculated by tick data, and rules for creating new bars inherently per tick data. A good example is that a range of a 1 minute bar which is your smallest precision of historical data you have could have a low to high range of 50 ticks. Therefore if you're using a UniRenko or Range bar which are created every 6 ticks in range, there would be no way the business logic in the custom bar to be able to know this with just minute data.

I hope I've been clear enough with my explanation.

If you're in Ninja Trader it is worth getting your hands on tick data or download directly in ninja trader tick data if you have a data service provider like CQG, IQFeed etc.

There's many others on this board who can help you with this ;-)

Kindly

Thank you very much for you explanation, Mr traderdavidt.

About the Unirenko itself, do you think the version I have (from ninjatrader forum) is good enough to trade, or do you think its better to buy others like better renko (elite membership) or Rjays Spectrum2? I saw some people talking about some errors and stuff, so I am a bit afraid. I ask this because, to be able to trade using ninjatrader, I'll have to spend quite a high percentage of my available capital, so it must be worth it.

The possibility of chart trading will make my life 1000% easier, thats why Im considering investing so much (trading plataforms here in brazil are extremelly lame).

Thanks!!!

Reply With Quote
  #374 (permalink)
 
lolu's Avatar
 lolu 
Lagos, Nigeria
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader, SierraChart
Trading: Euro Currency & Oil
Frequency: Daily
Duration: Hours
Posts: 2,552 since Jun 2009
Thanks Given: 1,049
Thanks Received: 1,678

The SveRenko bar type, has a period setting called "Session Breaks (1=Y, 2=N)" as shown in the attached screenshot. When the Session Breaks is set to "2=N", the usual session gap suffered by all Renko bar types (except the in-built NinjaTrader Renko and RJays Renko) at session breaks is resolved. In other words, SveRenko (with Session Breaks set to "2=N") behaves exactly like NinjaTreader Renko and RJays Renko at session breaks.

My request is:

Can the UniRenko bar type be modified to have the Session Breaks setting option by adapting the codings in SveRenko ?

Lolu


Visit my NexusFi Trade Journal Reply With Quote
  #375 (permalink)
 
justtrader's Avatar
 justtrader 
San Francisco, CA
 
Experience: Intermediate
Platform: Ninja Trader, TOS
Trading: es, rty, cl, gc, nq, ym
Posts: 182 since May 2011
Thanks Given: 104
Thanks Received: 173

I just noticed a 1 minute chart reverse 1 tick above the UniRenko reversal. Is this bug not fixed yet? Do I have an old version?

Reply With Quote
  #376 (permalink)
 bob314159 
boulder, colorado
 
Experience: Advanced
Platform: TradeStation
Trading: emini's
Posts: 56 since Jun 2010
Thanks Given: 3
Thanks Received: 63

Has anyone built UniRenko for TS? (TS can now handle 1 second data)

Reply With Quote
  #377 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,527 since Oct 2009
Thanks Given: 4,171
Thanks Received: 6,018


justtrader View Post
I just noticed a 1 minute chart reverse 1 tick above the UniRenko reversal. Is this bug not fixed yet? Do I have an old version?

Bug is still there.

Reply With Quote
  #378 (permalink)
 buttermilk1939 
Indianapolis Indiana USA
 
Experience: Advanced
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES,NQ,TF,6J,6E,ZB
Posts: 3 since Jan 2013
Thanks Given: 5
Thanks Received: 1

I have a session break to force a new Onbarupdate to end my day. My system runs perpetually. I want my strategy to know when it is a new day. It is my understanding that Time[0] is the date and time of the last completed bar. Thus it does not have the current date. If this is true then I need to wait for the second bar to end to know that that date has changed. Is there a way to know the date has changed with the first tick of the day short of changing my OnBarUpdate to be tick by tick.

Reply With Quote
  #379 (permalink)
 
ratfink's Avatar
 ratfink 
Birmingham UK
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: TST/Rithmic
Trading: YM/Gold
Posts: 3,633 since Dec 2012
Thanks Given: 17,423
Thanks Received: 8,425


buttermilk1939 View Post
I have a session break to force a new Onbarupdate to end my day. My system runs perpetually. I want my strategy to know when it is a new day. It is my understanding that Time[0] is the date and time of the last completed bar. Thus it does not have the current date. If this is true then I need to wait for the second bar to end to know that that date has changed. Is there a way to know the date has changed with the first tick of the day short of changing my OnBarUpdate to be tick by tick.

One way is just to set the CalculateOnBarClose variable to false instead, then use the FirstTickOfBar and Bars.FirstBarOfSession variables and separate the code sections in OBU, e.g:

 
Code
        protected override void Initialize()
        {
            CalculateOnBarClose = false;
        }

		
       protected override void OnBarUpdate()
        {
		if (FirstTickOfBar)
		{
			if (Bars.FirstBarOfSession)
			{
				// do my new session/day code here
			}
				
			// do all the rest of the code that it would normally do here if CalculateOnBarClose was true
		}
	}

Travel Well
Visit my NexusFi Trade Journal Reply With Quote
  #380 (permalink)
 eensor 
New Braunfels, TX
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Zen-Fire
Trading: futures
Posts: 129 since Aug 2009
Thanks Given: 924
Thanks Received: 21


When I use unirenko bars in market replay, the bars diddappear. Can anybody help with this? Thanks in advance.

eensor

Reply With Quote




Last Updated on April 3, 2023


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts