通达信副图源码 通达信主力统计副图源码
2014-11-18 9:12:24 股票入门 http://rumen.southmoney.com
{HHJ主力统计副图}
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),COLORWHITE,LINETHICK1;
STICKLINE(DT》0,主力持仓,主力持仓+DT,1,0),COLOR0000FF;
STICKLINE(DT《0,主力持仓+DT,主力持仓,1,0),COLOR00FF00;
主力三天加仓:DT》0 AND REF(DT》0,1) AND REF(DT》0,2);
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。