Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to limit the number of simultaneous ATM orders?
Collapse
X
-
How to limit the number of simultaneous ATM orders?
Is there a possibility to limit the number of ATM orders enabled on a chart? I'm testing a semi-automated strategy using alerts and I would like to avoid multiple triggers of the same order if I already have an active order.Tags: None
-
Hello andr3i,
A script can use logic to prevent itself from calling methods if the methods have already been called or called a certain number of times.
This would not prevent manual orders, but if you placed all orders through the script from logic or button presses, the script could decide if a new order is submitted.
Below is a link to the help guide on Atm Strategy methods.
And a link to an example that uses buttons.
Chelsea B.NinjaTrader Customer Service
-
Hello andr3i,
There would not be a built in script. You would have to write your strategy with your custom logic.
Use a bool to know when you have submitted an order. Require that bool to false for the condition that submits the order to trigger.
Below is a link to a forum post with helpful information about getting started with programming C#.
As a heads up, using Atm Strategy methods are advanced. This requires more consideration than NinjaStrategy methods.Chelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
45 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
21 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
31 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
50 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
42 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment