Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Mean Renko with backtesting

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Mean Renko with backtesting

    When I use mean Renko's for backtesting and I look at the historical chart the entry price in different then in reality. If their an way to make this more even with the real charts? can I change some option maybe?

    Example screenshot historical:

    entry/exit price is on the half of the next candle

    Example screenshot same trade but then on Real:

    entry/exit price is on the low of the candle

    The strategy performance is now way different then it will be in reality.

    #2
    Hello MichaelAlexander,

    Thanks for your post.

    Renko bars will provide a false open and this behavior (entering on the open of the next bar) is expected in backtesting. The best option, without changing your strategy, is to use Market Replay where the bars are built the same as live data and renko bars and strategies will perform the same as on live data.

    Alternately you can change your script to use stoplimit orders to enter. Using stoplimit will allow the strategy to enter in the same direction as the bars are heading which is where the renko bars close is found.
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Felix Reichert, 04-26-2024, 02:12 PM
    10 responses
    68 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by PaulMohn, 04-24-2024, 03:49 AM
    4 responses
    36 views
    0 likes
    Last Post PaulMohn  
    Started by lightsun47, Today, 11:37 AM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_Zachary  
    Started by vitaly_p, Yesterday, 05:09 PM
    4 responses
    35 views
    0 likes
    Last Post vitaly_p  
    Started by bortz, 11-06-2023, 08:04 AM
    50 responses
    1,773 views
    0 likes
    Last Post carnitron  
    Working...
    X