NexusFi: Find Your Edge


Home Menu

 





Any way to remove the opacity/transparency on the middle-click panel?


Discussion in NinjaTrader

Updated
    1. trending_up 47 views
    2. thumb_up 2 thanks given
    3. group 1 followers
    1. forum 1 posts
    2. attach_file 3 attachments




 
Search this Thread
  #1 (permalink)
 
xplorer's Avatar
 xplorer 
London UK
Site Moderator
 
Experience: Beginner
Platform: CQG
Broker: S5
Trading: Futures
Posts: 6,358 since Sep 2015
Thanks Given: 16,064
Thanks Received: 16,257

I find this extremely annoying: I want to quickly check some values so I middle-click with the mouse on one of the indicators.

The opacity makes it harder to read the values. It's not so bad when it's just volume and it's one color:



But when dealing with multiple colors like so, it becomes unreadable.




I know I could just open up a Data Box and read the values from there, but in fast moving markets it's an extra step I could do without.


anyone know of a way to remove the opacity or change the background?


Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
I developed a free AI-powered (Kronos) forecasting indic …
The Elite Circle
EA
Platforms and Indicators
[WTS] ATAS Lifetime ULTRA license – EU buyers only – …
Platforms and Indicators
Bitcoin’s 2022 low, 2025 high and 2026 low so far arou …
Cryptocurrency
My Rant with AMP Futures
Trading Reviews and Vendors
 
  #2 (permalink)
 
LioMac's Avatar
 LioMac 
Montréal
 
Experience: None
Broker: IB
Trading: ES
Posts: 43 since Jun 2009
Thanks Given: 34
Thanks Received: 77

Tested & working on my side
## Possible fix for the Mini Data Box transparency in NinjaTrader 8

Inside `ChartControl.xaml`, there is a resource named:

`ChartControl.DataBoxBackground`

In the Dark skin, it is defined as:

```xml
<SolidColorBrush
x:Key="ChartControl.DataBoxBackground"
Color="Black"
po:Freeze="true"
Opacity="0.759"/>
```

That means the background is deliberately set to approximately **75.9% opacity**, rather than being completely opaque.

Changing `Opacity="0.759"` to `Opacity="1"` should make any background using this resource fully opaque.

**Important:** I haven't yet confirmed that the Mini Data Box uses this exact resource. So this is an experimental fix, not a verified solution.

### A safe way to test it

Rather than modifying NinjaTrader's original skin files, we can create a custom skin based on **NinjaTrader Dark** and change just this one property.

The original theme remains untouched.

Close NinjaTrader 8 before running the following PowerShell script:

```powershell
$skins = "$HOME\Documents\NinjaTrader 8\templates\Skins"

$source = Join-Path $skins "NinjaTrader Dark"
$dest = Join-Path $skins "NinjaTrader Dark Opaque"

if (!(Test-Path $source)) {
throw "Original skin not found."
}

if (Test-Path $dest) {
throw "Test skin already exists. No changes made."
}

$sourceFile = Join-Path $source "ChartControl.xaml"

$pattern = '(<SolidColorBrush[^\r\n]*x:Key="ChartControl\.DataBoxBackground"[^\r\n]*Opacity=")[^"]+(")'

$original = [IO.File]::ReadAllText($sourceFile)

if ([regex]::Matches($original, $pattern).Count -ne 1) {
throw "Expected DataBox resource not found exactly once."
}

# Copy the complete original skin
Copy-Item -LiteralPath $source -Destination $dest -Recurse

$file = Join-Path $dest "ChartControl.xaml"

# Change only the DataBox background opacity
$updated = [regex]::Replace(
$original,
$pattern,
'${1}1${2}'
)

[IO.File]::WriteAllText(
$file,
$updated,
[System.Text.UTF8Encoding]::new($true)
)

# Verify the result
Select-String -Path $file -Pattern 'ChartControl.DataBoxBackground'

Write-Host "Custom opaque skin created successfully."
```

### How to activate it

1. Start NinjaTrader 8.
2. Open **Tools → Options → General → Skin**.
3. Select **NinjaTrader Dark Opaque**.
4. Restart NinjaTrader if required.
5. Open a chart with multiple colored indicator plots and test the Mini Data Box using the middle mouse button.

### What this script actually does

- Creates a complete copy of the existing NinjaTrader Dark theme.
- Changes only the `ChartControl.DataBoxBackground` opacity to `1` (fully opaque).
- Preserves all other colors, styles and settings.
- Does not modify the original NinjaTrader Dark files.
- Does not modify NinjaTrader assemblies or NinjaScript code.

The search and replacement are deliberately limited to the identified XAML resource.

### How to undo the change

Simply switch back to the original **NinjaTrader Dark** skin and restart the platform.

The experimental `NinjaTrader Dark Opaque` folder can then be deleted if desired.

### If it doesn't work

There are two possibilities:

1. The Mini Data Box uses a different resource or another transparency mechanism.
2. The transparency is applied internally by the WPF control rather than by the skin's background brush.

In that case, the next step would be to inspect the Mini Data Box's WPF visual tree and identify the actual element responsible for drawing its background.

That could potentially be modified by a small NinjaScript AddOn, although the feasibility and compatibility would need to be confirmed.

For now, the skin modification is the simplest and least invasive experiment.

NinjaTrader officially documents the procedure for creating custom skins here:

https://static.ninjatrader.com/support/helpGuides/nt8/creating_your_own_skin.htm

...


Attached Thumbnails
Click image for larger version

Name:	Capture d’écran 2026-10-27 222037.png
Views:	4
Size:	12.4 KB
ID:	345254  
Reply With Quote
Thanked by:




Last Updated on October 27, 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