my question is : sometime happend that trailing stop or tp can not executed dmif there is a volatility of price , and that cause to get error message and close of strategy and it desactivated so to cover this situation can we use something special in code to let me take price once disponible mean at place of close byberror , let strategy take the order on the market price as second choice or something like this ?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
AtmStrategyCreate()
Collapse
X
-
To be more clear about my strategy , i am using a script in witch there is an atmstrategy joined and customised to work with my initial script ,so the script open the trade and the atm take rules of managing trades .
my question is : sometime happend that trailing stop or tp can not executed dmif there is a volatility of price , and that cause to get error message and close of strategy and it desactivated so to cover this situation can we use something special in code to let me take price once disponible mean at place of close byberror , let strategy take the order on the market price as second choice or something like this ?
-
Hello mariorac19,
It is not recommended to mix Atm Strategy methods with native NinjaScript strategy order methods.
An order error causing the strategy to be disabled is from native order methods and would not occur with AtmStrategy methods which do not effect the strategy position, order methods, or performance. You can think of these as manually placed orders that are not seen by the strategy without using special Atm Strategy method calls.
Are you certain there are no native strategy methods in the script?
Chelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
27 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
117 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
69 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
226 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
417 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|

Comment