通达信盖世破风刀源码
2017-01-05 14:35:00来源:本站整理浏览:124
{公式名称: 盖世破风刀
公式描述:
无参数
公式类型: 条件选股公式-指标条件选股
公式版本: 0
参数精灵:无
用法注释:无
公式源码:}
VAR1:=HHV(HIGH,40);
VAR2:=LLV(LOW,40);
VAR3:=(VAR1-VAR2)/VAR2;
VAR4:=REF(VAR3,1)*100<20 AND COUNT(CLOSE,0)>=40;
VAR5:=COUNT(CROSS(CLOSE,MA(CLOSE,10)) AND CROSS(CLOSE,MA(CLOSE,20)) AND CROSS(CLOSE,MA(CLOSE,30)) AND CROSS(CLOSE,MA(CLOSE,60)),1);
VAR6:=LOW<MA(CLOSE,20) AND LOW<MA(CLOSE,40) AND LOW<MA(CLOSE,60) AND LOW<MA(CLOSE,240) AND CLOSE>MA(CLOSE,20) AND CLOSE>MA(CLOSE,40) AND CLOSE>MA(CLOSE,60);
VAR7:=EMA(CLOSE,12)-EMA(CLOSE,26);
VAR8:=EMA(VAR7,9);
VAR9:=2*(VAR7-VAR8);
VAR10:=BARSLAST(CROSS(VAR8,VAR7));
VAR11:=HHV(HIGH,VAR10+5);
XG:VAR4 AND (VAR5 OR VAR5) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=CLOSE/100 AND VAR9>0 AND CLOSE>REF(VAR11,2) AND VOL/REF(MA(VOL,10),1)>2;
- 上一篇公式:通达信鸳鸯双响刀源码
- 下一篇公式:通达信无未来MACD源码