Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Entering at Market Open

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

    Entering at Market Open

    Is it possible, in backtesting, to enter at Market Open Price without having the tick data?

    The part of the custom code that I am using and believe is relevant is this:

    Code:
    //enter the market when the date changes
    if (ToDay(Time[0]) != ToDay(Time[1]))
    {
    EnterLong();
    }
    I saw in aother thread that I could use the Add(PeriodType.Tick, 1) to enter at opening price (and yes! it worked!). Unfortunately, my data feeder only provides 3 months worth of tick data, so I was wondering if there was a way to backtest entering at market open without the tick data from the data feed provider. (when I use 1 minute data, the backtester will enter at the start of the second bar, not at the start of the first one)

    I think it's probably not possible, but I can't rest without being sure.

    Thanks

    #2
    Hello Laikennus,

    Thank you for your post and welcome to the NinjaTrader Support Forum!

    Unfortunately, this would not be possible without the tick data as the secondary series to enter or exit on.

    Comment


      #3
      Alright, thanks!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by poplagelu, Today, 05:00 AM
      0 responses
      3 views
      0 likes
      Last Post poplagelu  
      Started by fx.practic, 10-15-2013, 12:53 AM
      5 responses
      5,407 views
      0 likes
      Last Post Bidder
      by Bidder
       
      Started by Shai Samuel, 07-02-2022, 02:46 PM
      4 responses
      98 views
      0 likes
      Last Post Bidder
      by Bidder
       
      Started by DJ888, Yesterday, 10:57 PM
      0 responses
      8 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by MacDad, 02-25-2024, 11:48 PM
      7 responses
      160 views
      0 likes
      Last Post loganjarosz123  
      Working...
      X