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
How to get the color of the chart background
Collapse
X
-
How to get the color of the chart background
I need to find the brush color of the chart background; how can I get it inside an indicator?Tags: None
-
Hello afshinmoshrefi, and thank you for your question. This is available through the ChartControl.Background object. To turn this into a Color you may use
Code:Color c = (ChartControl.Background as SolidColorBrush).Color;
Jessica P.NinjaTrader Customer Service
-
Thanks Jessica,
I need to assign the background color to a brush for an indicator Plot.
How can I get a valid brush that is the background brush?
Comment
-
-
When I try this brush, the indicator compiles but then disappears from the list of indicators. Seems there is possibly a compile error that doesn't get reported to the UI. I emailed the indicator to Jessica to look at.
Comment
-
Colour #74987B would like to make as 'GradientBrush'
Hello.
I trade WoodiesCCI. For a background chart his native colour #74987B would like to make as 'GradientBrush' in a skin Slate Light.
In this theme the way was shown:
Would like as in this theme have made with colour of coffee, only now for colours #74987B.
Programming I do not own.
The file BluePrint has applied on the message.
Thanks.Last edited by Muratello; 03-13-2017, 06:44 PM.
Comment
-
Thank you for your question, Muratello. The best place to start when creating a new skin for NinjaTrader is this page,
We are happy to help with any questions that come up.Jessica P.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Aviram Y, Today, 05:29 AM
|
0 responses
2 views
0 likes
|
Last Post
by Aviram Y
Today, 05:29 AM
|
||
Started by quantismo, 04-17-2024, 05:13 PM
|
3 responses
25 views
0 likes
|
Last Post Today, 05:23 AM | ||
Started by ScottWalsh, 04-16-2024, 04:29 PM
|
7 responses
34 views
0 likes
|
Last Post Today, 05:15 AM | ||
Started by cls71, Today, 04:45 AM
|
0 responses
6 views
0 likes
|
Last Post
by cls71
Today, 04:45 AM
|
||
Started by mjairg, 07-20-2023, 11:57 PM
|
3 responses
217 views
1 like
|
Last Post
by PaulMohn
Today, 04:22 AM
|
Comment