滚雪球主图-精品通达信指标公式源码分享
MA3:=MA(CLOSE,3);
MA4:=MA(CLOSE,4);
MA6:MA(CLOSE,5),COLORFFFFFF;
MA20:MA(CLOSE,20),COLORFF00FF;
MA30:MA(CLOSE,30),COLORFFFF00;
生命线:EMA(C,453),COLORRED,LINETHICK2;
CC1:=FINANCE(7)<600000000 ;
MA5:=EMA(C,5);
MA5角度:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;
AA:=MA5角度>45;
BB1:=REF(C,1)>REF(MA6,1) AND REF(C,2)>REF(MA6,2) {AND REF(C,3)>REF(MA6,3)};
BB3:=REF(AA,1) OR REF(AA,2) OR AA;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
{N 2 90 9
M1 2 30 3
M2 2 30 3};
KK1:= CROSS(K,J);
预备:=BB1 AND BB3 AND C>MA30 AND C>=MA6 AND NOT(KK1)
AND REF(NOT(KK1),1)AND REF(NOT(KK1),2)
AND J>=K ,LINETHICK3,COLOR00FFFF;
{预备1:=REF(预备,1) OR 预备;}
预警:=预备 AND L<=MA4 {AND O>MA5} AND NOT(KK1),LINETHICK1,COLORFF00FF;
SS1:=1110316;
SS3:=DATE<SS1;
STICKLINE(预备 AND SS3,O,C,4,0),COLOR00FFFF;
STICKLINE(预警 AND SS3 ,O,C,2,0),COLORFF00FF;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!