Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Autoliquidation/Trading Locked feature
Collapse
X
-
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.Tags: None
-
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
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
599 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
344 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
558 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
557 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment