Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Order being ignored

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

    Order being ignored

    So I have a strategy that is splitting an entry into multiple positions.

    At the first splits profit target, when that is hit, I am trying to move the remaning positions stop to the original entry price of both positions in the entry, which was 3934.50

    Usually its working fine, but I have an instance where I am getting order ignored because the stop price 3934.50 near the bar stamped 9:36 is invalid based on the price range of the bar. This is invalid order and subseqent orders may be ignored.

    This particular bar has a high of exactly 3934.50, and it happens to be the same bar that the first profit target was hit, as its a relatively big bar.

    Is there anything I can do about this? I suspect it would not be an issue real time, but its making my historical testing impossible

    #2
    Hello, thanks for writing in. Please try adding intrabar resolution to your orders. This can help the fill estimation of the order in historical mode. If the script does not add any extra data series, you can edit the strategy settings "Order Fill Resolution" set to "High" "1 Tick".

    If you can not use this, the strategy can add the behavior programmatically, see our guide here:


    Kind regards,
    -ChrisL
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      This worked, thanks much Chris

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by cre8able, Today, 06:18 PM
      0 responses
      5 views
      0 likes
      Last Post cre8able  
      Started by ETFVoyageur, Today, 06:05 PM
      0 responses
      3 views
      0 likes
      Last Post ETFVoyageur  
      Started by TAJTrades, 04-28-2024, 09:46 AM
      2 responses
      17 views
      0 likes
      Last Post TAJTrades  
      Started by ETFVoyageur, Today, 02:04 PM
      2 responses
      19 views
      0 likes
      Last Post ETFVoyageur  
      Started by mjbatts91, Today, 04:48 PM
      0 responses
      6 views
      0 likes
      Last Post mjbatts91  
      Working...
      X