日内5分实战模型源码[文华财经公式]
N1:=6;
N2:=21;
N3:=25;
TR := MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR := EMA(TR,N1);
EF:=(HHV(CLOSE,N2)-LLV(CLOSE,N2))/SUM(ABS(CLOSE-REF(CLOSE,1)),N2);
RSV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
BACKGROUNDSTYLE(1);
K:=SMA(RSV,30,1);// www.cxh99.com
D:=SMA(K,30,1);
J:=3*K-2*D;// www.cxh99.com
TR>MAX(ATR*(1.5-(EF-0.5)*(N3/10)),ATR)&&HIGH>REF(HIGH,1)&&CLOSE>OPEN&&TIME>0905&&TIME<1455,BPK;
TR>MAX(ATR*(1.5-(EF-0.5)*(N3/10)),ATR)&&LOW<REF(LOW,1)&&CLOSE<OPEN&&TIME>0905&&TIME<1455,SPK;
EXIST(J<10,5)&&J<D&&COUNT(J>REF(J,1),1)=1,BP;
EXIST(J>90,5)&&J>D&&COUNT(J<REF(J,1),1)=1,SP;
TIME>1455,BP;// www.cxh99.com
TIME>1455,SP;
AUTOFILTER;
源码解析:
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 1145508240 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容