飞狐千钧茶舍散户持仓线指标
-
相关简介:飞狐千钧茶舍散户持仓线指标 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);xd2:=1-(TD
-
文章来源:股海网作者:股海网发布时间:2014-09-08浏览次数:
飞狐千钧茶舍散户持仓线指标
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);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(ISLASTBAR,散户持仓线,'散\n户\n线 ');
DRAWTEXTEX(DT>0,0,150,0,'散户增:'+NUMTOSTR(DT,2)+' 万元'),COLOR00FFFF;
dRAWTEXTEX(DT<0,0,150,0,'散户减:'+NUMTOSTR(DT,2)+' 万元'),COLOR00FF00;
DRAWTEXTEx(c,1,0,0,'茶舍散户持仓线'),COLORYELLOW;
DRAWTEXTEX(CLOSE,1,0,150,'证券代码: '+STKLABEL+' 证券名称: '+STKNAME+''),ColorFFAA00;