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 argusthome, Yesterday, 10:06 AM
        0 responses
        14 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        11 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        9 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        4 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        31 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X