X1:=(C+L+H)/3;
BB13:=ATAN(EMA(X1,5)-REF(EMA(X1,5),1))*3.1416*10;
高:=IF(CROSS(C,COSTB(50)) OR (C>COSTB(50) AND BB13>1),H,0);
前高:=REF(高,BARSLAST(高));
介入:=CROSS(C,前高) AND C>=MA(C,42) AND BB13>1;
绝杀:IF(介入>0,5,0),STICK,COLOR0000CC,LINETHICK3;
DRAWTEXT(介入>0,5,'★绝杀'),COLOR0000FF;作者: 陪练专家 时间: 2016-2-27 16:39
通达信的可以使用这个:
X1:=(C+L+H)/3;
BB13:=ATAN(EMA(X1,5)-REF(EMA(X1,5),1))*3.1416*10;
高:=IF(CROSS(C,COST(50)) OR (C>COST(50) AND BB13>1),H,0);
前高:=REF(高,BARSLAST(高));
介入:=CROSS(C,前高) AND C>=MA(C,42) AND BB13>1;
绝杀:IF(介入>0,5,0);