Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Autoliquidation/Trading Locked feature

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

    Autoliquidation/Trading Locked feature

    Hello, I have finished my trade timer app that communicates with ninja and turns on automatically once position is flattened. Is there any way for addon to Autoliquidate/Lock/Prevent account from trading. Would like to lock trading for the duration of the timer and unlock once the timer is over. The only thing I found so far is putting flatten function into a loop, but that doesn't seem too graceful.

    #2
    Hello Matt Skinner,

    There isn't anything supported to prevent a user from placing orders using the regular trade windows.

    However, if you are placing orders solely through an addon, indicator, or strategy, such as by calling order methods from button click handler event methods, you could use logic to prevent the script from calling the order method when the user clicks the button.

    Below is a link to an example of placing orders with button clicks.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    608 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    355 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    105 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    560 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    561 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X