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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    160 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    81 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    125 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    206 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    184 views
    0 likes
    Last Post CarlTrading  
    Working...
    X