Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Draw.Line() Opacity ?
Collapse
X
-
Hello Erik, thanks for your post.
A custom brush needs to be constructed to control Opacity (alpha value). Instead of using one of the pre-built brushes (Brushes.Red, Brushes.Blue, etc), construct your own SolidColorBrush employing the Color.FromArgb() method, the first value is the "alpha":
https://ninjatrader.com/support/help...gcustombrushes
Kind regards,
-ChrisL
Chris L.NinjaTrader Customer Service
- Likes 1
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by ETFVoyageur, Today, 12:52 AM
|
1 response
9 views
0 likes
|
Last Post Today, 03:36 AM | ||
Started by Tin34, Today, 03:30 AM
|
0 responses
4 views
0 likes
|
Last Post
by Tin34
Today, 03:30 AM
|
||
Started by lollers, Today, 03:26 AM
|
0 responses
6 views
0 likes
|
Last Post
by lollers
Today, 03:26 AM
|
||
Started by aliyahany, Today, 03:16 AM
|
0 responses
1 view
0 likes
|
Last Post
by aliyahany
Today, 03:16 AM
|
||
Started by mariajvillarrealr, Today, 02:57 AM
|
0 responses
1 view
0 likes
|
Last Post Today, 02:57 AM |
Comment