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 Jimmyk, 01-26-2018, 05:19 AM
            6 responses
            835 views
            0 likes
            Last Post emuns
            by emuns
             
            Started by jxs_xrj, 01-12-2020, 09:49 AM
            6 responses
            3,291 views
            1 like
            Last Post jgualdronc  
            Started by Touch-Ups, Today, 10:36 AM
            0 responses
            10 views
            0 likes
            Last Post Touch-Ups  
            Started by geddyisodin, 04-25-2024, 05:20 AM
            11 responses
            62 views
            0 likes
            Last Post halgo_boulder  
            Started by Option Whisperer, Today, 09:55 AM
            0 responses
            9 views
            0 likes
            Last Post Option Whisperer  
            Working...
            X