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 NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
54 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
130 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
72 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
44 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
49 views
0 likes
|
Last Post
|

Comment