通达信VOLXGQ源码

ZFA:=(CLOSE/REF(CLOSE,1)-1)*100;
 ZFB:=(CLOSE/OPEN-1)*100;
 ZF:MAX(ZFA,ZFB),NODRAW;
 VM5:=MA(VOL,5);
 VM8:=MA(VOL,8);
 VM10:=MA(VOL,10);
 KK:=(VM5-VM10)*100/VM10;
 HSX:=VOL*100/CAPITAL;
 VAR1:=COUNT(KK>50 AND COUNT(HSX>=8,6)>=1,80)>=1;
 VAR2:=IF(BARSLAST(CROSS(VM5,VM8))<=6 AND (VM5>VM8 OR VM5>VM10),BARSLAST(CROSS(VM5,VM8)),IF(VM5>VM8 OR VM5>VM10,BARSLAST(BARSLASTCOUNT(VM5>VM10)=1),10));
 DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
 DEA:=EMA(DIF,9);
 DIFA:=DIF*0.93;
 VBG2:=CROSS(DIF,DEA) AND DIF>0;
 VAA1:=BARSLAST(VBG2);
 VAA2:=BARSLAST(CROSS(DIF,0));
 VAR3:=IF(VAA1>=0,VAA1,VAA2);
 VAR4:=IF(CROSS(DIF,DEA),COUNT(ZF>=6,6),0);
 VAR5:=DYNAINFO(4)>0;
 K6:=(HHV(CLOSE,6)-LLV(CLOSE,6))*100/LLV(CLOSE,6);
 SS:=SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,3,1);
 MA17:=MA(CLOSE,17);
 MA21:=MA(CLOSE,21);
 VAR6:=COUNT(LOW<MA17,10)>=1;
 XG:IF(ZF>=9 AND VAR5 AND FILTER(VAR1 AND (VAR2<=3 AND VAR3<=5 OR (VAR2<=5 AND VAR3<=3)) AND COUNT(ZF>=8,3)>=1 AND K6<25 AND VOL<REF(HHV(VOL,BARSLAST(KK>50)),3) AND KK<40 AND VAR6,6),HHV(ZF,2),0);
 XG2:=IF(VAR5 AND VAR1 AND VAR2<=4 AND (VAR3<=4 AND ZF>=9.5 OR VAR4>=2),HHV(KK,80),0);
 XG3:=IF(VAR5 AND FILTER(VAR1 AND VAR2<=5 AND VAR3<=5 AND ZF>=8 AND K6<25,6),HHV(KK,80),0);
 NN:=IF(BARSLAST(XG>1)<30,BARSLAST(XG>1),0);
 



上一篇:通达信守株待兔源码附图    下一篇:通达信DDXG源码




未来函数检测结果如下:
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图