Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Workaround for improved pricing Simulated Stop Limit Order thru NinjaScript

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

    Workaround for improved pricing Simulated Stop Limit Order thru NinjaScript

    As I understand it, its not possible to create Simulated Stop orders with improved price (e.g. for a Buy with a lower Limit Price than the Stop Price) through NinjaScript even though it is possible to do this manually. (I don't understand the rationale behind this restriction for NinjaScript, but have asked for my vote to be added to feature request ticket ID SFT-3180).

    Therefore in the interim I am trying to figure out a workaround and have some questions:

    1. Is there a way I can populate the Stop Limit order fields on the Basic Entry window through a chart indicator to effectively achieve the objective. If so what are the classes & functions I can call?

    https://ninjatrader.com/support/help...top_orders.htm

    2. Alternatively, is it possible to create a Stop Limit order through NinjaScript and then modify it through NinjaScript with improved limit price to bypass the API restriction?

    3. Alternatively, is there a class (maybe not documented) with functions than I can call which is what the Basic Entry window calls?

    #2
    Hello trader-ap,

    Thanks for your post.

    There is no NinjaScript access to the Basic Entry window. There are currently no workarounds for submitting a simulated buy stop order with a lower limit price than the stop price.

    This thread will be open for other community members to share possible unsupported workarounds.

    Let me know if I may assist further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Solution found for this problem as per

      I'm having an issue with the execution of a simulated stop limit order from my indicator. For example, if I submit a sell stop limit order from the DOM with a
      Last edited by trader-ap; 08-23-2022, 12:57 AM.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      639 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      366 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      107 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      569 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      572 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X