东方财富通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)); 大单动向:买量+卖量,color3d; MA1:MA(大单动向,3),COLORRED; MA2:MA(大单动向,5),COLORGREEN; MA3:MA(大单动向,10),COLORYELLOW; FILLRGN(MA2,MA1,MA2<MA1,rgb(180,50,0),MA2>MA1,rgb(0,50,180)),layer5; FILLRGN(MA3,MA2,MA3<MA2,rgb(200,0,100),MA3>MA2,rgb(0,100,100)),layer5; 1,DOTLINE,colorFF7676,PRECIS0; DRAWTEXTREL(5,10,'东方财富通DDX-L2'),COLORyellow;
以下为飞狐用。。。。
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;
移动端首页 | PC端
© by gszx.com.cn Mobile Web
东方财富通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));
大单动向:买量+卖量,color3d;
MA1:MA(大单动向,3),COLORRED;
MA2:MA(大单动向,5),COLORGREEN;
MA3:MA(大单动向,10),COLORYELLOW;
FILLRGN(MA2,MA1,MA2<MA1,rgb(180,50,0),MA2>MA1,rgb(0,50,180)),layer5;
FILLRGN(MA3,MA2,MA3<MA2,rgb(200,0,100),MA3>MA2,rgb(0,100,100)),layer5;
1,DOTLINE,colorFF7676,PRECIS0;
DRAWTEXTREL(5,10,'东方财富通DDX-L2'),COLORyellow;
以下为飞狐用。。。。
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;