通达信滚雪球主图公式滚雪球三十分钟图

 2023-09-09 11:34:25    通达信指标网  

滚雪球主图:

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;

滚雪球三十分钟图:

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;

RSV1:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

TJ:= IF(RSV1<5,0,RSV1);

TT:= IF(TJ>95,100,TJ);

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIF,9);

MACD:=(DIF-DEA)*2;

{SHORT 2 200 12

LONG 2 200 26

MID 2 200 9};

MA3:=MA(CLOSE,3),COLORFF3399;

MA4:=MA(CLOSE,4),COLOR0000FF;

MA5:MA(CLOSE,5),COLORFFFFFF;

MA6:=MA(CLOSE,6),COLORFFFF00;

MA10:MA(CLOSE,10),COLOR00FFFF;

MA20:MA(CLOSE,20),COLORFF00FF;

MA30:MA(CLOSE,30),COLOR00FF00;

MA60:MA(CLOSE,60),COLORFF0000;

JJ:= REF(J,1)<20 OR J<20;

QR3:= TT>=REF(TT,1) AND REF(TT,1)<REF(TT,2) AND JJ AND TT<60 AND REF(TT,1)<=20;

MA55:=EMA(C,5);

MA55角度:=ATAN((MA55/REF(MA55,1)-1)*100)*180/3.1416;

AA:=MA55角度>45 ;

BB1:=REF(C,1)>REF(MA5,1) AND REF(C,2)>REF(MA5,2) ;

BB3:=REF(AA,1) OR REF(AA,2) OR AA;

KK1:= CROSS(K,J);

预备:=BB1 AND BB3 AND C>MA30 AND NOT(KK1) AND C>=MA4 AND C>=REF(C,1);

QR6:=REF(预备,2) OR REF(预备,1) OR 预备;

QR7:=REF(O,1)>REF(C,1) AND REF(O,2)>REF(C,2);

QR5:=TT>50 AND TT>REF(TT,1)AND REF(TT,1)<REF(TT,2)AND C/REF(C,1)<1.06

AND MACD>0 AND QR6 AND REF(C/REF(C,2),1)<1.05 AND NOT(QR7);

短卖:=EXIST(TT>=100,4) AND (EXIST(J>=100,4) )AND TT<90 AND TT<REF(TT,1);

短卖1:=REF(短卖,1);

短卖2:=EXIST(短卖,5);

SS1:=1110316;

SS3:=DATE<SS1 ;

STICKLINE( QR3 AND NOT(短卖2) AND SS3 ,O+0.02,C-0.02,3,0),COLORFF00FF;

STICKLINE(TT<10 AND J<10 AND NOT(短卖2) AND SS3,O-0.03,C+0.03,1,0),COLOR00FFFF;

STICKLINE(短卖 AND NOT(短卖1) AND SS3,O-0.03,C+0.03,3,0),COLOR00FF00;

DRAWTEXT( TT<10 AND J<10 AND NOT(短卖2) AND SS3,L*0.99,'底'),COLORFF00FF;

DRAWTEXT( QR3 AND NOT(短卖2) AND SS3,L*0.99,'买'),COLOR00FFFF;

DRAWTEXT(短卖 AND NOT(短卖1) AND SS3 ,H+0.02,'短卖'),COLOR00FF00;

  •  标签:  

原文链接:https://www.tdxzb.com/?id=1584

本文版权:如无特别标注,本站文章均为原创。

相关文章

服务热线

18020657357

微信客服

微信客服