Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Confirming Ninja Orders

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

    Confirming Ninja Orders

    I know you can not use the confirm option with Ninja orders due to the blocking. However, there needs to be some way to deal with this.

    I would propose having some object that could be polled from the strategy to tell if orders are enabled/disabled asynchronously.

    For example there could be a toggle switch on the chart that contained the enable/disable state. So when a setup materializes, the user could enable the trigger if the setup looks valid. This toggle state should be accessible from the NinjaScript as well so it could be disabled after the trade.

    Another option is to use a text object on the chart, but currently I dont think there is anyway to querry a user added text object on the chart. If it was possible, then the strategy could querry the text object, and if there enable the trade. The user would have to add the text obj as the setup became valid.

    I like the option of an enable toggle switch better.

    Is this something that is possible? If not, can it be added in the future?

    #2
    Thanks for your suggestion. We'll add it to the list.

    Comment


      #3
      I would suggest a that a more flexible approach might be to allow a strategy to define buttons on the associated chart, which would call some method (say OnButtonPressed) with an indication of which button was clicked on.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      571 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      330 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      548 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      549 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X