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 ageeholdings, Today, 07:43 AM
            0 responses
            7 views
            0 likes
            Last Post ageeholdings  
            Started by pibrew, Today, 06:37 AM
            0 responses
            4 views
            0 likes
            Last Post pibrew
            by pibrew
             
            Started by rbeckmann05, Yesterday, 06:48 PM
            1 response
            14 views
            0 likes
            Last Post bltdavid  
            Started by llanqui, Today, 03:53 AM
            0 responses
            6 views
            0 likes
            Last Post llanqui
            by llanqui
             
            Started by burtoninlondon, Today, 12:38 AM
            0 responses
            12 views
            0 likes
            Last Post burtoninlondon  
            Working...
            X