{ 股票指标 }
VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
注意:50,COLORGREEN;
70,POINTDOT;
清仓:90,COLORRED;
动力线:= Ema((CLOSE-VAR2)/(VAR3-VAR2)*4,4)*20;
stICKLINE(动力线>REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,1),COLORBROWN;
STICKLINE(动力线<=REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,1),COLORGRAY;
底部:4,COLORWHITE;
关注:20,POINTDOT,COLORMAGENTA;
DRAWICON( FILTER(crOSS(动力线,关注*0.93),20),动力线+0.4 ,1);
DRAWICON( FILTER(CROSS(清仓,动力线),20),动力线+0.4,2);
DRAWICON( FILTER(CROSS(动力线,底部),20),动力线+0.4 ,5);
DRAWICON( FILTER(CROSS(清仓,动力线),20),动力线+0.4,6);
N:=34;
M:=4;
主力:EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),M) COLORYELLOW;
散户:EMA(100*(INDEXC-LLV(INDEXL,N))/(HHV(INDEXH,N)-LLV(INDEXL,N)),M) COLORMAGENTA;
AA:=LLV(LOW,34);
BB:=HHV(HIGH,30);
DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);
暗筹:(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25) COLORBLUE;
短线动力:DRAWICON(COUNT(暗筹>88,7)<5 AND EVERY(暗筹>98,2) AND C/O<1.003,暗筹*0.97,5);
标签:动力,20,HHV,公式,DD,LLV,DRAWICON,通达信,源码 From: https://www.cnblogs.com/zhibiao/p/18032138