Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unable to enable strategy "Flatten Everything command"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Unable to enable strategy "Flatten Everything command"

    Hi, I have four simulation accounts and custom strategy. I can backtest strategy and add it to the chart but when I try to enable the strategy in the "Log" tab I can see the following information:
    02/08/2024 01:22:49 Position Flatten account='Simtest'
    02/08/2024 01:22:49 Position Flatten account='Sim101'
    02/08/2024 01:22:49 Default Terminating any NinjaScript strategies invoked by Flatten Everything command

    Strategy tab looks like below:

    Click image for larger version

Name:	image.png
Views:	57
Size:	6.6 KB
ID:	1312504​Any idea what is happening?

    #2
    The problem was with using Account.FlattenEverything();. Post can be closed or removed.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    43 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    30 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    47 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Working...
    X