jj:=(HIGH+LOW+CLOSE)/3;qj0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);
TD1:=qj0*(MIN(OPEN,CLOSE)-LOW);DD1:=qj0*(jj-MIN(CLOSE,OPEN));
DD2:=qj0*(HIGH-MAX(OPEN,CLOSE));TD2:=qj0*(MAX(CLOSE,OPEN)-jj);
td:=TD1-TD2;da:=DD1-DD2;xd1:=1-(TD1+DD1);
DRAWTEXTABS(10,10,'股票软件下载网 www.9m8.cn 九毛八公式指标网'),linethick1,COLOR00EEff;
xd2:=1-(TD2+DD2);
tz:=v/sum(v,60)*100;DT:=((xd1-xd2)/10000)/tz;
散户持仓线:sum(DT,22),COLOR888888,LINETHICK2;
STICKLINE(DT 0,散户持仓线,散户持仓线+DT,2,0),COLORFF00FF;
STICKLine(DT 0,散户持仓线+DT,散户持仓线,2,0),COLORFF8800;
DRAWTEXT(DISPSTATUS=2,散户持仓线,'散户线 ');
DRAWTEXTREL(0,0,'散户持仓线'),COLORYELLOW;