Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to add a Button to a chart

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

    How to add a Button to a chart

    Hello I wanted to know if it was possible to add a Button on a chart. The button would be used to interact with a custom strategy. For example, a Button called 'close all' would flatten all open positions taken from the strategy.


    #2
    Take a look at this example: https://ninjatraderecosystem.com/use...bar-buttons-2/

    Comment


      #3
      Hello Tradewave,

      Thanks for your post.

      You could add buttons to a chart using C# WPF modifications.

      Please see this reference sample which demonstrates adding custom buttons on a chart using WPF: https://ninjatrader.com/support/help...ui)-modifi.htm

      Let me know if I 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
      43 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      124 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      65 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