飞狐千钧茶舍主力持仓线指标
-
相关简介:飞狐千钧茶舍主力持仓线指标 jj:=(HIGH+LOW+CLOSE)/3;qj0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW); 买1:=qj0*(MIN(OPEN,CLOSE)-LOW); 买2:=qj0*(jj-MIN(CLOSE,OPEN)); 卖1:=qj0*(MAX(CLOSE,OPEN)-jj); 卖2:=qj0*(HIGH-MAX(OPEN,CLOSE)); DT:=((买1+买2)-(卖1+卖2))/10000; 主力持仓线:sum(DT,66),COLOR88
-
文章来源:股海网作者:股海网发布时间:2014-09-08浏览次数:
飞狐千钧茶舍主力持仓线指标
jj:=(HIGH+LOW+CLOSE)/3;qj0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);
买1:=qj0*(MIN(OPEN,CLOSE)-LOW);
买2:=qj0*(jj-MIN(CLOSE,OPEN));
卖1:=qj0*(MAX(CLOSE,OPEN)-jj);
卖2:=qj0*(HIGH-MAX(OPEN,CLOSE));
DT:=((买1+买2)-(卖1+卖2))/10000;
主力持仓线:sum(DT,66),COLOR888888,linethick2;
STICKLINE(DT>0,主力持仓线,主力持仓线+DT,2,0),COLOR0000FF;
STICKLine(DT<0,主力持仓线+DT,主力持仓线,2,0),COLOR00FF00;
DRAWTEXTEX(DT>0,0,150,0,'主力增:'+NUMTOSTR(DT,2)+' 万元'),COLOR00FFFF;
dRAWTEXTEX(DT<0,0,150,0,'主力减:'+NUMTOSTR(DT,2)+' 万元'),COLOR00FF00;
DRAWTEXT(ISLASTBAR,主力持仓线,'主\n力\n线 ');
DRAWTEXTEX(c,1,0,0,'茶舍主力持仓线 '),COLORYELLOW;
DRAWTEXTEX(CLOSE,1,0,150,'证券代码: '+STKLABEL+' 证券名称: '+STKNAME+''),ColorFFAA00;