![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Aug 2007
Posts: 70
Thanks: 0
Thanked 0 times in 0 posts
|
Hello,
I believe there may be a flaw in backtesting Renko bars which typically yields unusually good results. The problem may stem from the the close at end of bar function. When a strategy uses closes at end of bar with time based bars, it actually closes at the open of the next bar. This is more problematic in Renko charts as the open and close are not time-based and I believe are actually plotted at the same time. Say the Renko bar height is 10 ticks. If a strategy closes at the end of an up bar and the next bar is also an up bar, the close of the first bar will be the same as the open of the next bar. That's OK. If a strategy closes at the end of an up bar and the next bar is a down bar, the close of the first bar will be 10 ticks above the open of the next bar. However, the close of the first bar will also be 20 ticks above the close of the next bar. With Renko bars - the close and open are plotted at the same time, so when the backtest is said to exit on the close of one bar but actually exits on the open of the next bar, as the open and close occur simultaneously it should actually exit on the close close of that next bar also. This only applies when the two bars are the opposite direction to each other. Renko backtest results then typically have 50% of trades with the exit 1 Renko bar's height in favor of the trader. Thanks, Jeremy
Last edited by jeremymgp; 10-05-2009 at 07:04 AM.
|
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
jeremymgp, thanks for the post - in NinjaTrader 6.5 those are not supported by us (as it's a custom add on bars type) - for NinjaTrader 7 Renko Bars will be added per default and the backtesting on them would be comparable to other regular bars types.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#3 | |
|
Senior Member
Join Date: May 2008
Location: Hartford, CT. USA
Posts: 618
Thanks: 12
Thanked 24 times in 18 posts
|
Quote:
Do not backtest strategies with Renko Bars. It is not a valid test. Renko bars only show open and close for each bar. They do not show the high and low for each bar. ![]() On larger bar sizes, Renko bars will break the bank if you get my drift!!!! Just my opinion, ![]() RJay |
|
|
|
|
|
|
#4 |
|
Member
Join Date: Aug 2007
Posts: 70
Thanks: 0
Thanked 0 times in 0 posts
|
NT7 sounds tasty, thanks and good luck!,
Jeremy |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Renko Bars | roonius | General Programming | 112 | 01-23-2012 03:52 AM |
| Renko Help | kermut | Strategy Analyzer | 5 | 08-15-2009 04:17 PM |
| Backtesting Range Bars | RandyT | Strategy Analyzer | 5 | 10-24-2008 08:29 AM |
| backtesting strategy with multiple bars does not run | j0dan | Strategy Development | 3 | 04-24-2008 08:56 AM |
| Min Bars required under strategy backtesting | Sidhartha | Strategy Development | 4 | 04-08-2008 07:17 AM |