//this is in State.SetDefaults
AddPlot(eEMALongBrushColor, NinjaTrader.Custom.Resource.NinjaScriptIndicatorNa meEMA);
// this is in my parameters
//TASK:SET THE SHORT/PUT DOT COLOR
//DEFAULT: BLUE
//VALUE: ENUMERATION
private Brush eEMAShortBrushColor = Brushes.Red;
[XmlIgnore()]
[NinjaScriptProperty]
[Display(Name = "EMA Short Color", Description = "", GroupName = "Plots")]
public Brush EMAShortBrushColor
{
get { return eEMAShortBrushColor; }
set { eEMAShortBrushColor = value; }
}
// Serialize Color object
[Browsable(false)]
public string EMAShortBrushColorSerialize
{
get { return Serialize.BrushToString(eEMAShortBrushColor); }
set { eEMAShortBrushColor = Serialize.StringToBrush(value); }
}
//TASK:SET THE SHORT/PUT DOT COLOR
//DEFAULT: BLUE
//VALUE: ENUMERATION
private Brush eEMALongBrushColor = Brushes.Green;
[XmlIgnore()]
[NinjaScriptProperty]
[Display(Name = "EMA Long Color", Description = "", GroupName = "Plots")]
public Brush EMALongBrushColor
{
get { return eEMALongBrushColor; }
set { eEMALongBrushColor = value; }
}
// Serialize Color object
[Browsable(false)]
public string eEMALongBrushColorSerialize
{
get { return Serialize.BrushToString(eEMALongBrushColor); }
set { eEMALongBrushColor = Serialize.StringToBrush(value); }
}
Do I have to make a custom addplot and create all custom brushes line sizes etc or is there a way to access the custom indicator?
AddPlot(Brushes.Black,"PlotEMA");
I want to get rid of the goldenrod color and access the dashlines

Comment