买入法指标 主力建仓量 通达信副图指标 源码 贴图
2021-05-16 09:23:00来源:本站整理浏览:1049
买入法指标 主力建仓量 通达信副图指标 源码 贴图
{主力建仓量}
{参数:X 0 10 5}
MTR:= EXPMEMA(MAX(MAX(HIGH - LOW,ABS(HIGH - REF(CLOSE,1))),ABS(REF(CLOSE,1) - LOW)),14);
HD:= HIGH - REF(HIGH,1);
LD:= REF(LOW,1) - LOW;
DMP:= EXPMEMA(IF(HD>0 AND HD>LD,HD,0),14);
DMM:= EXPMEMA(IF(LD>0 AND LD>HD,LD,0),14);
DI:= DMP * 100/MTR;
PY:= COUNT(CLOSE>REF(CLOSE,1),12)/12 * 100;
VOLU:= VOL/PY;
{MA(VOLU,60)*6;}
VOLUME: VOL/DI,VOLSTICK;
MAVOL1: MA(VOLUME,5) ;
MAVOL2: MA(VOLUME,10) ;
MAVOL3: MA(VOLU,60)*X,LINETHICK1;
量动:IF(VOLUME>MAVOL3,VOLUME*1.5,0)COLORYELLOW,LINETHICK2;
VAR1:= EXPMEMA(MAX(MAX(HIGH - LOW,ABS(HIGH - REF(CLOSE,1))),ABS(REF(CLOSE,1) - LOW)),14);{www.gpxiazai.com}
VAR2:= HIGH - REF(HIGH,1);
VAR3:= REF(LOW,1) - LOW;
VAR4:= EXPMEMA(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),14);
VAR5:= EXPMEMA(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),14);
VAR6:= VAR4 * 100/VAR1;
VAR7:= COUNT(CLOSE>REF(CLOSE,1),12)/12 * 100;
VAR8:= VOL/VAR7;
VAR9:= MA(VAR8,60)*5;
VAR10:= VOL/VAR6,VOLSTICK;
VAR11:= MA(VAR10,5) ;
VAR12:= MA(VAR10,10) ;
VAR13:= MA(VAR8,60)*5;
VAR14:=IF(VAR10>VAR13,VAR10*1.5,0);
选:VAR14>0,NODRAW;
STICKLINE(选,1,0,2,0),COLORRED;
DRAWTEXT(选,(量动)*1.4,'--吃'),COLORYELLOW;