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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
43 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
30 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
47 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
38 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment