Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

EnterLongLimit and BackTest

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

    EnterLongLimit and BackTest

    Hallo,
    is there a setting (liberal/default) to obtain this behavior in the backtest:
    In the beginning of the day I send a EnterLongLimit whit a highest value.
    During day, if the price will touched the enterlonglimit will go in filled state, otherwise nothing happen..
    I tried different modality but using "default mode" the EnterLongLimit enter in a portion of graph where there isn't market values, using "liberal mode" enterlonglimit enter market with a different value..

    Thank you

    #2
    Hello Simone,

    Below is a description of the two system fill types. You can also view source code for these at My Documents\NinjaTrader\bin\custom\type

    You should consider if you're placing the right order type for the price level / market direction. If you're placing buy orders above the market, these should be stop or stoplimit orders. Buy limit orders above the market are marketable, and explains why you are getting a fill for these. The price is determined by the fill algorithms outlined below.


    The two system fill algorithms are:


    Default

    An algorithm that takes a conservative and more realistic approach to filling limit and stop limit orders.
    • Limit orders only fill if the limit price was penetrated
    • Limit orders are always filled at the limit price specified never better (for example, if a limit order is submitted on bar n, NT will check if the order is filled on bar n+1, if this bar gaps down and the limit order was a buy, the order would be filled at the limit price and NOT the high of bar n+1)

    Liberal

    An algorithm that takes a liberal approach to filling limit and stop limit orders.
    • Limit orders fill if the limit price was touched
    • On gap down bars, buy limit orders will fill at the high of the gap down bar
    • On gap up bars, sell limit orders will fill at the low of the gap up bar
    Last edited by NinjaTrader_RyanM1; 09-10-2010, 09:43 AM.
    Ryan M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    558 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    324 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    545 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    547 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X