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 AaronKoRn, Yesterday, 09:49 PM
            0 responses
            11 views
            0 likes
            Last Post AaronKoRn  
            Started by carnitron, Yesterday, 08:42 PM
            0 responses
            10 views
            0 likes
            Last Post carnitron  
            Started by strategist007, Yesterday, 07:51 PM
            0 responses
            11 views
            0 likes
            Last Post strategist007  
            Started by StockTrader88, 03-06-2021, 08:58 AM
            44 responses
            3,981 views
            3 likes
            Last Post jhudas88  
            Started by rbeckmann05, Yesterday, 06:48 PM
            0 responses
            9 views
            0 likes
            Last Post rbeckmann05  
            Working...
            X