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,286 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

  #351 (permalink)
 
WolfieWolf's Avatar
 WolfieWolf 
Charlottetown, Prince Edward Island
 
Experience: Advanced
Platform: Ninja
Broker: Optimus - Rithmic
Trading: GC
Posts: 232 since Jul 2010
Thanks Given: 100
Thanks Received: 272


traderdavidt View Post
Tasker, so at a session break, on resume of a session, for the first bar, how is the previous Close calculated? As far as I understand, UniRenko uses previous Close as the point of all calculations.

Thanks and kindly

David

From my understanding of the code, the UniRenko bars are closed using either the greatest of the close and high or lowest of the close and low.

thisClose = maxExceeded ? Math.Min(close, barMax) : minExceeded ? Math.Max(close, barMin) : close;// thisClose is the minimum of BarMax and close (maxExceeded)

//### Close Current Bar
UpdateBar(bars, bar.Open, (maxExceeded ? thisClose : bar.High), (minExceeded ? thisClose : bar.Low), thisClose, time, volume, isRealtime);



/W

Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Are there any eval firms that allow you to sink to your …
Traders Hideout
Exit Strategy
NinjaTrader
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
Battlestations: Show us your trading desks!
26 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
The Program
18 thanks
  #352 (permalink)
 HighDesertTrader 
Albuquerque, New Mexico/USA
 
Experience: Intermediate
Platform: NinjaTrader-Continuum(Mirus)
Trading: emini Currency and Index Futures
Posts: 104 since Jan 2011
Thanks Given: 291
Thanks Received: 108

I would greatly appreciate if someone could tell me how to remove UniRenko and BetterRenko bar types from NinjaTrader. I see them listed on the Bar Type menu under "Data Series," but nowhere else, anywhere, folders , etc...

Reply With Quote
  #353 (permalink)
 
Tasker_182's Avatar
 Tasker_182 
Cedar Rapids, iowa
Legendary Market Wizard
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Ninjatrader - Continuum
Posts: 716 since Aug 2009
Thanks Given: 476
Thanks Received: 1,401



HighDesertTrader View Post
I would greatly appreciate if someone could tell me how to remove UniRenko and BetterRenko bar types from NinjaTrader. I see them listed on the Bar Type menu under "Data Series," but nowhere else, anywhere, folders , etc...

1) Shutdown NinjaTrader
2) go to documents>NinjaTrader7>BIN>Custom>Type
3) Delete or move out of the folder, UniRenkoBarsType.cs and BetterRenkoBarsType.cs

When you start Ninja, they should be gone.

Be yourself; everyone else is already taken. Oscar Wilde
Reply With Quote
Thanked by:
  #354 (permalink)
 HighDesertTrader 
Albuquerque, New Mexico/USA
 
Experience: Intermediate
Platform: NinjaTrader-Continuum(Mirus)
Trading: emini Currency and Index Futures
Posts: 104 since Jan 2011
Thanks Given: 291
Thanks Received: 108


Tasker_182 View Post
1) Shutdown NinjaTrader
2) go to documents>NinjaTrader7>BIN>Custom>Type
3) Delete or move out of the folder, UniRenkoBarsType.cs and BetterRenkoBarsType.cs

When you start Ninja, they should be gone.

Tasker,

Thanks for your quick response. Neither of these files appear in my Type folder. Yet, these bar types are "stuck" in the "Custom 5" and "Custom 4" Period Type positions, respectively, and are "working" fine with no trace of them in any folder within NinjaTrader.

HDT

Reply With Quote
  #355 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,396 since Jun 2009
Thanks Given: 33,172
Thanks Received: 101,534


HighDesertTrader View Post
Tasker,

Thanks for your quick response. Neither of these files appear in my Type folder. Yet, these bar types are "stuck" in the "Custom 5" and "Custom 4" Period Type positions, respectively, and are "working" fine with no trace of them in any folder within NinjaTrader.

HDT

