Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Visual Studio Colors
Collapse
X
-
-
The [Browsable(true)], Color property has to be set true has to be set true and an application RD also help to get that . If you have the line of code .
I can point it out .
Please , Check NinjaTrader 8 Help guide under ' Working with Brushes' . If that does not help then i do have another option to send you a piece of code.Last edited by Emma1; 12-08-2023, 11:35 AM.
Comment
-
What is 'application RD'?Originally posted by Emma1 View PostThe [Browsable(true)], Color property has to be set true has to be set true and an application RD also help to get that . If you have the line of code .
I can point it out .
And I tried changing to 'true' and nothing happend:
part of the code(if you need everything I can post the cs file):
[Browsable(true)]
private string ColorReversalUpSerialize
{
get { return Serialize.BrushToString(ColorReversalUp); }
set { ColorReversalUp = Serialize.StringToBrush(value); }
}
protected override void OnStateChange()
{
if (State == State.SetDefaults)
{
SetDefaultSettings();
SetParameters();
var stroke = new Stroke(Brushes.Red,DashStyleHelper.Solid,width:2) ;
//AddPlot(Brushes.Red, name:"Range");
AddPlot(stroke, PlotStyle.Bar, name: "Range");
AddPlot(Brushes.Blue, name: "EMA Range");
var dailyStroke = new Stroke(Brushes.Fuchsia, DashStyleHelper.Dash, width: 2);
AddPlot(dailyStroke, PlotStyle.Hash, name: "Daily Range");
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
648 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
369 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
108 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
572 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
573 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment