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 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
        60 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