主力筹码攻击副图/选股预警 源码 通达信 贴图
做多能量线:= SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,5,1)-8;
做空能量线:= SMA((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100,2,1);
{红绿灯4.6.20}
绿灯行:=IF(CLOSE SAR(4,2,20),SAR(4,2,20),DRAWNULL);
量比:= DYNAINFO(17) =1.5;
主力筹码ZLCM:=EMA(WINNER(CLOSE)*70,3);{主力筹码估算}
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{散户筹码估算}
ZSHTL:=SHCM/(主力筹码ZLCM+SHCM)*100;{散户套牢筹码系数}
ZZLKP:=主力筹码ZLCM/(主力筹码ZLCM+SHCM)*100;{主力控盘筹码系数}
ZSHJJ:=EMA(ZSHTL,55);{散户警戒}
ZZLJJ:=EMA(ZZLKP,55);{主力警戒}
XG:CROSS(20, 做空能量线)AND 绿灯行 AND MACD.MACD 0 AND MACD.DIF 0 AND ZZLKP 50 AND 量比;