Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Block access to Ninjatrader for the session
Collapse
X
-
Hello soyjesus,
There is not a way to block manually trading or using any of the manual tools based on PnL. You can prevent an automated script from trading by using PnL. Are you asking how to prevent a strategy or other script which submits orders from trading after a certain PnL? If so there is a sample of that concept here: https://ninjatrader.com/support/help...nce_statis.htm
I look forward to being of further assistance.
- Likes 1
-
Hello soyjesus,
I am not aware of a way to toggle those items from code. Those are currently not within the documented NinjaScript api so I could not make any suggestions on that.
I will put in a feature request for global sim mode to be exposed from code.
I look forward to being of further assistance.
- Likes 1
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
89 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
144 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
83 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
257 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
335 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|

Comment