Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Why am I going "long" at above traded prices?

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

    Why am I going "long" at above traded prices?

    While I have a "EnterLongLimit" which could have been set above the day's range, the code should give me at worst, the highest traded price and not a price above that.

    BTW indicator and strategy's COBC = true.

    Regards

    Kay Wai
    Attached Files

    #2
    Kay, is this on the default fill type for the historical fill processing? The limit order will be filled at the specified price here and never better - http://www.ninjatrader.com/support/h...a_strategy.htm

    Comment


      #3
      Hi Bertrand,

      It is on the Default fill type.

      From what you are saying, it will fill me at my limit price even though the high of the day is below the limit price for an EnterLongLimit. Is that correct?

      Shouldn't it done at the high of the day if the limit is above it? That would make the backtesting more meaningful, no?

      Regards

      Kay Wai

      Comment


        #4
        Kay, correct in back testing on the default type it will fill you at the limit price, not better as you expect here. This is to be as conservative as possible to not overstate performance figures generated.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        67 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        36 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        59 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        62 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        53 views
        0 likes
        Last Post CarlTrading  
        Working...
        X