文章预览
一般来说,跌多了会涨,涨多了会跌,就跟钟摆的平衡一样。 这个指标正好能清楚的表达涨跌状态,那么用法也就简单多了。 歪虎动平衡 设置了两个动荡边界,5和-5,而在绝大多数的个股中5做边界基本够用,当SPPP上触界限时,是超跌,即使不反弹也会喘口气。反之,超涨时也一样。 {歪虎动平衡} S下:=HHV(MA(HIGH,2),2),COLORGREEN,LINETHICK2; S上:=LLV(MA(HIGH,2),1),COLORRED,LINETHICK2; SPPP:-(S上-S下)/REF(C,1)*100; SPTEM1:=(MIN(O,C)-L)/(H-L)*100; SPTEM2:=(H-MAX(O,C))/(H-L)*100; SPTEM3:=(C-O)/(H-L)*100; SKJ1:=(SPTEM3>49 AND SPTEM1>0.3*SPTEM2) OR SPTEM3>80; SKJ2:=(SPTEM3 < =49 AND SPTEM3>20 AND SPTEM1>SPTEM2); SKJ3:=(SPTEM3 < =20 AND SPTEM3>-20 AND SPTEM1>1.2*SPTEM2); SKJ4:=(SPTEM3-40 AND SPTEM1>2*SPTEM2); SKJ:=(SKJ1 OR SKJ2 OR SKJ3 OR SKJ4) AND (SPPP>2 OR REF(SPPP,1)>2 ); 短买:IF(SUM(SPPP>0,5)=5 AND SUM(SKJ>0,5)=0,5*(SKJ1 OR SKJ2 OR SKJ3 OR SKJ4),5*SKJ),STICK,COLORR
………………………………