一,多方炮:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)
CLOSE>OPEN;
二,
A1:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)OPEN;{三日均线描述}
A2:=REF(C,2)/REF(O,2)>1.03;{前天的涨幅大于3%}
A3:=REF(H,1)/REF(L,1)>1.03;{昨振幅大于3%}
A4:=C/REF(C,1)>1.03;{今天涨幅大于3%}
A5:=REF(C,1)/REF(C,2)<1.01 AND REF(O,1)/REF(C,2)<1.01;{昨天阴线开盘及收盘价均在前日收盘价1.01以内}
A6:=REF(C,1)>REF(O,2);{昨天阴线收盘要大于前日开盘价}
A7:=C>REF(O,1);{今日收盘价大于昨日的开盘价}
A8:=A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
多方炮:A8 AND J<65;
三,AA:=(REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)>0.03;
BB:=REF(CLOSE,1)
CC:=(CLOSE-OPEN)>(REF(CLOSE,2)-REF(OPEN,2));
AA AND BB AND CC;