I know my syntax for the DrawLine below is basicly correct, but I get errors for "profitTarget" or "setProfitTarget". Same for "stopLoss or "setStopLoss".
DrawLine("SetProfitTarget" + CurrentBar, false, 3, setProfitTarget, 0, setProfitTarget, Color.Lime, DashStyle.Dash, 3);
DrawLine("ProfitTarget" + CurrentBar, false, 3, profitTarget, 0, profitTarget, Color.Lime, DashStyle.Dash, 3);
I'd also appreciate any help extending the line foreward a few bars. As written now it only draws a line 3 bars back. How can I draw it 3 bars foreward?
Please help.
Thanks!!!
Comment