I try plot a line (with changing stop level), but I get an error:
....
double stop = exitShort; // exitShort is a changing value ->trailstop
DrawHorizontalLine("Line1"+CurrentBar,"+stop+", Color.Crimson); // plot the stops
....
I get during compiling:
Argument '2': cannot convert from 'string' to 'double'
the syntax is : DrawHorizontalLine(string tag, double y, Color color)
what am I doing wrong, is it not possible, use the double stop ?
Torso

Comment