通达信最牛买卖点指标
发布日期: 2025-08-23 | 阅读量:60
VAR1:=(3*CLOSE+LOW+OPEN+HIGH)/6;
A:(20*VAR1+19*REF(VAR1,1)+18*REF(VAR1,2)+17*REF(VAR1,3)+16*REF(VAR1,4)
+15*REF(VAR1,5)+14*REF(VAR1,6)+13*REF(VAR1,7)+12*REF(VAR1,8)+11*REF(VAR1,9)
+10*REF(VAR1,10)+9*REF(VAR1,11)+8*REF(VAR1,12)+7*REF(VAR1,13)+6*REF(VAR1,14)
+5*REF(VAR1,15)+4*REF(VAR1,16)+3*REF(VAR1,17)
+2*REF(VAR1,18)+REF(VAR1,20))/210,COLORRED,LINETHICK2;
B:MA(A,6),COLORGREEN,LINETHICK2;
DRAWBAND(A,RGB(255,0,0),B,RGB(255,255,0));
趋势:EMA(C,55),LINETHICK2;
IF(趋势>=REF(趋势,1),趋势,DRAWNULL),COLORRED,POINTDOT,LINETHICK8;
IF(趋势<REF (趋势,1),趋势,DRAWNULL),COLORFFD700,POINTDOT,LINETHICK8;
M1:EMA(CLOSE,13),COLORBLUE;
M2:EMA(M1,3),COLORBLUE;
M3:EMA(M2,3),COLORBLUE;
M4:EMA(M3,3),COLORBLUE;
M5:=EMA(M4,3),COLORBLUE;
VC:=IF(CLOSE>=M1,10,-10)+IF(CLOSE>=M2,10,-10)+IF(CLOSE>=M3,10,-10)+IF(M1>=M2,10,-10)+ IF(M2>=M3,10,-10);
SN:=IF(M5>REF(M5,1), 1, 0)*IF(M4>REF(M4,1), 1, 0);
AA:=VC-(1-SN)*10;
QRG:=IF(AA<-50,-50,AA),COLORAADDCC;
M1S:IF(M1>REF(M1,1),M1,DRAWNULL),COLORFF00FF ;
M2S:IF(M2>REF(M2,1),M2,DRAWNULL),COLORFF00FF;
M3S:IF(M3>REF(M3,1),M3,DRAWNULL),COLORFF00FF ;
M4S:IF(M4>REF(M4,1),M4,DRAWNULL),COLORFF00FF ;
M5S:IF(M5>REF(M5,1),M5,DRAWNULL),COLORFF00FF ;
乘风破浪:=CROSS(QRG,-10);
DRAWICON(乘风破浪,L,42);
静观其变:=QRG=-50 AND REF(QRG,1)>=-30;
DRAWICON(静观其变,L,43);