There is a cache folder. I can't remember specifically which one, but check that, and always make a backup of the files first if you aren't 100% sure of what you are doing. Make sure NT is closed when you modify the file system, then reopen it after.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #356 (permalink)
 
Tasker_182's Avatar
 Tasker_182 
Cedar Rapids, iowa
Legendary Market Wizard
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Ninjatrader - Continuum
Posts: 716 since Aug 2009
Thanks Given: 476
Thanks Received: 1,401


Big Mike View Post
There is a cache folder. I can't remember specifically which one, but check that, and always make a backup of the files first if you aren't 100% sure of what you are doing. Make sure NT is closed when you modify the file system, then reopen it after.

Mike

Yeah, what HE said. You may have to start/stop ninja a couple of times.

Be yourself; everyone else is already taken. Oscar Wilde
Reply With Quote
Thanked by:
  #357 (permalink)
 HighDesertTrader 
Albuquerque, New Mexico/USA
 
Experience: Intermediate
Platform: NinjaTrader-Continuum(Mirus)
Trading: emini Currency and Index Futures
Posts: 104 since Jan 2011
Thanks Given: 291
Thanks Received: 108


Big Mike View Post
There is a cache folder. I can't remember specifically which one, but check that, and always make a backup of the files first if you aren't 100% sure of what you are doing. Make sure NT is closed when you modify the file system, then reopen it after.

Mike

Thanks Big Mike,

There is nothing in the Cache Folder even remotely resembling "UniRenko" or "BetterRenko."

HDT

Reply With Quote
  #358 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,396 since Jun 2009
Thanks Given: 33,172
Thanks Received: 101,534


HighDesertTrader View Post
Thanks Big Mike,

There is nothing in the Cache Folder even remotely resembling "UniRenko" or "BetterRenko."

HDT

The caching doesn't work like that, if I recall you would need to delete the entire subfolder. Again, make sure you have a backup, or don't take my advice at all...

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #359 (permalink)
 HighDesertTrader 
Albuquerque, New Mexico/USA
 
Experience: Intermediate
Platform: NinjaTrader-Continuum(Mirus)
Trading: emini Currency and Index Futures
Posts: 104 since Jan 2011
Thanks Given: 291
Thanks Received: 108


Tasker_182 View Post
1) Shutdown NinjaTrader
2) go to documents>NinjaTrader7>BIN>Custom>Type
3) Delete or move out of the folder, UniRenkoBarsType.cs and BetterRenkoBarsType.cs

When you start Ninja, they should be gone.

Tasker, Mike,

Just to close the loop on this, I went to NinjaTrader Support for help on this. I had, in the distant past, done essentially what Tasker had recommended. But, NinjaTrader didn't complete the process. It turns out that the UniRenko and BetterRenko chart types were still "stuck" in the NinjaTrader.Custom files. What they did was delete these files (NinjaTrader.Custom (XML) and NinjaTrader.Custom.dll (App Extension) located in the NinjaTrader>bin>Custom folder) by renaming them _.old for safety sake.

Once NinjaTrader was restarted, these files were recreated and the UniRenko and BetterRenko chart types were gone.

HDT

Reply With Quote
  #360 (permalink)
 mzabarain   is a Vendor
 
Posts: 26 since May 2013
Thanks Given: 30
Thanks Received: 18


UnirenkoBarCloses.zip allows to view the posible close levels for the current unirenkobar.
I´m using two charts of same instrument; the first chart (see attached image) is a T4R20O11; the second is a T2R40O2.
The first chart is using the UnirenkoBarCloses indicator.


Could It be posible to have an indicator on the other chart that automatically / Programatically creates a rectangle each time a new bar is created in the left more chart (T4R20O11). The boundaries of the rectangle should be:
Upper line = UnirenkoBarCloses high
lower line = UnirenkoBarCloses low
left line = at the same position of the bar in T2R40O2 that touched the previous UnirenkoBarCloses high
right line = 20 or 30 bars to the right from left line.

I know that this could be done in a blink of an aye for the great programmers of this fórum, so I apreciate in advance the help you can provide.

Good trading to all.

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