NexusFi: Find Your Edge


Home Menu

 





Best Renko Bar? - better vs median vs sbs vs wicked


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one nakachalet with 22 posts (5 thanks)
    2. looks_two Big Mike with 16 posts (14 thanks)
    3. looks_3 cory with 14 posts (14 thanks)
    4. looks_4 aligator with 12 posts (17 thanks)
      Best Posters
    1. looks_one Fat Tails with 4.4 thanks per post
    2. looks_two FrankFX with 3.7 thanks per post
    3. looks_3 aligator with 1.4 thanks per post
    4. looks_4 cory with 1 thanks per post
    1. trending_up 123,405 views
    2. thumb_up 243 thanks given
    3. group 43 followers
    1. forum 203 posts
    2. attach_file 45 attachments




 
Search this Thread

Best Renko Bar? - better vs median vs sbs vs wicked

  #151 (permalink)
 TimeTrade 
Erfurt Germany
 
Experience: Master
Platform: rtMagic, NinjaTrader
Broker: AMP/CQG, IAB
Trading: ES, 6E, FDAX, FGBL
Posts: 338 since Aug 2011
Thanks Given: 54
Thanks Received: 461


Big Mike View Post
@aslan,

In the download section on futures.io (formerly BMT), JamTheTrader uploaded a new strategy type where instead of Bar Open, Ninja will use Bar Close for its open order entry price.

I was intrigued by this. Do you think it is this simple in order to get accurate Renko backtest results?

Mike

Hi @BigMike
The RenkoFillType published by Jam with FillOnClose work normaly only with RePlay- or Live-Data!
And then its work only correct, if the based RenkoBarType use a single Add function call for create the "virtual" RenkoOpen with set the close to the correct price...
Many renko bar types do this with two steps "Add(Open,ZeroVolume)" "Update(Close,Volume)" or poor with RemoveBar on Open... with this bar type can the RenkoFillType by JAM not correctly work !

I think its give only one correct way for IDENTICAL & COMPERABLE results with backtest,reload,replay and live data:
Using a syncronized additional 1TickDataSeries in the strategy and use this 1TickSeries for all orders with a delay of !2! Ticks, then the NinjaTrader7 can correct handle all BarTypes with a little "time slippage" and a realistic open with full possibile intrabar fills will by work correctly.

I need only a little bit more time for complete my comperable and published t4tCum??? tickbased working indicators... then i give a sample for using this internal 1tick concept for with any bar types working and backtestable strategies with using the LOM by NJAMC for the correct fills

Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Cheap historycal L1 data for stocks
Stocks and ETFs
REcommedations for programming help
Sierra Chart
Trade idea based off three indicators.
Traders Hideout
MC PL editor upgrade
MultiCharts
What broker to use for trading palladium futures
Commodities
 
  #152 (permalink)
 
patbateman's Avatar
 patbateman 
NY, NY
 
Experience: None
Platform: T4, NinjaTrader
Trading: All!
Posts: 235 since Mar 2012
Thanks Given: 113
Thanks Received: 200

I've seen some occasional comments on how Renko bars must be an even number - also every Renko chart screen shot I've seen (so far) has been an even number.

Does Renko, or BetterRenko, work better if it's even?

Apologizes for the very basic question... like I mentioned in my last post here, very new (relatively) to Renko!

Reply With Quote
  #153 (permalink)
 
NJAMC's Avatar
 NJAMC 
Atkinson, NH USA
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader 8/TensorFlow
Broker: NinjaTrader Brokerage
Trading: Futures, CL, ES, ZB
Posts: 1,970 since Dec 2010
Thanks Given: 3,037
Thanks Received: 2,395



patbateman View Post
I've seen some occasional comments on how Renko bars must be an even number - also every Renko chart screen shot I've seen (so far) has been an even number.

Does Renko, or BetterRenko, work better if it's even?

Apologizes for the very basic question... like I mentioned in my last post here, very new (relatively) to Renko!

I don't know enough about the inner workings of the Renko style charts. I don't think it is an issue, I think the Median Renko likes certain even/odd type of bar length due to the calculation, but uncertain. I think the best person that can answer this question would be @aslan. Hopefully he can shed some light on the answer.

