Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Add ability to specify opacity during creation of drawn objects from script
Collapse
X
-
Add ability to specify opacity during creation of drawn objects from script
Currently you can not set the opacity for drawn objects when you create it from a script. But once it is created you can click on the properties of the object and change the opacity.Tags: None
-
Hi cutzpr, thanks for your post.
You can create a custom Brush object when creating a draw object e.g.
You could also do custom rendering in the OnRender method. In OnRender you use SharpDX for high performance and very customizable renders. We have a guide on using SharpDX here:Code:Draw.Triangle(this, "TRI", Time[5], Low[5], Time[3], High[3] + TickSize*10, Time[0], Low[0], new SolidColorBrush(Color.FromArgb(155, 0, 0, 255)));
There is also an example indicator in the platform called "SampleCustomRender" for a functional reference.
Please let me know if I can assist any further.
- Likes 1
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
69 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
42 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
24 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
27 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
54 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment