Can you confirm this is not possible. I tried to assign the color of a plot using a string that I could change in the code and I got some system errors.
Question #1
In state set defaults I assigned the brush color to the string variable.
BrushColor_1 = "Brushes.DimGray";
In the plot code, I attempted to substitute the string but got errors... Is this just not possible?
AddPlot(new Stroke (BrushColor_1, DashStyleHelper.Solid, 1,Opacity_03), PlotStyle.Line, Level_00_Label );
Question #2
It appears that once the plot names get assigned and the indicator is loaded, the only way to change the plot names displayed is to use the "reset template" option in the indicator dialog.
Is there a way to do this using a bool option in the indicator and have the plot labels change based on the bool selected. I tried putting a set of strings in the State.configure code block thinking it would dynamically change the plot labels, but no luck.
else if (State == State.Configure)
{
if (usePlotLabelOption2)
{PlotString_01 = "testing label change";}
}
AddPlot(new Stroke (Brushes.Lime, DashStyleHelper.Solid, 1,Opacity_03), PlotStyle.Line, PlotString_01 );
Any other options to have these plot names dynamically change without getting into the code and then resetting the template?
Thanks

Comment