Nil per os
-NJAMC [Generic Programmer]

LOM WIKI: NT-Local-Order-Manager-LOM-Guide
Artificial Bee Colony Optimization
Visit my NexusFi Trade Journal Reply With Quote
  #154 (permalink)
 billr 
San Antonio, Texas USA
 
Experience: Intermediate
Platform: NinjaTrader, Tradestation
Trading: Futures
Posts: 47 since Aug 2010
Thanks Given: 35
Thanks Received: 35


patbateman View Post
I've seen some occasional comments on how Renko bars must be an even number - also every Renko chart screen shot I've seen (so far) has been an even number.

Does Renko, or BetterRenko, work better if it's even?

Apologizes for the very basic question... like I mentioned in my last post here, very new (relatively) to Renko!

There is no reason for Renko to work better or worse with odd or even numbers. There is nothing special about renko other than the fact that it is completley independent of time. Just like Range bars.

Something to consider when setting the bar size is how granular you want to look at the market. If you want the Renko to filter much of the noise, then set the bars accordingly. e.g. if the instrument you are trading has a typical range of movement for a given period, you might want to set the bars large enough so that the constant, small random price fluctuation (noise) doesn't trigger a bunch of sideways renko reversal bars and make the chart useless.

Also, consider the fact that the market changes often enough that any bar setting you select may work better at some times than others. A 5 Renko may be 'perfect' for a morning session, but you may find that a 3 or 8 renko setting may have worked better for the afternoon. If you find a size that seems to get the charts to look the way you want it, then start working on how you want to trade. Don't become a slave to the idea that a perfect chart is your starting point. No chart or setting is perfect. A common mistake made by many new traders and one that I certainly made, was the over-optimization of charts and indicators. There are probably many discussions here about optimization and curve fitting of strategies that would be helpful. The good news is that as you play around with different chart settings, you begin to see the nature of how the market moves (and perhaps more importantly, how you can rely on the fact that it won't move the same way all the time) begin to get ideas on how you might like to trade. For many people, I think Renko is a great way to learn how the market can move.

Reply With Quote
Thanked by:
  #155 (permalink)
 billr 
San Antonio, Texas USA
 
Experience: Intermediate
Platform: NinjaTrader, Tradestation
Trading: Futures
Posts: 47 since Aug 2010
Thanks Given: 35
Thanks Received: 35

I just noticed a post by @NJAMC and had not considered a special calculation for some of the third party renko calculations. I would be surprised that any of the more popular renko types would have a built in bias of this sort. If in fact they use an elaborate method to calcuate something, then I suppose there could be an issue with rounding or irrational numbers perhaps.

If that were the case, personally I would avoid using any chart or indicator that had a functionality bias affected by user defined settings.

If it worries you, just stick with even numbers. It won't matter to your trading and may even help you by reducing the number of backtests you are tempted to try

Reply With Quote
  #156 (permalink)
 steve2222 
Auckland, New Zealand
 
Experience: Beginner
Platform: Sierra Chart
Broker: AMP/CQG
Trading: Whatever moves in my timezone
Posts: 1,896 since Sep 2009
Thanks Given: 3,379
Thanks Received: 1,540


patbateman View Post
I've seen some occasional comments on how Renko bars must be an even number - also every Renko chart screen shot I've seen (so far) has been an even number.

Does Renko, or BetterRenko, work better if it's even?

Apologizes for the very basic question... like I mentioned in my last post here, very new (relatively) to Renko!

I use BetterRenko with 5 ticks and I have no problems - works perfectly.

Reply With Quote
  #157 (permalink)
 
aslan's Avatar
 aslan 
Madison, WI
 
Experience: Advanced
Platform: ALT
Trading: ES
Posts: 625 since Jan 2010
Thanks Given: 356
Thanks Received: 1,127


patbateman View Post
Does Renko, or BetterRenko, work better if it's even?

Nope makes no difference.

