半仓攻击
VARC:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1);
发现异能量:EMA(IF(L = LLV(L,30),VARC,0),3),COLORRED,LINETHICK3;
MA2:=EMA(C,2);
MA5:=EMA(C,5);
MA13:=EMA(C,13);
MA21:=EMA(C,30);
MA34:=EMA(C,55);
YCX:=MA5 =REF(MA5,1);
H1:=MAX(MAX(MA5,MA13),MA21);
L1:=MIN(MIN(MA5,MA13),MA21);
AAA:= H1 C AND O L1 AND YCX AND MA2 REF(MA2,1);
半仓攻击:IF(AAA,88,0),COLORYELLOW,LINETHICK2;
DRAWTEXT(AAA,65,'半仓攻击'),COLORYELLOW;