Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How flatten everything in a strategy

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

    How flatten everything in a strategy

    Hi NT8,

    What is the code for flatten everything in an account for a strategy? also, how do I print my Max Drawdown for a strategy. I am having trouble finding this in the help guide.

    IF(thing happens)
    {
    // code for flatten everything, all instruments, entire account;
    // Print(Code for max draw down);
    }


    thank you
    Last edited by Austiner87; 07-17-2022, 09:47 PM.

    #2

    Account.Flatten();

    Comment


      #3
      Moved Q to another post
      Last edited by Austiner87; 07-22-2022, 09:28 PM.

      Comment


        #4
        Moved Q to another post
        Last edited by Austiner87; 07-22-2022, 09:28 PM.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        54 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        130 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        72 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        44 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        49 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X