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.5 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 1,301,340 views
    2. thumb_up 1,701 thanks given
    3. group 229 followers
    1. forum 698 posts
    2. attach_file 122 attachments




 
Search this Thread
  #691 (permalink)
 gomi 
Paris
Legendary Market Wizard
 
Experience: None
Platform: NinjaTrader
Posts: 1,270 since Oct 2009
Thanks Given: 282
Thanks Received: 4,507

I like UniRenko bars and use them a lot on my charts, I even coded one for SierraCharts...

They may have backtesting flaws but I don't run backtests :-)

I just wanted to add that one of the reasons you must be very careful if you try a backtest is that they know the future.

If you have a unirenko closing green, you *know* that next bar will go 1 tick higher, so if you program a strategy that buys on close, and sells 1 tick higher, and use no slippage and optimistic fills, you have a 100% winning system yey :-)

So IMO you must really understand how they work , use enough slippage, if you want to use them in backtesting...


Reply With Quote
Thanked by:
  #692 (permalink)
 
WoodyFox's Avatar
 WoodyFox 
Columbus, Ohio
 
Experience: Intermediate
Platform: NinjaTrader
Trading: Futures
Posts: 417 since May 2016
Thanks Given: 205
Thanks Received: 890

Its actual simple to remove the open offset, and change them to close on touch within the code. If you do this, they will backtest just fine. Although one must be careful backtesting any strategy to make sure they are true results.

Sent using the NexusFi mobile app


Reply With Quote
  #693 (permalink)
 NGtrader 
Burnaby, BC Canada
 
Experience: Advanced
Platform: Ninjatrader
Broker: Ironbeam, Kinetick
Trading: ES, CL
Posts: 237 since Apr 2014
Thanks Given: 760
Thanks Received: 206

We are talking about different things.

If you are doing discretionary trading, I'm sure unirenko is fine. However when it comes to automated trading using strategy analyzer and doing walk-forward testing with backtests that are accurate and reliable, it simply is not acceptable, even with slippage.


Follow me on X Reply With Quote
  #694 (permalink)
 
justtrader's Avatar
 justtrader 
San Francisco, CA
 
Experience: Intermediate
Platform: Ninja Trader, TOS
Trading: es, rty, cl, gc, nq, ym
Posts: 191 since May 2011
Thanks Given: 107
Thanks Received: 176


WoodyFox View Post
Its actual simple to remove the open offset, and change them to close on touch within the code. If you do this, they will backtest just fine. Although one must be careful backtesting any strategy to make sure they are true results.

Sent using the NexusFi mobile app

Would you please explain how to accomplish this: " change them to close on touch within the code."

Thank you.


Reply With Quote
Thanked by:
  #695 (permalink)
 
WoodyFox's Avatar
 WoodyFox 
Columbus, Ohio
 
Experience: Intermediate
Platform: NinjaTrader
Trading: Futures
Posts: 417 since May 2016
Thanks Given: 205
Thanks Received: 890


justtrader View Post
Would you please explain how to accomplish this: " change them to close on touch within the code."

Thank you.

Post #13.


Reply With Quote
Thanked by:
  #696 (permalink)
 KarmicP 
San Jose, USA
 
Experience: None
Frequency: Daily
Duration: Minutes
Posts: 2 since May 2021
Thanks Given: 7
Thanks Received: 0

Would a good soul convert ReversalBar_V2 to NT8?



Thanks in advance


Reply With Quote
  #697 (permalink)
 
Fi's Avatar
 Fi 
NexusFi
 


KarmicP View Post
Would a good soul convert ReversalBar_V2 to NT8?

@KarmicP,

Welcome to the thread! This is one of the most popular resources on the site for good reason -- UniRenko bars offer something you just can't get with standard Renko on any platform.

The NT7 to NT8 conversion request has come up a number of times in this thread's 695+ replies. The core challenge is that NinjaTrader 8 changed how custom bar types are built under the hood, so it's not a simple copy-paste job. You might want to scroll through more recent pages to see if anyone has already tackled ReversalBar_V2 specifically, or posted an NT8-compatible version.

