通达信弹指一现主图指标[好查股公式]
2022/11/2 22:21:10
通达信弹指一现主图指标
M10:EMA(CLOSE,20),COLORMAGENTA,LINETHICK1;
M20:MA(CLOSE,20),COLORYELLOW,DOTLINE;
M30:=MA(CLOSE,30),COLORYELLOW;
M55:MA(CLOSE,55),COLORLIGREEN,LINETHICK1;
上:=M10 + 2*STD(C,20),COLORCYAN,LINETHICK1,NODRAW;
下:=M10 - 2*STD(C,20),COLORYELLOW,LINETHICK1,NODRAW;
DRAWKLINE(H,O,L,C);
底:REF(LLV(L,22),1),COLORLIRED,DOTLINE;
顶:REF(HHV(H,5),1),COLORGREEN,DOTLINE;
RSV5:=(CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;
A5:=SMA(RSV5,3,1);
B5:=SMA(A5,3,1);
E5:=3*A5-2*B5;
势:=E5,LINETHICK1,COLORYELLOW;
势1C:=MA(势,3),COLORGREEN,LINETHICK1;
势2C:=EMA(势,3),COLORRED,LINETHICK1;
底9:=REF(LLV(E5,4),1),COLORLIRED,DOTLINE,LINETHICK2;
DRAWTEXT(CROSS(底9,E5) AND E5<48,底,'弹'),COLORYELLOW;
DIFF1 :=EMA(CLOSE,22) - EMA(CLOSE,108),COLORRED,LINETHICK2;
DEA1 :=EMA(DIFF1,11),COLORGREEN,LINETHICK2;
MACD1 :=2*(DIFF1-DEA1),NODRAW;
DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26),COLORRED,LINETHICK1;
DEA :=EMA(DIFF,9),COLORGREEN,LINETHICK1;
MACD :=2*(DIFF-DEA),NODRAW;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1) AND MACD1>=REF(MACD1,1),底,底*0.98,10,0),COLORRED;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1) AND MACD1>=REF(MACD1,1),底,底*0.98,10,0),COLORMAGENTA;
VAR1:=REF(OPEN,1);
VAR2:=EMA(MAX(OPEN-VAR1,0),6)/EMA(ABS(OPEN-VAR1),6)*100,COLORWHITE;
VAR3:=REF(CLOSE,1);
VAR4:=EMA(MAX(CLOSE-VAR3,0),6)/EMA(ABS(CLOSE-VAR3),6)*100,COLORYELLOW;
VAR5:=VAR4-VAR2,COLORWHITE;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
AC:=SMA(RSV,3,1);
BC:=SMA(AC,3,1);
EC:=3*AC-2*BC,COLORWHITE;
KC:=AC,COLORGREEN,LINETHICK2;
DRAWTEXT(VAR4>VAR2 AND VAR5<REF(VAR5,1) AND 势>68 AND DIFF<0 AND DIFF>REF(DIFF,1) AND 势2C>KC,底,'危'),COLORGREEN;
DRAWTEXT(VAR4>VAR2 AND VAR5<REF(VAR5,1) AND 势>68 AND DIFF>0 AND DIFF>REF(DIFF,1) AND 势2C>KC,底,'险'),COLORGREEN;
好查股公式指标