The reason you may have seen that, is some of the other Renko types out there have their internal calculations based on the average of two prices, so when they divide by 2, they get some nasty rounding issues when trying to build bars. So, to get around that they have to be even numbers so the total size of the brick is an even number.

Generally, using even numbers works fine, but depending what you are trying to do an odd number can be nice. For example, for CL a 5 tick box is nice because it lines the boxes up on .05 increments, which can be handy.

Reply With Quote
Thanked by:
  #158 (permalink)
 
aslan's Avatar
 aslan 
Madison, WI
 
Experience: Advanced
Platform: ALT
Trading: ES
Posts: 625 since Jan 2010
Thanks Given: 356
Thanks Received: 1,127


Big Mike View Post
@aslan,

In the download section on futures.io (formerly BMT), JamTheTrader uploaded a new strategy type where instead of Bar Open, Ninja will use Bar Close for its open order entry price.

I was intrigued by this. Do you think it is this simple in order to get accurate Renko backtest results?

Mike

Not sure, as I have not recently looked at what the Ninja engine is doing. If you are entering on the next bar at open, it really depends what that first tick is. Is it a gap to the high of the next bar? Then the high would be better. Does it gap multiple boxes (zero volume bars), then it should not fill until you have volume. Another nasty case, is a reversal bar. The next true open is way away from the open shown, and the close is likely even worse.

NT can not handle zero volume bars anymore (used to), and the current BR may have issues because it does use zero volume bars.

Reply With Quote
Thanked by:
  #159 (permalink)
 billr 
San Antonio, Texas USA
 
Experience: Intermediate
Platform: NinjaTrader, Tradestation
Trading: Futures
Posts: 47 since Aug 2010
Thanks Given: 35
Thanks Received: 35


aslan View Post
Not sure, as I have not recently looked at what the Ninja engine is doing. If you are entering on the next bar at open, it really depends what that first tick is. Is it a gap to the high of the next bar? Then the high would be better. Does it gap multiple boxes (zero volume bars), then it should not fill until you have volume. Another nasty case, is a reversal bar. The next true open is way away from the open shown, and the close is likely even worse.

NT can not handle zero volume bars anymore (used to), and the current BR may have issues because it does use zero volume bars.

There are several NT issues working against backtesting Renko with NT. Unfortunately, using the open of the bar does not solve the problem. This is because the unique nature of renko: the open and close occur simultaneously. You don't know where the open is until it is closed due to the possibility of a reversal. So if you tried to set a trade at the open of the next bar, it would be at a historic price level one renko bar distance from the close (this is true even if it is NOT a reversal bar). So it wouldn't work because the backtest would probably assume you could enter at the open price level when the price has actually moved to at least a renko bar distance away before you get the signal. (the time machine effect) It looks back. In essence a variation of what it does by assuming close[1]=open[0]. It gets even trickier when a reversal is followed by another reversal. In backtesting, the correct calculation should be close[0] with a renko type that provides this.

Another major problem with NT is the fact that it smoothes the charts when building a renko chart with historic data (my guess is using computing efficiency short cuts). *this also happens with range charts to a lesser degree.

These two problems are the major issues as far as I am concerned. As you mention, the zero volume (gaps) fill-in of bars is a challenge. But that can be mitigated to a large extent by manually checking for the obvious times for those conditions to occur and eliminating those trades. Or, you could trade active market hours only.
For most of the strategies and instruments I have tested, this is not the most critical issue.

Finally, NT drops the price movement that occurs while bars are forming. For the most part, this affects stops the most. NT may allow price action to pass over a stop and hit a profit target, again giving false positive results. Most renko bars that solve the close=open problem also solve the lost price action (wicks) too.

Hope this helps

Reply With Quote
  #160 (permalink)
 2010 
Boston
 
Experience: Advanced
Platform: Ninja Trader
Trading: TF,CL
Posts: 35 since Apr 2011
Thanks Given: 35
Thanks Received: 3


Why is median renko not discussed any more, I noticed that the wicks are much shorter on median renko than the wicked renko and sbs renko bars.

Reply With Quote




Last Updated on January 6, 2016


© 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