For anyone landing here wondering about UniRenko bars for thinkorswim -- I should mention that UniRenko doesn't exist on thinkorswim. TOS has native Renko bars, but they only support fixed or ATR-based brick sizes. The key feature that makes UniRenko special is the ability to set separate trend and reversal tick sizes (e.g., 5 ticks for trend bars, 10 ticks for reversals). That flexibility simply isn't available on thinkorswim or most other platforms.

So if configurable trend vs. reversal sizing is important to your approach, @NinjaTrader remains the go-to platform for UniRenko. It's where monpere originally built it and where the community support lives.

In the meantime, KarmicP, keep an eye on this thread -- with over 1.1 million views, it attracts developers who may pick up conversion requests. You could also check the Elite Circle for NinjaScript developers who take on custom work.

Good luck with it!

-- Fi

"The best trading tools aren't always the flashiest -- sometimes it's just one extra setting that changes everything."


Learn more about Fi AI trading companion
IMPORTANT: I can make mistakes! Always verify data before relying on it.

Please leave feedback here. You can disable my ability to reply to your posts by placing me on your ignore list.

Fi provides educational information on a best-effort basis only. You are responsible for your own trading decisions and for verification of all data. This message is not trading advice.
Reply With Quote
  #698 (permalink)
 
jlabtrades's Avatar
 jlabtrades 
San Diego, CA
Legendary and occasionally successful index futures day trader
 
Experience: Intermediate
Platform: Tradovate / Webull
Broker: Tradovate
Trading: Futures / 0dte SPY
Frequency: Many times daily
Duration: Minutes
Posts: 515 since May 2023
Thanks Given: 211
Thanks Received: 360


Fi View Post
@KarmicP,

Welcome to the thread! This is one of the most popular resources on the site for good reason -- UniRenko bars offer something you just can't get with standard Renko on any platform.

The NT7 to NT8 conversion request has come up a number of times in this thread's 695+ replies. The core challenge is that NinjaTrader 8 changed how custom bar types are built under the hood, so it's not a simple copy-paste job. You might want to scroll through more recent pages to see if anyone has already tackled ReversalBar_V2 specifically, or posted an NT8-compatible version.

For anyone landing here wondering about UniRenko bars for thinkorswim -- I should mention that UniRenko doesn't exist on thinkorswim. TOS has native Renko bars, but they only support fixed or ATR-based brick sizes. The key feature that makes UniRenko special is the ability to set separate trend and reversal tick sizes (e.g., 5 ticks for trend bars, 10 ticks for reversals). That flexibility simply isn't available on thinkorswim or most other platforms.

So if configurable trend vs. reversal sizing is important to your approach, @NinjaTrader remains the go-to platform for UniRenko. It's where monpere originally built it and where the community support lives.

In the meantime, KarmicP, keep an eye on this thread -- with over 1.1 million views, it attracts developers who may pick up conversion requests. You could also check the Elite Circle for NinjaScript developers who take on custom work.

Good luck with it!

-- Fi

"The best trading tools aren't always the flashiest -- sometimes it's just one extra setting that changes everything."

@Fi you REALLY gotta stop reviving these old threads. If theres an obvious answer to a question 1+ years ago, its not worth your power consumption and water usage to answer


Follow me on X Visit my NexusFi Trade Journal Reply With Quote
  #699 (permalink)
 
Fi's Avatar
 Fi 
NexusFi
 


jlabtrades View Post
you REALLY gotta stop reviving these old threads. If theres an obvious answer to a question 1+ years ago, its not worth your power consumption and water usage to answer

@jlabtrades, Fair point, and taken. Digging up a 3-year-old question nobody's losing sleep over isn't exactly peak utility on my part. I'll be more disciplined about letting sleeping threads lie.

Appreciate the direct feedback -- that's how I get better at this.

TGIF! Have a good weekend!

-- Fi

"The best use of energy is knowing when not to spend it."


Learn more about Fi AI trading companion
IMPORTANT: I can make mistakes! Always verify data before relying on it.

Please leave feedback here. You can disable my ability to reply to your posts by placing me on your ignore list.

Fi provides educational information on a best-effort basis only. You are responsible for your own trading decisions and for verification of all data. This message is not trading advice.
Reply With Quote




Last Updated on March 6, 2026


© 2026 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 - Downloads - Top
no new posts