• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

chart color

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

    chart color

    hell ... how do I change the background color for the entire chart (all bars)?

    #2
    Hello pman777, to change the color across all panels you can use BackColorAll in NinjaScript - http://www.ninjatrader.com/support/h...ckcolorall.htm
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thanks, is there a command that changes the background color for all of the bars?

      Comment


        #4
        Another option would be doing it per panel then with just the regular BackColor call to change.
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Vin, you could run a loop and do a BackColor at each historical bar location up to the present.
          eDanny
          NinjaTrader Ecosystem Vendor - Integrity Traders

          Comment


            #6
            Originally posted by pman777 View Post
            Thanks, is there a command that changes the background color for all of the bars?
            Not supported because it accesses ChartControl, but you can assign a desired color to ChartControl.BackColor.

            Comment


              #7
              You could also select an image file and use it as a background for your chart ....
              Attached Files

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by saltminer, Today, 05:49 PM
              0 responses
              4 views
              0 likes
              Last Post saltminer  
              Started by brunoviveiros, Today, 05:32 PM
              0 responses
              4 views
              0 likes
              Last Post brunoviveiros  
              Started by shodson, Today, 05:00 PM
              0 responses
              2 views
              0 likes
              Last Post shodson
              by shodson
               
              Started by concept, Today, 03:22 PM
              1 response
              12 views
              0 likes
              Last Post NinjaTrader_Tyler  
              Started by baluga123, 04-03-2020, 08:19 AM
              6 responses
              70 views
              0 likes
              Last Post koganam
              by koganam
               
              Working...
              X