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.
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.
Chris L.NinjaTrader Customer Service
- Likes 1
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by FrancisMorro, Today, 03:24 AM
|
0 responses
2 views
0 likes
|
Last Post
by FrancisMorro
Today, 03:24 AM
|
||
Net Change
by Segwin
Started by Segwin, 05-07-2018, 02:15 PM
|
10 responses
1,770 views
0 likes
|
Last Post
by Leafcutter
Today, 03:01 AM
|
||
Change colour of Stop market and limit orders to red and green via indicator script
by Rapine Heihei
Started by Rapine Heihei, 04-23-2024, 07:51 PM
|
2 responses
31 views
0 likes
|
Last Post
by Max238
Today, 02:25 AM
|
||
Started by Shansen, 08-30-2019, 10:18 PM
|
24 responses
945 views
0 likes
|
Last Post
by spwizard
Today, 01:29 AM
|
||
Started by Max238, Today, 01:28 AM
|
0 responses
11 views
0 likes
|
Last Post
by Max238
Today, 01:28 AM
|
Comment