Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Entry price

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

    Entry price

    When back testing only ohlc data is available, not tick, correct?

    1. In the strategy analyzer - backtest panel does setting does setting the Data series Type to Tick or Minute make any difference?

    2. Do the generic entries like EnterLong() enter at the open of the new bar?

    #2
    Hello,

    This is correct if you are backtesting on a minute or above time frame. Essentially the backtesting runs on the time frame bars that you load. If you load 15 minute bars it runs on the OHLC of each 15 minute bar. Also yes all actions are taken on the open price of the next bar after the conditions are true.

    However if you want to have your backtest run tick by tick you would need to do whats known as adding intrabar granularity and then add in a tick based time fame and submit our orders to this time frame. I would recommend using as large of a tick value you feel comftorable here to speed up the backtesting process. Please see this post on how to do this.

    You can submit orders to different Bars objects. This allows you the flexibility of submitting orders to different timeframes. Like in live trading, taking entry conditions from a 5min chart means executing your order as soon as possible instead of waiting until the next 5min bar starts building. You can achieve this by


    Let me know if I can be of further assistance.
    BrettNinjaTrader Product Management

    Comment


      #3
      Hold on.

      I understand about intra-bar garnularity but I thought tick trading was simply not available in a backtest, ie a 1 min ohlc was all you could get.

      Comment


        #4
        Hello,

        If you can download tick data from your data feed provider you can absolutly back test on it. You can backtest 1 tick chart if you wanted, would take a long time to run such a backtest but it is possible.

        Let me know if I can be of further assistance.
        BrettNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        656 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        371 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        109 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        574 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        579 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X