N:=3;
M:=7;{股票公式-股票指标www.gs6699.com}
A:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N);
疯牛选股指标:=HIGH-REF(HIGH,1);
公式源码:=REF(LOW,1)-LOW;
dddff1:=SUM(IF(疯牛选股指标>0 AND 疯牛选股指标>公式源码,疯牛选股指标,0),N);
dddff2:=SUM(IF(公式源码>0 AND 公式源码>疯牛选股指标,公式源码,0),N);
dddff3:=dddff1*100/A;
dddff4:=dddff2*100/A;
dddff6:=MA((ABS(dddff4-dddff3))/(dddff4+dddff3)*100,M);
dddff5:=(dddff6+REF(dddff6,M))/2;
dddff7:IF(dddff6>90 AND dddff3=0,3,0),LINETHICK2,COLORFFFFFF;