Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
account.Flatten closes all strategies regardless of account or instrument
Collapse
X
-
account.Flatten closes all strategies regardless of account or instrument
HI, trying to use "bcomas" Ninjatrader ecosystem Account Equity guard. I changed the Account.FlattenEverything to Account.Flatten( new [] { Instrument.GetInstrument("") } ); I am running another strategy in the same chart and I wanted to close the strategy. I also have another chart with a different Instrument and different account. But when I turn on all the strategies and the one chart hits its target, instead of just closing that chart's strategies its closing all of them. Is there a workaround to this? Here is the link to the strategy: https://ninjatraderecosystem.com/use...-nt8-strategy/Tags: None
-
Hello set2win,
Calling Account.Flatten() on an instrument, or clicking the Close button on Chart Trader or the SuperDOM, will disable all strategies on that account and instrument.
If you want to disable a strategy, exit the strategies position with market orders, and call CloseStrategy().Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
52 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
70 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
43 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
48 views
0 likes
|
Last Post
|

Comment