通达信【利剑出击竞价】竞价副图指标 引用开盘量比与开盘价 源码
{利剑出击副图指标,需引用开盘量比与开盘价}
DC1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
DC2:=(OPEN-REF(CLOSE,1))/REF(CLOSE,1)*100;DC3:=(2202,0);
DC4:=REF(DC3>=4,1);
DC5:=IF(CODELIKE(4),0,1);
DC6:=REF(CLOSE<30,1) AND REF(CLOSE>2,1);
DC7:=IF(CODELIKE(3),0,1);DC8:=DC2>=0 AND DC2<=6;
DC9:=DYNAINFO(17)>1;
DC10:=BARSCOUNT(CLOSE)>180;
DC11:=DC5 AND DC6 AND DC7 AND DC8 AND DC9 AND DC10;
DC12:=DYNAINFO(15)/OPEN/10000/100;
DC13:=DC1>9.85;
DC14:=COUNT(DC13,5)=1;
DC15:=DC14=1 AND DC13;
DC16:=(OPEN-REF((CLOSE+LOW+OPEN+HIGH)/4,1))/REF((CLOSE+LOW+OPEN+HIGH)/4,1);
DC17:=DYNAINFO(15)/OPEN/FINANCE(46)*100;
利剑出击:DC17>=0.88 AND DC11 AND REF(DC15>0,1) AND DC16>=0.065 AND DC12>=2;
未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
该公式包含未来函数:FINANCE
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
{利剑出击副图指标,需引用开盘量比与开盘价}
DC1赋值:(收盘价-1日前的收盘价)/1日前的收盘价*100
DC2赋值:(开盘价-1日前的收盘价)/1日前的收盘价*100
DC3赋值:(2202,0)
DC4赋值:1日前的DC3>=4
DC5赋值:IF(CODELIKE(4),0,1)
DC6赋值:1日前的收盘价<30 AND 1日前的收盘价>2
DC7赋值:IF(CODELIKE(3),0,1)
DC8赋值:DC2>=0 AND DC2<=6
DC9赋值:DYNAINFO(17)>1
DC10赋值:收盘价的有效数据周期数>180
DC11赋值:DC5 AND DC6 AND DC7 AND DC8 AND DC9 AND DC10
DC12赋值:开盘金额/开盘价/10000/100
DC13赋值:DC1>9.85
DC14赋值:统计5日满足DC13的天数=1
DC15赋值:DC14=1 AND DC13
DC16赋值:(开盘价-REF((收盘价+最低价+开盘价+最高价)/4,1))/REF((收盘价+最低价+开盘价+最高价)/4,1)
DC17赋值:开盘金额/开盘价/FINANCE(46)*100
输出利剑出击:DC17>=0.88 AND DC11 AND 1日前的DC15>0 AND DC16>=0.065 AND DC12>=2
- QQ:88652583
- 邮箱:88652583@qq.com
- 工作时间:8:30-23:00
- 微信:88652583或扫描如下二维码
sitemap站点地图