通达信顺势而为,强烈推荐趋势牛图指标,自己原创,多年实战结晶
X:=(3*C+L+O+H)/6;
多空线:(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,COLORBLUE;
多:IF(多空线>REF(多空线,1),多空线,DRAWNULL),COLORYELLOW,LINETHICK2;
VAR2:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);
VAR3:=EMA(CLOSE,3);
VAR4:=(2*CLOSE+LOW+HIGH)/4;
VAR5:=VAR2-VAR3;
风险:EMA(VAR4,45)*1.15,COLORYELLOW;
成本:EMA(VAR4,55),COLORWHITE;
底线:EMA(VAR4,40)*0.85,COLORGREEN;