绿箭卖,红箭买
买入卖出请参考大盘,成交量和其它指标。
本指标有未来函数,谨慎参考。
AA:ZIG(3,5)+0.5,COLOR338800,linethick2;
GG:=EMA(AA,2);
BB:ZIG(3,10),COLOREEDD00,linethick2;
HH:=EMA(BB,2);
DRAWTEXT(CROSS(HH,BB),H,'卖'),COLOROOFFOO;
DRAWTEXT(CROSS(BB,HH),L,'买'),COLOROOOOFF;
DRAWICON(CROSS(AA,GG),L,'BUY'),COLOROOFFOO;
DRAWICON(CROSS(GG,AA),H,'SELL'),COLOROOOOFF;
IF(CLOSE OPEN)
RETURN 阳
ELSE IF(CLOSE OPEN)
RETURN 阴
ELSE IF(CLOSE==OPEN AND OPEN =CLOSE[1])
RETURN 阳
ELSE IF(CLOSE==OPEN AND OPEN =CLOSE[1])
RETURN 阴
ELSE
RETURN 阳
SHGZG;
MONEY;
HIGH;
LOW;