Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

EnterLongLimit(GetCurrentAsk);

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

    EnterLongLimit(GetCurrentAsk);

    Specifically, when I try this I dont get filled, and I understand it as getting the next ASK price, which should happen on the open of the next bar or close to it ::

    Code:
    iOrderL1 = EnterLongLimit(0, false, iQuantity1, (GetCurrentAsk(0)), sENTRY1L);
    AND I guess I dont understand the logic: should I use

    Code:
    iOrderL1 = EnterLong(0, false, iQuantity1,  (GetCurrentAsk(0)), sENTRY1L);
    but I am guessing that will revert to a market order, which may have significant slippage.

    Do I need to access OnMarketData somehow to assure fills?

    Jon

    #2
    Hi Jon,

    What environment are you using this in?
    Real time or historical?
    Sim or live account?
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Ryan,

      Realtime SIM ... not going live until I figure this out ... MBTrading data only == no other data feed for taking the trade .. NT7R1 with multibroker

      Jon

      Comment


        #4
        There's a high likelihood for a fill but you're using limit orders so no guarantee until trading passes through the limit price.

        If you want to evaluate fill chance for this order type for simulator, just pull up ChartTrader and click Buy Ask button a few times.

        If you need to be filled, then yes, submitting a market order is the way to go.
        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
        647 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        367 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        108 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        571 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        573 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X