飞狐多空动能指标公式股票软件源码如下: VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 主买:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE主卖:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE买卖差:=(主买+主卖); 量差:=SUM(主买-REF(买卖差,1),3)/3; 实量:=主买+量差; {www.gpxiazai.com 股票软件下载网_飞狐股票指标公式} DIL:(MA(实量,6)-MA(实量,18))/20000,COLORWHITE; DEL:MA(DIL,3),COLORGREEN; MDL: 5*(DIL-DEL),linethick0; 多:STICKLINE(MDL>=0,0,MDL,3,0),COLORRED; 空:STICKLINE(MDL<0,0,MDL,3,0),COLORCYAN; 0; |