Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

scripted use of a simulated stop limit entry

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

    scripted use of a simulated stop limit entry

    Hi,
    I can't find a way to use a simulated stop limit entry, either by using ninjascript or through the use of ninjascript plus the ATM interface. Is there a solution?
    thanks,
    David

    #2
    Hello trader3000a,

    For an entry you would just use your own logic to control submitting the order, as long as you don't submit an order that rests on the exchange that would work for that purpose of simulating it. The platform only has IsSimulated for stop market orders in NinjaScript, the order is simulated logically until the price is met at which point it is submitted as a market order. That type of order does show up differently in the platform, for an entry you would need to use logic to draw on the chart if you wanted to see the price limit before summitting a market order.

    The order entry tools in the platform will allow you to do this manually by right clicking in the tool and checking the Simulated option. One option here would be to manually submit the order and then use the addon framework to then track the order/do logic. That would be best executed from an indicator. https://ninjatrader.com/support/help...edStopExamples
    Last edited by NinjaTrader_Jesse; 04-20-2022, 07:32 AM.

    Comment


      #3
      Solution found for this problem as per

      https://ninjatrader.com/support/foru...00#post1212900
      Last edited by trader-ap; 08-23-2022, 01:09 AM. Reason: Solution found

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, Yesterday, 05:17 AM
      0 responses
      54 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      130 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      70 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      44 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      49 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X