Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Understanding EnterLongLimit and EnterShortLimit ?

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

    Understanding EnterLongLimit and EnterShortLimit ?

    In my strategy I tried EnterLongLimit and EnterShortLimit
    I have a Print statement to capture the conditions and when conditions were met the Time was 19:15 during that bar the price ranged from 14770 to 14773 close at 14773 at the next bar 19:20 it ranged from 14771 to 14790 close at 14790 the strategy enters the trade at 19:25 at Open of 14790 I used EntryShortLimit GetCurrentAsk()
    So 3 bars later after condition met it entered the trade. That of course didnt matter as it was going against me anyway in terms of the short. So what is the best way to get quickest market price once the condition is met?

    #2
    Hello set2win,

    The quickest way to get market price would be to submit a market order, you can just use EnterLong or EnterShort for that purpose. When using EnterLongLimit a limit type order is submitted with the price you choose so you may or may not price the order at market price when submitting it. The normal rules for the limit type order would also apply to that order where as a market order is filled at the next available price which may incur slippage. If you wanted to avoid slippage you could submit limit orders but you would need to use available price data at the time you submit it, for example the Close or ask/bid prices.

    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

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