同花顺短线换庄指标公式

[复制链接]
查看144 | 回复0 | 2021-8-20 22:56:46 | 显示全部楼层 |阅读模式

爆发线:=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

202108202157.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则