强势股反杀通达信公式 和谐源码分享

VAR1:=MA(CLOSE,5);
VAR2:=MA(CLOSE,24)+2*STD(CLOSE,24);
VAR3:=OPEN<VAR1 AND CLOSE>VAR1 AND OPEN<VAR2 AND CLOSE>VAR2 AND MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND CLOSE/REF(CLOSE,1)>1.03;
VAR4:=HHV(CLOSE,5)/LLV(OPEN,5)<1.05;
VAR5:=COUNT(REF(VAR3,1),5)<1 AND VAR3;
VAR6:=CLOSE>OPEN AND CLOSE/OPEN<1.01;
VAR7:=REF(CLOSE,1)/REF(CLOSE,2)<1.05;
VAR8:=HIGH>=HHV(CLOSE,20);
VAR9:=REF(VAR5,1);
VAR10:=HIGH/LOW>1.03;
VAR11:=HHV(CLOSE,7)/LLV(OPEN,7)<1.15;
VAR12:=VAR6 AND VAR9 AND VAR10 AND VAR11 OR (VAR5 AND VAR8 AND VAR11);
VAR13:=MA(CLOSE,20);
VAR14:=CLOSE>MA(CLOSE,5);
VAR15:=MA(CLOSE,5)>MA(CLOSE,10);
VAR16:=CLOSE>MA(CLOSE,10);
VAR17:=MA(CLOSE,5)>MA(CLOSE,20);
VAR18:=CLOSE>MA(CLOSE,20);
VAR19:=REF(VAR13,1);
VAR20:=VAR13>VAR19;
VAR21:=IF(VAR14,10,0-10)+IF(VAR15,10,0-10)+IF(VAR16,10,0-10)+IF(VAR17,10,0-10)+IF(VAR18,10,0-10)+IF(VAR20,10,0-10);
VAR22:=REF(VAR21,1)<=0 AND VAR21>0;
VAR23:=VAR21>10 AND VAR21>=REF(VAR21,1) AND VAR21>=REF(VAR21,2);
VAR24:=VAR21=60;{}
VAR25:=VAR22 OR VAR23 OR VAR24;
VAR26:=BARSLAST(NOT(VAR24));
XG:FILTER(VAR12,6) AND VAR24=1 AND VAR26=1;
 


来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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