飞狐DDX-L2公式源码
-
相关简介:飞狐DDX-L2公式 AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 买量:=IF(CLOSEOPEN,AA*(HIGH-LOW),IF(CLOSEOPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)); 卖量:=IF(CLOSEOPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSEOPEN,0-AA*(HIGH-LOW),0-VOL/2)); 大单动向:买量+卖量,linethick0; STICKL
-
文章来源:股海网作者:股海网发布时间:2014-07-06浏览次数:
飞狐DDX-L2公式
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2));
大单动向:买量+卖量,linethick0;
STICKLINE(大单动向<0,0,大单动向,6,0),COLORCYAN;
STICKLINE(大单动向<0,0,大单动向,6,0),COLORCYAN;
STICKLINE(大单动向<0,0,大单动向,6,0),COLORCYAN;
STICKLINE(大单动向<0,0,大单动向,4,0),COLORCYAN;
STICKLINE(大单动向>0,0,大单动向,6,0),COLORRED;
STICKLINE(大单动向>0,0,大单动向,8,0),COLORRED;
STICKLINE(大单动向>0,0,大单动向,6,0),COLORRED;
STICKLINE(大单动向>0,0,大单动向,4,0),COLORRED;
MA1:MA(大单动向,3),ColorFF00FF;
MA2:MA(大单动向,5),COLORGREEN;
MA3:MA(大单动向,10),COLORYELLOW;