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:	67
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 kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    58 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    41 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    46 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    37 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    157 views
    0 likes
    Last Post SalmaTrader  
    Working...
    X