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 NullPointStrategies, Today, 05:17 AM
      0 responses
      51 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      127 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      69 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      42 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      46 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X