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

Indicator-based chart background color?

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

    Indicator-based chart background color?

    is there a way to change the background color in the chart during periods with given indicator values?

    thx in advance, regards,
    nescio

    #2
    Yes, you can work with BackColor for this - http://www.ninjatrader-support.com/H...BackColor.html
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Dear Bertrand,

      thx for your ongoing support. BackColor worked, but what I actually want to do is, changing the BackColor of the chart during periods when indicators values are in given range. By the way, there is a typo in the HTML help (Syntax should be BackColor instead of BarColor).

      Is that possible?

      Kindest regards,

      nescio

      Comment


        #4
        I now work with BackColorAll, works good. But is there a way to just change the BackColor of the chart?

        Comment


          #5
          Originally posted by nescio View Post
          Dear Bertrand,

          thx for your ongoing support. BackColor worked, but what I actually want to do is, changing the BackColor of the chart during periods when indicators values are in given range. By the way, there is a typo in the HTML help (Syntax should be BackColor instead of BarColor).

          Is that possible?

          Kindest regards,

          nescio
          I checked it, you are right. Should be BackColor not BarColor.
          eDanny
          NinjaTrader Ecosystem Vendor - Integrity Traders

          Comment


            #6
            Thanks for spotting nescio, correct. Unfortunately you cannot set the background color programmatically as in the Chart Properties.
            BertrandNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Balage0922, Today, 07:38 AM
            0 responses
            1 view
            0 likes
            Last Post Balage0922  
            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
            19 views
            0 likes
            Last Post Massinisa  
            Started by Creamers, Today, 05:32 AM
            0 responses
            6 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  
            Working...
            X