老鹰:EMA(LOW,3),COLORFFFFFF,LINETHICK1;
浅水:EMA(LOW,30)*0.849,COLORC08000,DOTLINE;
深水:EMA(LOW,30)*0.624,COLORFF0000,LINETHICK2;
J:=BARSLAST(crOSS(老鹰,浅水));
S:=BARSLAST(CROSS(浅水,老鹰));
N1:=BARSLAST(J)+1;
N2:=BARSLAST(S)+1;
LY:REF(LLV(C,N1),N2),COLOR404080,LINETHICK2;
抓:=CROSS(浅水,老鹰);
DRAWTEXT(抓,老鹰,'抓'),COLOR80FFFF;
DRAWICON(抓,老鹰,35);
浅水鱼:=CROSS(老鹰,浅水);
DRAWTEXT(浅水鱼,老鹰,'浅水鱼'),COLOR80FFFF;
DRAWICON(浅水鱼,老鹰,34);
深水鱼:=CROSS(老鹰,深水);
DRAWTEXT(深水鱼,老鹰,'深水鱼'),COLOR80FFFF;
DRAWICON(深水鱼,老鹰,34);
{ 公式源码 }