通达信主力建仓量指标公式
通达信散筹比例指标公式
通达信主力建仓量指标公式:
X:=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);
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;
通达信精准起爆选股指标公式