RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK2;
K:SMA(RSV,3,1),LINETHICK1;
D:SMA(K,3,1),LINETHICK1;
J:=3*K-2*D,COLORFF00FF,LINETHICK1;
IF(K<15,K,DRAWNULL),COLORRED,LINETHICK2;
DRAWTEXT(CURRBARSCOUNT=1,40,'KDJ躺底吸纳');
{MACD部分}
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD2:=(DIF-DEA)*200,COLORSTICK;
STICKLINE(DIF>DEA,-10,-15,10,0),COLORRED;
STICKLINE(DIF
DRAWTEXT(CURRBARSCOUNT=1,-10,'MACD红持绿退');
{换手部分}
HS5:=MA(HSL,5);
HS60:=MA(HSL,60);
STICKLINE(HS5>HS60,100,105,10,0),COLORMAGENTA;
STICKLINE(HS5
DRAWICON(CROSS(K,D) AND MACD>0,K-5,1);
{量比部分}
LBB:=V/(REF(V,15)/5);
MA120:=MA(LBB,120)/10;
DIF1:=EMA(LBB,30)-EMA(LBB,60);
DEA1:=EMA(DIF1,15);
STICKLINE(DIF1>DEA1,90,95,10,0),COLORRED;
STICKLINE(DIF1
{布林部分}
BOLL:=MA(CLOSE,20);
UB:=BOLL+2*STD(CLOSE,20);
LB:=BOLL-2*STD(CLOSE,20);
STICKLINE(LB>C,-20,-25,10,0),COLORMAGENTA;
STICKLINE(LB
DRAWTEXT(CURRBARSCOUNT=1,-20,'BOLL红底绿高');
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!