通达信仿沉思思《七星级特好佳》仿七星级
原贴
可清楚看出上升与下降,不会骑黑马后摔下来,更不会在下降时提前介入
N:=55;
X:=(2*C+H+L+O/2)/4.5;
X2:=(1.97*C+H+L+O/2)/4.5;
多空线:(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6)
+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)
+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+
REF(X,20))/210,COLORWHITE;
B1:=EMA(C,3);
B2:=SMA(SMA(B1,2,1),2,1);
SMA2:=EMA(B2,3);
停损下限:IF(LLV(EMA(B2,8),3)<B2,LLV(EMA(B2,8),3),B2),COLORRED,NODRAW;
IF(B2>SMA2,B2,DRAWNULL),COLORRED,LINETHICK4,NODRAW;
IF(B2<SMA2,B2,DRAWNULL),COLORGREEN,LINETHICK4,NODRAW;
SNAKEA:HHV(EMA(B2,1),1),COLORYELLOW;
HHV(EMA(B2,1),N),COLORYELLOW;
LLV(EMA(B2,1),N),COLORYELLOW;
多空线2:(20*X2+19*REF(X2,1)+18*REF(X2,2)+17*REF(X2,3)+16*REF(X2,4)+15*REF(X2,5)+14*REF(X2,6)
+13*REF(X2,7)+12*REF(X2,8)+11*REF(X2,9)+10*REF(X2,10)+9*REF(X2,11)+8*REF(X2,12)
+7*REF(X2,13)+6*REF(X2,14)+5*REF(X2,15)+4*REF(X2,16)+3*REF(X2,17)+2*REF(X2,18)+
REF(X2,20))/210,COLORWHITE;
IF(B2>SMA2,多空线,DRAWNULL),COLORRED,LINETHICK3;
IF(B2>SMA2,多空线2,DRAWNULL),COLORRED,LINETHICK3;
中期线:EMA(C,60),COLORGREEN,LINETHICK7;
IF(中期线>=REF(中期线,1),中期线,DRAWNULL),COLORLIMAGENTA,LINETHICK7;
AAAA:=MA(C,1);
AAA:=SMA(SMA(SMA(AAAA,2,1),2,1),2,1);
BBB:=MA(AAA,3);
DRAWBAND(AAA,RGB(255,193,193),BBB,RGB(34,139,34));
- 上一篇公式:通达信浮筹筹码副图指标 源码 贴图
- 下一篇公式:通达信飙升指标(副图加密信号少测试了一段不漂移)