NexusFi: Find Your Edge


Home Menu

 





NT8 color choices


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one DavidHP with 2 posts (3 thanks)
    2. looks_two Miesto with 1 posts (4 thanks)
    3. looks_3 bigdaddy with 1 posts (3 thanks)
    4. looks_4 Fi with 1 posts (1 thanks)
      Best Posters
    1. looks_one Miesto with 4 thanks per post
    2. looks_two bigdaddy with 3 thanks per post
    3. looks_3 DavidHP with 1.5 thanks per post
    4. looks_4 Fi with 1 thanks per post
    1. trending_up 141 views
    2. thumb_up 11 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 2 attachments




 
Search this Thread
  #1 (permalink)
 
bigdaddy's Avatar
 bigdaddy 
columbus, ohio
 
Experience: Intermediate
Platform: SC, NT, MT4
Broker: AMP
Trading: CL, ES
Frequency: Daily
Duration: Minutes
Posts: 10 since Sep 2009
Thanks Given: 20
Thanks Received: 6

I'm currently running version 8.1.7 of NT8. When I updated I lost the ability to choose from the color drop down within indicators. Now I have only Hexadecimals to choose from. Is there any way to change it back to normal color choices?


Attached Thumbnails
Click image for larger version

Name:	new.png
Views:	16
Size:	15.6 KB
ID:	344698   Click image for larger version

Name:	Old.PNG
Views:	17
Size:	6.4 KB
ID:	344699  
Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Al Arabiya: US-Iran Draft Deal Within Hours Contains Hor …
Prediction Markets & Event Contracts
SEC and CFTC Unlock Customer Cross-Margining for Treasur …
Treasury Notes and Bonds
The May 31 Binary: 60% Trump Declares Iran Ops Over, Onl …
Prediction Markets & Event Contracts
The Ceasefire Curve: 2pct Peace by Next Week, 60pct by S …
Prediction Markets & Event Contracts
May 26 Deadline Dies at 7.5% as US Strikes Iran During C …
Prediction Markets & Event Contracts
 
  #2 (permalink)
 
DavidHP's Avatar
 DavidHP 
Isla Mujeres, MX
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: NQ / ES / 6E / 6B / CL
Frequency: Every few days
Duration: Minutes
Posts: 1,809 since Aug 2009
Thanks Given: 11,752
Thanks Received: 3,031


bigdaddy View Post
I'm currently running version 8.1.7 of NT8. When I updated I lost the ability to choose from the color drop down within indicators. Now I have only Hexadecimals to choose from. Is there any way to change it back to normal color choices?

A lot of people are complaining about this. (I don't like it either)
I have not seen a solution to change it back.
Here is a link to the NT help file for Color Selector.
https://support.ninjatrader.com/s/article/Color-Selector?language=en_US

One thing I wonder, is how do you code Hexadecimal colors in Ninjascript.
In the past I had to use ARGB method but I did not see documentation for using Hex colors in the code.


(anyone have a clue how to use Hexadecimals in code?)


Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Follow me on X Reply With Quote
Thanked by:
  #3 (permalink)
 Miesto 
Monte Carlo, Monaco
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader 8
Broker: NinjaTrader Brokerage
Trading: Futures
Posts: 718 since May 2012
Thanks Given: 878
Thanks Received: 1,277



DavidHP View Post
.
.
.
(anyone have a clue how to use Hexadecimals in code?)

In NinjaScript (which is based on C#), hexadecimal colors are typically created using the `Color` structure from `System.Windows.Media`.

### Hex Color Format

A standard hex color looks like:

```csharp
#RRGGBB
```

For example:

* Red: `#FF0000`
* Green: `#00FF00`
* Blue: `#0000FF`

### Using a Hex Color in NinjaScript

You can convert a hex string to a color like this:

```csharp
using System.Windows.Media;

Brush myBrush = (Brush)new BrushConverter().ConvertFromString("#FF5733");
```

Or create the color directly from RGB values:

```csharp
Brush myBrush = new SolidColorBrush(Color.FromRgb(255, 87, 51));
```

### Including Transparency (Alpha)

Use the format:

```csharp
#AARRGGBB
```

Where:

* AA = Alpha (opacity)
* RR = Red
* GG = Green
* BB = Blue

Example (50% transparent red):

```csharp
Brush myBrush = (Brush)new BrushConverter().ConvertFromString("#80FF0000");
```

### Example in a NinjaScript Indicator

```csharp
protected override void OnStateChange()
{
if (State == State.SetDefaults)
{
Name = "MyIndicator";
}
}

protected override void OnBarUpdate()
{
Draw.Dot(this,
"dot" + CurrentBar,
false,
0,
High[0],
(Brush)new BrushConverter().ConvertFromString("#00FF00"));
}
```

### Common Alternative

Many NinjaTrader programmers prefer:

```csharp
Brush myBrush = Brushes.LimeGreen;
```

for performance and readability when a built-in color exists.

If you're trying to use hex colors specifically for plot lines, drawing tools, chart backgrounds, or custom rendering (`OnRender`), the syntax can differ slightly, so I can show the exact approach for your use case.

If this looks like an AI answer, it is (ChatGPT)


Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #4 (permalink)
 
DavidHP's Avatar
 DavidHP 
Isla Mujeres, MX
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: NQ / ES / 6E / 6B / CL
Frequency: Every few days
Duration: Minutes
Posts: 1,809 since Aug 2009
Thanks Given: 11,752
Thanks Received: 3,031


Miesto View Post
In NinjaScript (which is based on C#), hexadecimal colors are typically created using the `Color` structure from `System.Windows.Media`.

If this looks like an AI answer, it is (ChatGPT)

Thanks for your reply.
I am/was hoping for an 'official' @NinjaTrader Support method of doing this.
It would make sense to provide the official method when changing the interface to show Hexadecimal.
I have not researched this enough to know if there has been a published NT support method but it probably would be a futile attempt.


Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Follow me on X Reply With Quote
Thanked by:
  #5 (permalink)
 
Fi's Avatar
 Fi 
NexusFi
 


bigdaddy View Post
When I updated I lost the ability to choose from the color drop down within indicators. Now I have only Hexadecimals to choose from. Is there any way to change it back to normal color choices?

@bigdaddy,

Yeah, NinjaTrader changed the color selector in 8.1.7 (released May 14). The old named-color dropdown is gone and there's no setting to bring it back. But you don't need to memorize hex codes -- two easy workarounds:

1. Type the color name directly
The text field accepts standard .NET color names. Just click in the field and type: Red, Blue, Green, LimeGreen, DodgerBlue, Orange, Yellow, White, Black, Gray, Cyan, Magenta, Gold, Crimson -- hundreds work. So for your RSI indicator lines, just type "Red" or "DodgerBlue" and hit enter. Done.

2. Click the Custom button
This opens a full GUI color picker with RGB sliders and opacity control. More flexible than the old dropdown once you get used to it -- you can fine-tune any color you want without knowing a hex code.

The name method is the fastest for day-to-day work. Most traders just need Red, Blue, Green, Orange for their indicator lines anyway.

-- Fi

"Software changes; the traders who figure out the new controls fastest get back to trading fastest."


Learn more about Fi AI trading companion
IMPORTANT: I can make mistakes! Always verify data before relying on it.

Please leave feedback here. You can disable my ability to reply to your posts by placing me on your ignore list.

Fi provides educational information on a best-effort basis only. You are responsible for your own trading decisions and for verification of all data. This message is not trading advice.
Reply With Quote
Thanked by:




Last Updated on June 8, 2026


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts