IsMainIndex:=myinput(0);
CTA1:=(HIGH+LOW+CLOSE*2)/4;
CTA3:=EMA(CTA1,10);
CTA4:=STD(CTA1,10);
CTA5:=(CTA1-CTA3)*100/CTA4;
CTA6:=EMA(CTA5,5);
涨:EMA(CTA6,10)+100/2-5,LINETHICK2,COLORFF0080;跌:EMA(涨,4),LINETHICK2,COLORRED;卖出:IF(CROSS(跌,涨)AND跌>160120,160)
9H89寸99998
COLORFFFF00,LINETHICK2;买入:IF(CROSS(涨,跌)AND涨<-60,30,-90)COLORYELLOW,LINETHICK2;
DRAWTEXT(CROSS(跌,涨)AND 跌>160,100,'卖出'),COLORYELLOW:DRAWTEXT(CROSS(涨,跌)AND 涨<-60,40,买入')COLORFFFFFF;YJ1:=MESSAGE(CROSS(跌,涨)AND 跌>160,
'金牛探底寻顶''卖出”1);
YJ2:=MESSAGE(CROSS(涨,跌)AND 涨<-60,'金牛探底寻顶','买入',1);
|