Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Renko bars and back testing strategies

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

    Renko bars and back testing strategies

    I have a strategy that works just ok on regular minute bars.....but when I switched to Renko bars it showed losing 82% of the time and losing $30k+ in the last 5 days!
    When I run the Renko with the strategy in real time it starts making a small amount of money again. My question is...can I somehow capitalize on this in any way.??
    Can I reverse the buy / sell logic in the program and somehow adjust it for how the backtester reads Renko bars in the backtest? It would be nice to make that
    $30k !

    #2
    Hello waterman,

    Thanks for your post.

    Backtesting uses OHLC values from the bar to simulate order fills and actual market movement is not used. Renko Bars also change the open of the bar, which cannot be simulated with historical data. Therefore, it is generally not advised to consider Renko backtest results as being reliable. You could use Market Replay data in the Playback Connection and run the strategy there so it is simulated as if it it were running with realtime data, which will show more accurate results.

    You are certainly able to adjust your strategy's trading logic so it can capitalize on more trading opportunities that you find. This takes care to make sure that the new trading logic suits your needs, and generally cannot be done by simply reversing the buy/sell logic. We should also note that our Support team cannot offer any trading advice for how a strategy should approach a trading opportunity, but we certainly can assist with technical questions on the software.

    Playback Connection - https://ninjatrader.com/support/help...connection.htm

    Please let us know if we can be of further assistance.
    JimNinjaTrader Customer Service

    Comment


      #3
      in backtest...using Renko...is the bar created first...and then the strategy goes back and creates a buy or sell after the fact?

      Comment


        #4
        Hello waterman,

        Backtesting is simply processing historical data, and the chart data is loaded before the strategy processes it. The data is loaded, bars are built historically (not built by streaming tick data,) and then the strategy logic processes this data bar by bar.

        If you have any additional questions, please don't hesitate to ask.
        JimNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Javierw.ok, Today, 04:12 PM
        0 responses
        4 views
        0 likes
        Last Post Javierw.ok  
        Started by timmbbo, Today, 08:59 AM
        2 responses
        10 views
        0 likes
        Last Post bltdavid  
        Started by alifarahani, Today, 09:40 AM
        6 responses
        40 views
        0 likes
        Last Post alifarahani  
        Started by Waxavi, Today, 02:10 AM
        1 response
        18 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Started by Kaledus, Today, 01:29 PM
        5 responses
        15 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X