通达信主力潜伏预警指标公式

[复制链接]
查看27 | 回复0 | 2022-7-24 07:42:14 | 显示全部楼层 |阅读模式

主力潜伏预警


熊五:=MA(CLOSE,5);
牛十:=MA(CLOSE,10);
工作线:=EMA(CLOSE,14);
涨幅%:=(C-REF(C,1))/REF(C,1)*100;
条件6:=熊五<牛十 AND 牛十<工作线;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);
DEAF:=EMA(DIFF,9);
低位金叉:=CROSS(DIFF,DEAF) AND DIFF<-0.1;
A1:=BARSLAST(REF(CROSS(DIFF,DEAF),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEAF) AND 涨幅%>3.6;
潜伏:=低位金叉 AND 底背离;
DIF1:=EMA(C,13)-EMA(C,21);
DEA:=EMA(DIF1,5);
主力潜伏:=REF(DIF1<0 AND DIF1<DEA,1) AND DIF1<0 AND DIF1>DEA AND 潜伏 AND 条件6 AND 涨幅%>3.6;
IF(主力潜伏>0,50,0),COLORRED,LINETHICK2;
DRAWTEXT(主力潜伏>0,48,'主力潜伏'),COLORRED,LINETHICK1;

1532222813.jpg

1532222813.jpg

回复

使用道具 举报

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

本版积分规则