免费数据的(主力持仓).请老师做个选股公式
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

用于免费数据的(主力持仓).请老师做个从绿变红的选股公式.谢谢!VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));主买:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSEOPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE0,ZL,ZL+DT,1,0),COLORRed;STICKLine(DT<0,ZL+DT,ZL,1,0),COLORGreen;DRAWTEXTABS(0,0,'【主力持仓】'),colorffffff,LINETHICK1;

解答:

 VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

主买:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主卖:=IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2));
主力买入量:=(主买*0.5+主卖*0.1)/2;
ZL:=SUM(主力买入量,60)/SUM(V,60)*100;
DT:=ZL-REF(ZL,1);
 
REF(DT,1)<0 AND DT>0;

选股票看什么指标最好 >股票指标网