Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Simple color changing button?

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

    Simple color changing button?

    Hello,

    I'm looking for a simple "button" that would stay on a chart turning either, green, red or no color at all once pressed.
    I have multiple charts open, each with different indicators, once an indicate shows me that I have a setup forming and I determine that it is "good", I want to be able somehow show a small area or section of the chart, green, red or no color at all so I no longer need to monitor/focus on that particular chart. Would this be possible?

    I just need something that is fast, only requiring one click to turn off or on.

    Thank you!
    Last edited by Newtrader101; 09-19-2023, 03:01 PM.

    #2
    Hello Newtrader101,

    Thanks for your post.

    It would be possible for you to program your own custom NinjaScript indicator that adds a button to the chart that changes color when clicked.

    WPF could be used in a custom NinjaScript indicator to add a button to a chart and change the color of the button when it is clicked.

    See the reference sample linked below which demonstrates using WPF in a NinjaScript indicator to add a button to a chart window.

    SampleWPFModifications: https://ninjatrader.com/support/help...ui)-modifi.htm

    See the sample script on this forum thread demonstrating changing the color of a WPF button when it is clicked: https://forum.ninjatrader.com/forum/...11#post1166611

    If you are looking for an existing indicator then you could browse the NinjaTrader Ecosystem User App Share linked below for a possible solution.

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



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

    Comment


      #3
      Thank you for your answer, but this is beyond my ability's. I am not sure of what to do with this code.

      Comment


        #4
        Hello Newtrader101,

        Thanks for your notes.

        If you need someone to write this script for you on your behalf, you can contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script.

        You can search our extensive library of NinjaScript consultants through the link below. Simply enter a consultant name or search by using our filter categories. Once you have identified your consultants of choice, please visit each consultant's site for more information or contact them directly to learn more!

        https://ninjatraderecosystem.com/sea...mming-services

        Educators - https://ninjatraderecosystem.com/sea...ures=education

        You can locate the contact information for the consultants on their direct websites for any additional questions you may have. Since these consultants are third-party services for NinjaTrader, all pricing and support information will need to be obtained through the consultant.

        This 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 companies and services 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.
        Brandon H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by JoMoon2024, Today, 06:56 AM
        0 responses
        6 views
        0 likes
        Last Post JoMoon2024  
        Started by Haiasi, 04-25-2024, 06:53 PM
        2 responses
        17 views
        0 likes
        Last Post Massinisa  
        Started by Creamers, Today, 05:32 AM
        0 responses
        5 views
        0 likes
        Last Post Creamers  
        Started by Segwin, 05-07-2018, 02:15 PM
        12 responses
        1,786 views
        0 likes
        Last Post Leafcutter  
        Started by poplagelu, Today, 05:00 AM
        0 responses
        3 views
        0 likes
        Last Post poplagelu  
        Working...
        X