让KD副图 分时副图指标告诉你高低点,组合套装,一目了然!无未来不加密。
内有主力资金线,20以下低位,80以上拐头快跑。
可以用到K线图和分时图上。
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
红K:IF(K REF(K,1),K,DRAWNULL),COLORRED,LINETHICK3;
绿K:IF(K REF(K,1),K,DRAWNULL),COLORLICYAN,LINETHICK3;
DRAWICON(CROSS(K,D) AND K 20,20,1);
DRAWICON(CROSS(D,K) AND K 80,80,2);{}
VAR1:=REF(LOW,1);
VAR2:=SMA(ABS(LOW-VAR1),3,1)/SMA(MAX(LOW-VAR1,0),3,1)*100;
VAR3:=EMA(IF(CLOSE*1.2,VAR2*3,VAR2/10),3);
VAR4:=LLV(LOW,38);
VAR5:=HHV(VAR3,38);
VAR6:=IF(LLV(LOW,90),1,0);
主力吸货:EMA(IF(LOW =VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6;
VAR8:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
VAR9:=SMA(VAR8,13,8);
STICKLINE(主力吸货 REF(主力吸货,1),0,主力吸货,2,0 ),COLORRED;
STICKLINE(主力吸货 REF(主力吸货,1),0,主力吸货,2,0),COLOR009000;
{IF(K =80,K,DRAWNULL),COLORGREEN,LINETHICK2;
IF(K =20,K,DRAWNULL),COLORRED,LINETHICK2;}
主力资金线:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLOR0099FF;
红主力:IF(主力资金线 REF(主力资金线,1),主力资金线,DRAWNULL),COLORMAGENTA;
绿主力:IF(主力资金线 REF(主力资金线,1),主力资金线,DRAWNULL),COLOR00FF00;
{DRAWICON(CROSS(主力资金线,20),20,1);
DRAWICON(CROSS(主力资金线,39),39,19);
DRAWICON(CROSS(主力资金线,50),50,17);{主力资金监测}
{DRAWICON(CROSS(80,主力资金线),80,2);}
清仓:100,POINTDOT,COLORGREEN,LINETHICK2,DOTLINE;
顶部:80,COLORGREEN,LINETHICK1,DOTLINE;
50,COLORWHITE,LINETHICK1,DOTLINE;
20,COLORGREEN,LINETHICK1,DOTLINE;
底部:0,COLORRED,LINETHICK2,DOTLINE;