源码如下:
{zdDFP做多多方炮} A1:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN;{三日均线描述} A2:=REF(C,2)/REF(O,2)>1.02;{前天的涨幅大于3%} A3:=REF(H,1)/REF(L,1)>1.02;{昨振幅大于3%} A4:=C/REF(C,1)>1.02;{今天涨幅大于3%} A5:=REF(C,1)/REF(C,2)<1.01 AND REF(O,1)/REF(C,2)<1.05;{昨天阴线开盘及收盘价均在前日收盘价1.05以内} 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; AA:=ma(c,10)>ref(ma(c,10),1) AND ma(c,20)>ref(ma(c,20),1) AND ma(c,60)>ref(ma(c,60),1); 做多多头炮XG:A8 AND AA; {设计思路: 1.ma10向上; 2.ma20向上; 3.ma60向上; 4.两阳夹一阴;}{顶尖财经网www.58188.com整理}
|
|
|
|
|