Y1:=SMA(Abs(L-REF(L,1)),34,1);
Y2:=SMA(MAX(L-REF(L,1),0),34,2);
W:=-(EMA(IF(L<= LLV(L,34),Y1/Y2,-3),9));
A:=-(EMA(IF(L<= LLV(L,8),Y1/Y2,-3),9));
Y3:=SMA(ABS(H-REF(H,1)),34,1);
Y4:=-SMA(MIN(H-REF(H,1),0),34,2);
X:=3-(EMA(IF(H>= HHV(H,34),-Y3/Y4,3),9));
B:=3-(EMA(IF(H>= HHV(H,8),-Y3/Y4,3),9));
DIFL:=EMA(V,12)-EMA(V,26);
DIF:=EMA(C,12)-EMA(C,26);
底BL:=DIFL>REF(DIFL,1) AND DIF< REF(DIF,1);
顶BL:=DIFL< REF(DIFL,1) AND DIF>REF(DIF,1);
红箭头:((W< 0 AND W< REF(W,1)) OR (A< 0 AND A< REF(A,1))) AND 底BL;