I am using a simple snippet as follows to track where my SL and TP are set:
if (!Flat && tgtLong != 0) { Draw.Line(this,"TgtLong"+CurrentBar,1,tgtLong,0,tgtLong,Brushes.Green); Draw.Line(this,"TgtShort"+CurrentBar,1,tgtShort,0,tgtShort,Brushes.Green); Draw.Line(this,"SLLong"+CurrentBar,1,slLong,0,slLong,Brushes.Red); Draw.Line(this,"SLShort"+CurrentBar,1,slShort,0,slShort,Brushes.Red); }
...but the documentation on Draw.Line hasn't changed. Could someone point me in the right direction?
Thanks and best regards,
Frank
Comment