Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Default Line Color

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

    Default Line Color

    I normally use candle stick charts, but sometimes I need to switch to a line chart. Is there a way to change the default line color from Black to 50,50,50,50, but keep my default settings on the chart to candlestick?

    #2
    Hello habibalex,

    You could use a chart template to set the colors and set the bar type.
    http://ninjatrader.com/support/helpG..._templates.htm

    However, any default settings set in the Data Series window will be specific to the interval, not the chart style selected.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      For anyone who wants to change the default line color, open your @ChartStyles.cs file in \bin\Custom\Type

      look around line 980 for
      Code:
      public LineOnCloseStyle() : base(ChartStyleType.LineOnClose)
      {
      	this.UpColor	= Color.FromArgb(50,50,50,50);
      }
      then open any indicator and compile. Restart ninjatrader and the default color will change from black to a semi transparent gray line.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      333 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      211 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      196 views
      1 like
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      287 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      242 views
      0 likes
      Last Post CarlTrading  
      Working...
      X