倍量量柱主升通达信公式 副图 源码附图

VAR1:=CLOSE/REF(CLOSE,1)>1.095;
VAR2:=REF(LOW,BArslAST(REF(VAR1,1))+1);
VAR3:=REF(CLOSE*0.97,BARSLAST(REF(VAR1,1))+1);
VAR4:=REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,3)<(-5),1) OR REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,2)<(-5),1);
VAR5:=REF(CLOSE<OPEN,1) AND REF(CLOSE<OPEN,2) AND REF(CLOSE<OPEN,3);
VAR6:=REF(CLOSE<OPEN,1) OR REF(CLOSE<OPEN,2) OR REF(CLOSE>OPEN,1);
VAR7:=VAR5 OR VAR6;
VAR8:=REF(CLOSE,1)<REF(CLOSE,2)*0.96 OR REF(CLOSE,2)<REF(CLOSE,3)*0.96 OR REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,3)<(-10),1) OR REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,2)<(-5),1) OR REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,2)<(-3.5),1);
VAR9:=CLOSE/REF(CLOSE,1)>1.03;
VAR10:=REF(VAR1,6) OR REF(VAR1,7) OR REF(VAR1,8) OR REF(VAR1,9);
VAR11:=REF(CLOSE,2)/REF(CLOSE,4)<1.2;
VAR12:=REF(CLOSE,3)/REF(CLOSE,5)<1.2 AND REF(CLOSE,2)/REF(CLOSE,6)<1.3 AND REF(CLOSE,3)/REF(CLOSE,27)<1.4;
VAR13:=REF(CLOSE,4)/REF(CLOSE,6)<1.2 AND REF(CLOSE,2)/REF(CLOSE,7)<1.3 AND REF(CLOSE,4)/REF(CLOSE,26)<1.4;
VAR14:=REF(CLOSE,5)/REF(CLOSE,7)<1.2 AND REF(CLOSE,2)/REF(CLOSE,8)<1.3 AND REF(CLOSE,5)/REF(CLOSE,25)<1.4;
VAR15:=REF(CLOSE,6)/REF(CLOSE,8)<1.2 AND REF(CLOSE,2)/REF(CLOSE,9)<1.3 AND REF(CLOSE,2)/REF(CLOSE,24)<1.4;
VAR16:=REF(VAR1,2) AND REF(CLOSE,1)<REF(CLOSE,2)*0.97 AND REF(CLOSE,1)>VAR2 AND VAR9 AND CLOSE>OPEN;
VAR17:=REF(VAR1,3) AND REF(CLOSE,2)<REF(CLOSE,BARSLAST(REF(VAR1,1))+1) AND REF(CLOSE,1)<REF(CLOSE*0.95,BARSLAST(REF(VAR1,1))+1) AND VAR7 AND REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,2)<(-5),1) AND VAR9;
VAR18:=REF(VAR1,4) AND VAR8 AND REF(CLOSE,1)<REF(CLOSE,BARSLAST(REF(VAR1,1))+1) AND REF(CLOSE,1)<REF(CLOSE*0.98,BARSLAST(REF(VAR1,1))+1) AND REF(CLOSE,1)>VAR2 AND VAR7 AND VAR9;
VAR19:=REF(VAR1,5) AND VAR8 AND REF(CLOSE,2)<REF(CLOSE,BARSLAST(REF(VAR1,1))+1) AND REF(CLOSE,1)<REF(CLOSE*0.95,BARSLAST(REF(VAR1,1))+1) AND VAR9;
VAR20:=VAR10 AND REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,3)<(-7),1) AND VAR8 AND VAR9;
VAR21:=REF(VAR1,3) AND REF(CLOSE,1)<REF(CLOSE,2)*0.96 AND VAR9 AND OPEN<REF(CLOSE*0.97,BARSLAST(REF(VAR1,1))+1);
VAR22:=REF(COUNT(VAR1,6)=1,1);
VAR23:=VAR16 OR VAR17 OR VAR18 OR VAR19 OR VAR21 AND NOT(LOW=CLOSE) AND OPEN/REF(CLOSE,6)<1.1 AND OPEN/REF(CLOSE,10)<1.2 AND OPEN/REF(CLOSE,20)<1.3 AND OPEN/REF(CLOSE,30)<1.2 AND OPEN/REF(CLOSE,40)<1.3 AND VAR22;
xg:FILTER(VAR23,1) NODRAW;
STICKLINE(XG,0.5,0,0.5,0),COLORRED;
STICKLINE(XG,0.5,0.95,0.5,0),COLORYELLOW;
DRAWICON(XG,1,1);
 


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

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

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

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