每天尾盘买,第二天十点左右卖,一般都有不错的收益,下载来看看!
源码
{一夜情}
DIF := (EMA(CLOSE,12) - EMA(CLOSE,26) );
DEA := EMA(DIF,9);
MACD := 2*(DIF-DEA);
A1:=MACD>REF(MACD,1) AND REF(MACD,1)[
]F:=100*(C-REF(C,1))/REF(C,1);
G1:=IF(C[
]G2:=IF(C[
]A2:=G1=0 AND REF(G1,1)=1 AND G2=0 AND REF(G2,1)=1;
HH:A1 AND A2;