Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Chart background color.

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

    Chart background color.

    1) How do I change the background color of my chart?

    2) Is there a way to have different colors for both sim trading and real money trading so I know for sure which type of trading I am doing?

    #2
    Hello islandwizard,

    1. Yes, you may change the background color of your charts by right click inside of the chart, selecting Properties, and then change the "Color for Background" option. Here is a link to our Help Guide that has a description of all of the properties you may change.


    2. If you are using Chart Trader, you may change the color of the Chart Trader window when you have a Simulator account select. With Chart Trader enabled you may right click inside of the Chart Trader window and select Chart Trader Properties. From here you may change the "Simulator Color" from the Default "SlateGray" to a color that you want to easily see the difference. Note a Live Account will have a White background color.

    JCNinjaTrader Customer Service

    Comment


      #3
      Could i change the chart "Color for Background" with code from my indicators?
      Thank you

      Comment


        #4
        Hello ninjo,

        You can change the background color of the chart on a per bar basis. (Colors the chart panel behind the bar)

        Below is a link to the help guide on BackColor.
        http://ninjatrader.com/support/helpG.../backcolor.htm

        You can also loop through the BackColorSeries collection and set colors historically.
        http://ninjatrader.com/support/helpG...olorseries.htm
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Thank you ChelseaB, yes i know. But I want to change all window background and the axis color by code.

          Comment


            #6
            Hello ninjo,

            There are no supported ways to achieve this.

            Though there may be something buried in the chart control that may help. This would not be supported by NinjaTrader Support to do for NinjaTrader 7 however.
            Chelsea B.NinjaTrader Customer Service

            Comment


              #7
              All right !

              Comment


                #8
                Hello ninjo,

                I am not aware of any way to accomplish this, however, this thread will remain open for any community members that have information and would like to contribute.
                Chelsea B.NinjaTrader Customer Service

                Comment


                  #9
                  Try this in OnStartUp()

                  Code:
                  protected override void OnStartUp()
                  {		
                  	ChartControl.BackColor = Color.Blue;
                  	ChartControl.AxisColor = Color.Red;
                  }
                  MatthewNinjaTrader Product Management

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by cmtjoancolmenero, Yesterday, 03:58 PM
                  10 responses
                  36 views
                  0 likes
                  Last Post NinjaTrader_ChelseaB  
                  Started by DayTradingDEMON, Today, 09:28 AM
                  4 responses
                  24 views
                  0 likes
                  Last Post DayTradingDEMON  
                  Started by geddyisodin, Yesterday, 05:20 AM
                  9 responses
                  50 views
                  0 likes
                  Last Post NinjaTrader_Gaby  
                  Started by George21, Today, 10:07 AM
                  1 response
                  15 views
                  0 likes
                  Last Post NinjaTrader_ChristopherJ  
                  Started by Stanfillirenfro, Today, 07:23 AM
                  9 responses
                  24 views
                  0 likes
                  Last Post NinjaTrader_ChelseaB  
                  Working...
                  X