Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trade Error

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

    Trade Error

    Hi
    I am developing a strategy on the one minute chart and sometimes I get the error attached below. This happens often on trades I need to get. I assume this is because of a small gap. Is there a way around this. I am using code not the strategy builder.
    Thanks
    Attached Files

    #2
    Hello Barry Milan,

    That can happen due to the offset being used and a fast market. If the offset is too close to the market when the order is submitted it does run the risk of being placed on the incorrect side of the market due to price movement. The easiest way to avoid this is to just increase the offset you use when initially submitting the order. If you would like it closer you can also change the order at a later time to a new price or offset.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    43 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
    30 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
    41 views
    0 likes
    Last Post CarlTrading  
    Working...
    X