指标编写学习论坛
标题:
超跌启动公式源码
[打印本页]
作者:
金钻指标
时间:
2016-5-28 09:49
标题:
超跌启动公式源码
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
CCI超跌:=CROSS(-200,CCI);
启动量:=CROSS(V,MA(V,5));
VAR2:=BARSLAST(CCI超跌);
VAR4:=COUNT(启动量,VAR2+1)=1;
VAR5:=BARSCOUNT(C)>=120;
AA:=BARSLASTCOUNT(VAR4)=1 AND VAR5;
VAR6:=IF(AA=1 AND C<O,0,1);
VAR7:=IF(AA=1 AND C>O,1,0);
超跌启动:FILTER(COUNT(REF(VAR6,1)=0,2)>0 AND C>O OR VAR7,2);
欢迎光临 指标编写学习论坛 (http://shgm.net/)
Powered by Discuz! X3.2