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:	56
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 NullPointStrategies, Today, 05:17 AM
    0 responses
    23 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    120 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    63 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    41 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    45 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X