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 giulyko00, Yesterday, 12:03 PM
            3 responses
            12 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Started by habeebft, Today, 07:27 AM
            1 response
            14 views
            0 likes
            Last Post NinjaTrader_ChristopherS  
            Started by AveryFlynn, Today, 04:57 AM
            1 response
            12 views
            0 likes
            Last Post NinjaTrader_Erick  
            Started by Max238, Today, 01:28 AM
            4 responses
            38 views
            0 likes
            Last Post Max238
            by Max238
             
            Started by r68cervera, Today, 05:29 AM
            1 response
            10 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Working...
            X