Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Account / Trade Drawdown Tool

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

    Account / Trade Drawdown Tool

    Hello,
    First, thank you for any light anyone can shed on this subject.
    I'm wanting to find or create an Account drawdown and trade drawdown tool. Where the user defines the trade drawdown value and the trade will be automatically closed if that value is reached. And also a daily drawdown limit where any and all trades will be closed if that value has been reached.

    Is there a tool like this or can someone who is a noob like me be able to create it?
    Thanks again for any help.
    James

    #2
    Hello James,

    Thanks for your post.

    We are currently researching this matter and we will follow up with more information for you as soon as we have finished investigating this matter.

    Thanks for your patience; I look forward to assisting further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Thank you Brandon. I look forward to hearing back from you. This is a must have for most beginners.

      Comment


        #4
        Hello James,

        Thanks for your patience.

        I am not aware of an existing indicator that accomplishes this specifically. That said, you could search the Ecosystem User App Share linked below for a possible existing solution.

        Ecosystem User App Share: https://ninjatraderecosystem.com/user-app-share/

        The Account class does not have any accessible drawdown values that could be retrieved in an indicator. The available AccountItem values you could access in an indicator could be seen below.

        AccountItem: https://ninjatrader.com/support/help...ccountitem.htm
        Account: https://ninjatrader.com/support/help...ount_class.htm

        If you are interested in creating a strategy, you could access the Drawdown value from the TradesPerformance collection. This is only able to be used in a custom strategy, not an indicator. You may compare a user-defined input you create to the Drawdown value in a strategy condition.

        TradesPerformance.Currency.Drawdown: https://ninjatrader.com/support/help...8/drawdown.htm
        TradesPerformanceValues: https://ninjatrader.com/support/help...ancevalues.htm

        Below is a link to a forum post with helpful information about getting started with NinjaScript.
        https://ninjatrader.com/support/foru...040#post786040

        We also have Daily Loss Limit sample scripts that you could view to see how a daily loss limit could be generally set up. You may use this as an example and consider modifying the logic to calculate using the drawdown value instead of a daily loss limit.
        https://ninjatrader.com/support/foru...limit-examples

        To cancel orders, you could use the CancelOrder() method. The reference sample below demonstrates using CancelOrder().


        Or, you could use the Flatten() method to flatten the account on an instrument. See the help guide page below.
        Flatten(): https://ninjatrader.com/support/help...​​

        Please let me know if I may assist further.


        The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
        Last edited by NinjaTrader_BrandonH; 03-06-2023, 12:38 PM.
        <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

        Comment


          #5
          There is a new feature "Daily Loss Limit" which might be what you are looking for? You set these value in the Account Dashboard.

          Click image for larger version

Name:	image.png
Views:	622
Size:	54.4 KB
ID:	1240492
          RayNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          576 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          334 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          101 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          553 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          551 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X