源码: EXP1:EXPMA(CLOSE,8); EXP2:EXPMA(CLOSE,13); EXCD:(EXP1-EXP2)*22000,COLORWHITE; {主力仓位} MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),21); HD:=HIGH-REF(HIGH,1); LD:=REF(LOW,1)-LOW; DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),21); DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),21); 主力线:DMP*100/MTR ; 散户线:DMM*100/MTR; 主力仓位:(主力线-散户线)*1000,COLORBLUE; {主力控盘} VAR1:=(CLOSE*2+HIGH+LOW)/4; VAR2:=EMA(VAR1,13)-EMA(VAR1,34); VAR3:=EMA(VAR2,5); ZLQP:(-2)*(VAR2-VAR3)*3.8; ZLKP:2*(VAR2-VAR3)*3.8; 主力控盘:(ZLKP-ZLQP)*10000,COLORRED; 开口程度:ABS(主力仓位-主力控盘),NODRAW;
爱约股解答:
EXP1:EMA(CLOSE,8);
EXP2:EMA(CLOSE,13);
EXCD:(EXP1-EXP2)*22000,COLORWHITE;
{主力仓位}
MTR:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),21);
HD:=HIGH-REF(HIGH,1);
LD:=REF(LOW,1)-LOW;
DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),21);
DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),21);
主力线:DMP*100/MTR ;
散户线:DMM*100/MTR;
主力仓位:(主力线-散户线)*1000,COLORBLUE;
{主力控盘}
VAR1:=(CLOSE*2+HIGH+LOW)/4;
VAR2:=EMA(VAR1,13)-EMA(VAR1,34);
VAR3:=EMA(VAR2,5);
ZLQP:(-2)*(VAR2-VAR3)*3.8;
ZLKP:2*(VAR2-VAR3)*3.8;
主力控盘:(ZLKP-ZLQP)*10000,COLORRED;
开口程度:ABS(主力仓位-主力控盘),LINETHICK0;