[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Last Bar Close Visual Aid



PureBytes Links

Trading Reference Links

input:factor(1.30),lookback(10);

var:txt(0),last(" last - - - - - - - - - - - - - - - - -");

value9=c ;

if currentbar=1 then begin txt= text_new
(d,1,0,"--"+last+last+last+last+last+last+last+last+last+last+last+last+last+last);
text_setcolor(txt,8);
text_setstyle(txt,0,2);end;

{1=black,2=blue,3=cyan,4=green,5=magenta,6=red,7=yellow,8=white}

if c >= 0 then begin text_setlocation(c,d,1,value9);end;

plot1(c,"");