I am having problems when compiling the code below:-
if (CrossBelow(Avg, Value, 1))
{
// DrawVerticalLine(CurrentBar.ToString(),0,Color.Blu e, DashStyle.Dash,2);
BackColor = Color.Green;
// DrawLine(CurrentBar.ToString(), false, 0, 80, 0, 30, Color.Red, DashStyle.Solid, 2);
}
BackColor is plotted OK, but when I activate either of the other "actions", the error message is "The name 'DashStyle' does not exist in the current context". Yet, similar code in another indicator compiles and prints OK.
How can I fix the problem, so that the short line is drawn on the RSI indicator.
Thank you from Bill R
Comment