您的位置:爱股网 > 查股公式 > 通达信倍量量柱主升指标公式源码[查股公式]
股票行情消息数据:

通达信倍量量柱主升指标公式源码[查股公式]

2023/3/10 17:27:22

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);

相关文章列表
天天查股公式列表

股票公式分类

天天查股:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红数据 股票评级报告
广告客服:315126368   843010021
爱股网免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29