爆发线:=80,colorred;
即将爆发线:=65,colormagenta;
警戒线:=50,colorcyan;
低进线:=10,NODRAW;
抄底线:=7.5,colorbrown;
趋势线:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),colorwhite,LINETHICK2;
LC:= REF(C,1);
F1:=ZIG(3,15);程序化指标制作:0,NODRAW;
上行:=IF((F1> REF(F1,1)),105,5),coloryellow,LINETHICK1;
IF(上行>50 AND (C>MA(C,10) OR C>REF(C,2)),趋势线,DRAWNULL),LINETHICK2,colorred;
IF(上行<50 AND (C>MA(C,10) OR C>REF(C,2)),趋势线,DRAWNULL),LINETHICK2,colorred;
IF(上行>50 AND (C<MA(C,10) OR C<REF(C,2)),趋势线,DRAWNULL),LINETHICK2,colorgreen;
IF(上行<50 AND (C<MA(C,10) OR C<REF(C,2)),趋势线,DRAWNULL),LINETHICK2,colorgreen;
DRAWTEXT(CROSS(趋势线,即将爆发线) AND 上行 > 50,趋势线,'★拉涨') ,colormagenta;
DRAWTEXT(CROSS(趋势线,抄底线) AND 上行 < 50,趋势线,'★抄底') ,colorwhite;
DRAWTEXT(CROSS(趋势线,警戒线) AND 上行 < 50,趋势线,'★关注') ,colorwhite;
DRAWTEXT(CROSS(趋势线,警戒线) AND 上行 > 50,趋势线,'★加仓'),colorcyan;
DRAWTEXT(CROSS(爆发线,趋势线),爆发线,'★换庄') ,colorwhite;
DRAWTEXT(((CROSS(上行,低进线)AND(趋势线 <= 10)) OR CROSS(趋势线,低进线)) AND 上行 > 50,趋势线,'★低进') ,coloryellow;
DRAWTEXT(CROSS(爆发线,上行),趋势线,'★高出') ,colorred;
202108202157.jpg
|