通达信指标整装待发
VV:=EMA(C,5);
EM:=EMA(C,10);
EA:=EMA(C,20);
EB:=EMA(C,30);
EC:=EMA(C,60);
B1:=1000*EM/EC<=1015 AND 1000*EM/EC>=975;
B2:=1000*EA/EC<=1020 AND 1000*EA/EC>=980;
B3:=1000*EB/EC<=1015 AND 1000*EB/EC>=985;
B4:=B1 AND B2 AND B3 AND CROSS(VV,EM);
B5:=B1 AND B2 AND B3 AND CROSS(VV,EB);
Z1:=1000*EM/EB<=1010 AND 1000*EM/EB>=990;
Z2:=1000*EA/EB<=1010 AND 1000*EA/EB>=990;
Z3:=Z1 AND Z2 AND CROSS(VV,EM) OR B4;
Z4:=Z1 AND Z2 AND CROSS(VV,EB) OR B5;
BB:=REF(C,1)<REF(O,1) AND C>O;
BB1:=CROSS(MACD.MACD,0) AND C>MA(C,5);
BB2:=REF(MA(V,3),1)AND C/REF(C,1)>1.03;
Z3 OR Z4 AND BB AND BB1 AND BB2;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
VV赋值:C的5日指数移动平均
EM赋值:C的10日指数移动平均
EA赋值:C的20日指数移动平均
EB赋值:C的30日指数移动平均
EC赋值:C的60日指数移动平均
B1赋值:1000*EM/EC<=1015 AND 1000*EM/EC>=975
B2赋值:1000*EA/EC<=1020 AND 1000*EA/EC>=980
B3赋值:1000*EB/EC<=1015 AND 1000*EB/EC>=985
B4赋值:B1 AND B2 AND B3 AND VV上穿EM
B5赋值:B1 AND B2 AND B3 AND VV上穿EB
Z1赋值:1000*EM/EB<=1010 AND 1000*EM/EB>=990
Z2赋值:1000*EA/EB<=1010 AND 1000*EA/EB>=990
Z3赋值:Z1 AND Z2 AND VV上穿EM OR B4
Z4赋值:Z1 AND Z2 AND VV上穿EB OR B5
BB赋值:1日前的C<1日前的O AND C>O
BB1:=MACD.MACD上穿0 AND C>C的5日简单移动平均
BB2:=REF(V的3日简单移动平均,1)AND C/REF(C,1)>1.03
Z3 OR Z4 AND BB AND BB1 AND BB2
- QQ:88652583
- 邮箱:88652583@qq.com
- 工作时间:8:30-23:00
- 微信:88652583或扫描如下二维码
sitemap站点地图