Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Stops and Targets
Collapse
X
-
Stops and Targets
Can someone give me some tips on checking if the stops and targets are from an ATM strategy template? Or how to check if stops and targets are linked to a specific ATM strategy template?Tags: None
-
Hello luxurious_04,
Thanks for your post.
From the Account class, you can access a private OnOrderUpdate() and check to see if the order is tied to an ATM with e.Order.GetOwnerStrategy != null
You can check the ATM strategy name with:
if (e.Order.GetOwnerStrategy() != null)
{
AtmStrategy atm = e.Order.GetOwnerStrategy() as AtmStrategy;
Print (atm.DisplayName);
}
References:
- Likes 1
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
577 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
334 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 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
553 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
551 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment