X1:=EMA(C,3);
A1:=REF(LOW,0);A2:=REF(LOW,1);
短进:FILTER(A1 AND A2 AND COUNT(X1<REF(X1,1),5)>2 AND X1>REF(X1,1),3);
=============================
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2));
进出量:=买量+卖量;
N:=5;
净流入:=SUM(进出量,N);
流入:=IF(净流入>REF(净流入,1),1,0);
流入1:=IF(进出量>REF(进出量,1),1,0);
买入:=IF(流入+流入1=2,20,-10);
卖出:=IF(流入+流入1=0,-10,20);
B1:=REF(CLOSE,1);
□:B1=CMIN AND (买入+卖出)=40;
==========================
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
MPC1:= EMA(VAR1,2.78)*1.028;
MPC2: =MA(OPEN,3.2)*1.028;
YUWEI:=MA(CLOSE,1)-MA(CLOSE,6);
进:CROSS(YUWEI,-0.0001)AND CROSS(MPC1,MPC2);