Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy just to display an indicator, but want to see all trades in chart

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

    Strategy just to display an indicator, but want to see all trades in chart

    Just created a strategy that only purpose is to AddChartIndicator , how can I get all trades to display as the strategy is actually not taking any trades. Is there something to add in the strategy to ignore the strategy as far as trades and then plot the markers and text of trades entered manually

    #2
    Hello set2win,

    Thanks for your post.

    If you would like to have indicators appear on a chart window and have execution text and markers appear for manually placed trades, a custom NinjaScript strategy may not be needed.

    You could make/save a Chart Template with all the indicators you want on the chart. Then, you could manually place trades and have the execution text and markers appear on the chart for those manually placed orders.

    See this help guide page for more information: https://ninjatrader.com/support/help..._templates.htm

    Otherwise, you could consider subscribing to the Account class, looping through the Account.Executions collection for the account, and could draw execution markers with arrow objects or something similar.

    See the help guide documentation below for more information.
    Account: https://ninjatrader.com/support/help...ount_class.htm
    Account.Executions: https://ninjatrader.com/support/help...executions.htm
    Drawing objects: https://ninjatrader.com/support/help...t8/drawing.htm

    Let us know if we may assist.
    <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
      so the bottom line is if a strategy is included in a chart , only the strategy executions will show, no way around other than what you mentioned as plotting account executions

      Comment


        #4
        Hello set2win,

        Thanks for your note.

        That is correct. When a strategy is enabled on a chart the executions markers and text that display on the chart will be only the executions made by that strategy. Execution markers and text for manually placed orders will not appear.

        Let us know if we may assist 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

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Today, 05:17 AM
        0 responses
        50 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        126 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        69 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        42 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        46 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X