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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    87 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    128 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    65 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    117 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X