通达信主力潜伏【选股、副图、说明、贴图】通达信公式

2017-09-06    来源:网络    编辑:翔博软件
{主力潜伏 副图 } 熊五:=MA(CLOSE,5); 牛十:=MA(CLOSE,10); 工作线:=EMA(CLOSE,14); 涨幅%:=(C-REF(C,1))/REF(C,1)*100; 条件6:=熊五牛十 AND 牛十工作线; DIFF:=EMA(CLOSE,12)

{主力潜伏 副图}
熊五:=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;


 {主力潜伏 选股}
熊五:=MA(CLOSE,5);
牛十:=MA(CLOSE,10);
工作线:=EMA(CLOSE,14);
涨幅%:=(C-REF(C,1))/REF(C,1)*100;
条件4:=熊五<牛十 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 条件4 AND 涨幅%>3.6;

1
3
点击进入翔博软件旗下官方微店--指标超市