欢迎访问牛股网

牛股网

当前位置:牛股网 >股票代码 >

股票代码

把副图指标机构持仓改为选股公式

发布时间:2020-09-10 14:14 作者:牛股网
编写标准:编写方式:网民寻求帮助:把副图机构持仓指标出現持续三天发红改为选股公式,如下图:源代码如:N:=22;JJ:=(HIGHLOWCLOSE)/3;QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);QJ1:=IF(CAPITAL=0,QJ0*...

编写标准:

编写方式 :网民寻求帮助:

把副图机构持仓指标出現持续三天发红改为选股公式,如下图:

源代码如:

N:=22;JJ:=(HIGH LOW CLOSE)/3;QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);

QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));

QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));

QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));

QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));

SVZL:SUM(((QJ1 QJ2)-(QJ3 QJ4))/SUM(VOL,60),0);

CZ:=SVZL-REF(SVZL,1);

STICKLINE(CZ<0,SVZL CZ,SVZL,1,0),COLORFFFF00;

STICKLINE(CZ>0,SVZL,SVZL CZ,1,0),COLORRED;

把副图指标机构持仓改为选股公式

解释以下:

QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));

QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));

QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));

QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));

SVZL:=SUM(((QJ1 QJ2)-(QJ3 QJ4))/SUM(VOL,60),0);

CZ:=SVZL-REF(SVZL,1);

EVERY(CZ>0,3);

标签
广告位-