通达信持仓比指标公式
2020/3/27 18:41:56
IF(C>0,0,DRAWNULL),COLORYELLOW;
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));
TZ:=VOL/SUM(VOL,60)*100;
DDT:=((买1+买2)-(卖2+卖1))/10000/tz;
{www.tou18.cn 投股票网_最新股票指标公式}
主力持仓:=SUM(DDT,34),COLORRED,LINETHICK1;
XD1:=1-(买1+买2);
XD2:=1-(卖1+卖2);
DT:=((XD1-XD2)/10000)/TZ;
散户持仓:=SUM(DT,13),COLORWHITE;
主力:=VOL*主力持仓/10000;
散户:=VOL*散户持仓/10000;
ajb:=IF(capital>20000000,capital*33/100,IF(capital>12000000,capital*27/100,capital*22/100));
主力持仓比:100*SUM(主力,20)/(CAPITAL-ajb),COLORYELLOW;
散户持仓比:100*SUM(散户,20)/(CAPITAL-ajb),COLORGREEN;
增量:主力持仓比-散户持仓比,LINETHICK2,COLORSTICK;
持仓线:ma(增量,5),COLORWHITE;IF(增量<持仓线,持仓线,DRAWNULL),COLORBLUE;
投 股票网 www.t ou18.cn
股市公式下载推荐