财源滚滚三十分钟图主图-精品通达信指标公式源码分享

通达信免费指标 12-24 阅读:13 评论:0

image.png

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;

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;


版权声明

本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!

服务热线

18020657357

微信客服

微信客服