通达信金叉顶背指标公式
通达信捞钱手能量线主图指标公式
通达信金叉顶背指标公式:
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1),COLORWHITE;
D:=SMA(K,3,1),COLORYELLOW;
J:3*K-2*D,COLORYELLOW;
金叉:IF(SUM(crOSS(K,D)AND D<23,15)>=2 AND CROSS(K,D)AND C>O,10,0),COLORFFFF00;
加仓:IF(J>D,J,DRAWNULL),COLORRED,LINETHICK1;
减仓:IF(J<D,J,DRAWNULL),COLORGREEN,LINETHICK1;
stICKLINE((J>100 AND K>=60),100,J,1,1),COLORYELLOW;
STICKLINE(K>92,100,K,1,1),COLORGREEN;
{www.zhibiaow.com 指标网_通达信股票指标公式}
STICKLINE((J<=0 AND K<=30),0,J,1,1),COLORYELLOW;
STICKLINE(K<=9,0,K,1,1),COLORRED;
A1:=BArslAST(REF(CROSS(J,K),1));
A2:=BARSLAST(REF(CROSS(K,J),1));
顶背:=REF(CLOSE,A2+1)<CLOSE AND REF(J,A2+1)>J AND CROSS(K,J);
顶:DRAWLINE(A2=0,D,顶背,D,0),COLORBLUE,POINTDOT;
DRAWTEXT(顶背,D,'顶B'),COLORBLUE;
DRAWTEXT(CURRBARSCOUNT=60,60,''),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=55,45,''),COLORRED;
DRAWTEXT(CURRBARSCOUNT=50,30,''),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=45,15,''),COLORBLUE;
通达信低买追涨指标公式