通达信分时阻击涨停公式
Q:=BETWEEN(C/(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))),1.05,0.95);
Q2:=IF(Q=0,MA(C,BARSCOUNT(C)),(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))));
DRAWICON(CROSS((C/Q2),1.03),0.02,6);
STICKLINE(CROSS((C/Q2),1.03),0.02,0,4,0), , COLORYELLOW;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
Q赋值:BETWEEN(C/(SUM(成交额,C的有效数据周期数)/SUM(成交量*100,C的有效数据周期数)),1.05,0.95)
Q2:=IF(Q=0,MA(C,C的有效数据周期数),(SUM(成交额,C的有效数据周期数)/SUM(成交量*100,C的有效数据周期数)))
DRAWICON(CROSS((C/Q2),1.03),0.02,6)
STICKLINE(CROSS((C/Q2),1.03),0.02,0,4,0), , 画黄色