多空动能指标 (源码)
2012-02-12 09:58:00来源:本站整理浏览:396
飞狐多空动能指标公式股票软件源码如下:
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,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
买卖差:=(主买+主卖);
量差:=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;
- 上一篇公式:庄散趋势指标 (源码)
- 下一篇公式:全息四象多空趋势看盘指标 (源码)