将【突击】和【强势】两个选股公式合并一个选股公式

【突击】选股公式源码:
VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=EMA(VAR300,5);
操盘:=3*VAR300-2*VAR400;
选股:CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O,COLOR770077;
 

=======================

【强势】选股公式源码:

JBS:=C/REF(C,1)>1.05 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
介必升:=FILTER(JBS,28)*100;
VAR1:=IF((C/REF(C,1)>1.05 AND H/C<1.01 AND C>REF(C,1)),91,0);
VAR2:=FILTER((VAR1>90),45) AND FILTER((VAR1>90),35) AND 介必升>0;
强势预警:=VAR2 AND COUNT(VAR2,60)=1;
STICKLINE(强势预警 ,75,66,1,0),COLORRED;
STICKLINE(强势预警 ,66,57,2,0),COLORMAGENTA;
STICKLINE(强势预警 ,57,48,3,0),COLORGREEN;
STICKLINE(强势预警 ,48,39,4,0),COLORBLUE;
STICKLINE(强势预警 ,30,21,6,0),COLORBROWN;
STICKLINE(强势预警 ,39,30,5,0),COLORCYAN;
STICKLINE(强势预警 ,21,12,7,0),COLORYELLOW;
STICKLINE(强势预警 ,12,3,8,0),COLORWHITE;
DRAWTEXT(强势预警,90,'强势预警'),COLORRED;
DRAWICON(强势预警,80,13);

=========================

合并的选股指标:


VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=EMA(VAR300,5);
操盘:=3*VAR300-2*VAR400;
选股:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O,COLOR770077;
JBS:=C/REF(C,1)>1.05 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
介必升:=FILTER(JBS,28)*100;
VAR1:=IF((C/REF(C,1)>1.05 AND H/C<1.01 AND C>REF(C,1)),91,0);
VAR2:=FILTER((VAR1>90),45) AND FILTER((VAR1>90),35) AND 介必升>0;
强势预警:=VAR2 AND COUNT(VAR2,60)=1;
XG:选股 AND 强势预警;



上一篇:明显放量考虑入    下一篇:macd底背离预警




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

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

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

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