Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Programing an on/off button on a chart

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

    Programing an on/off button on a chart

    How can I program a simple on/off button to show up on a chart, so the strategy can receive possible user input with each new bar? Any code examples would be greatly appreciated.

    #2
    scokel, welcome to our forums! This is possible with C#, but unfortunately not supported by us.

    Comment


      #3
      I hope adding buttons to the tool bar with an indicator will be one addition with NT7. Other platforms like eSignal allow it. It would be great to click the button and click two spots on the chart to draw your custom pattern (similar to fibs, etc).
      eDanny
      NinjaTrader Ecosystem Vendor - Integrity Traders

      Comment


        #4
        Thanks for the suggestion eDanny, I will pass it to development.

        Comment


          #5
          Adding chart buttons

          I did find a third party add on that does this. They do charge for it but at least I can now do what I wanted to. http://www.tradingstudies.com/produc...y-buttons.html

          Comment


            #6
            Bertrand,

            I just wanted to say thank you for providing a more helpful response than just saying NT doesn't support such and such. As you can see, the thread continued and a solution evolved. It's so helpful when you tell people it's possible. It's the motivation one needs to pursue the solution. Win-Win for NT and its users!

            Nice job.

            Originally posted by NinjaTrader_Bertrand View Post
            scokel, welcome to our forums! This is possible with C#, but unfortunately not supported by us.

            Comment


              #7
              Thanks for the kind words r2kTrader - that's the power of the C# and .NET

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              637 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              366 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              107 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              569 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              571 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X