联合突袭
[主图]
推荐周期:5分钟
适用周期:全周期
{NUMERIC N1(5,1,999,1),N2(10,1,999,1);}
突破买涨:HHV(REF(HIGH,1),6),COLORRED;
跌破买跌:LLV(REF(LOW,1),6),COLORGREEN;
B:=CROSS(C,突破买涨);
S:=CROSS(跌破买跌,C);
BUY1:=TFILTER(B,S,0);
SEL1:=TFILTER(S,B,0);
DRAWICON(BUY1,LOW,1);
DRAWICON(SEL1,突破买涨,2);
M1:MA(CLOSE,N1),COLORWHITE;
M2:MA(CLOSE,N2),COLORYELLOW;
联合突袭买:EXIST(CROSS(M1,M2),3) AND BUY1 AND C>突破买涨,NODRAW,COLORYELLOW;
联合突袭卖:EXIST(CROSS(M2,M1),3) AND SEL1 AND C<跌破买跌,NODRAW,COLORGREEN;
STICKLINE(联合突袭买,C,O,0.5,0),COLORYELLOW;
STICKLINE(联合突袭买,H,L,0,0),COLORYELLOW;
STICKLINE(联合突袭卖,C,O,0.5,0),COLORGREEN;
STICKLINE(联合突袭卖,H,L,0,0),COLORGREEN;
20225159404818621.png
20225159405454459.png
|