主力持仓线--从筹码与K线上判断。
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),COLORGREEN,LINETHICK2;
DRAWTEXT(ISLASTBAR,散户持仓线,'散户线 ');
买1:=QJ0*(MIN(OPEN,CLOSE)-LOW); 买2:=QJ0*(JJ-MIN(CLOSE,OPEN)); 卖1:=QJ0*(MAX(CLOSE,OPEN)-JJ); 卖2:=QJ0*(HIGH-MAX(OPEN,CLOSE)); DTA:=((买1+买2)-(卖1+卖2))/10000; 主力持仓线:SUM(DTA,66),COLORGRAY,LINETHICK2; STICKLINE(DTA>0,主力持仓线,主力持仓线+DTA,0.5,0),COLOR0000FF; DRAWTEXT(ISLASTBAR,主力持仓线,'主力线 '); W0:=IF(散户持仓线<0,0,散户持仓线); DRAWBAND(W0,RGB(188,8,188),散户持仓线,RGB(0,0,0));
XG:CROSS(主力持仓线,散户持仓线),NODRAW; DRAWICON(XG=1,散户持仓线,41);
移动端首页 | PC端
© by gszx.com.cn Mobile Web
主力持仓线--从筹码与K线上判断。
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),COLORGREEN,LINETHICK2;
DRAWTEXT(ISLASTBAR,散户持仓线,'散户线 ');
买1:=QJ0*(MIN(OPEN,CLOSE)-LOW);
买2:=QJ0*(JJ-MIN(CLOSE,OPEN));
卖1:=QJ0*(MAX(CLOSE,OPEN)-JJ);
卖2:=QJ0*(HIGH-MAX(OPEN,CLOSE));
DTA:=((买1+买2)-(卖1+卖2))/10000;
主力持仓线:SUM(DTA,66),COLORGRAY,LINETHICK2;
STICKLINE(DTA>0,主力持仓线,主力持仓线+DTA,0.5,0),COLOR0000FF;
DRAWTEXT(ISLASTBAR,主力持仓线,'主力线 ');
W0:=IF(散户持仓线<0,0,散户持仓线);
DRAWBAND(W0,RGB(188,8,188),散户持仓线,RGB(0,0,0));
XG:CROSS(主力持仓线,散户持仓线),NODRAW;
DRAWICON(XG=1,散户持仓线,41);