Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.
      Brandon H.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by truepenny, Today, 03:59 AM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by truepenny, Today, 03:45 AM
      2 responses
      16 views
      0 likes
      Last Post truepenny  
      Started by dcriador, Today, 01:43 AM
      2 responses
      15 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by kujista, Today, 12:39 AM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by tony_28217, Yesterday, 07:04 PM
      1 response
      15 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Working...
      X