【三打白骨精】公式: 量?jī)r(jià):=(VOL/CLOSE)/3; A2:=SUM((IF(((量?jī)r(jià)>0.20) AND (CLOSE>(REF(CLOSE,1)))),量?jī)r(jià),0)),0); A3:=SUM((IF(((量?jī)r(jià)>0.20) AND (CLOSE<(REF(CLOSE,1)))),量?jī)r(jià),0)),0); A6:=A2+A3;DD1:=1;比:=A2/A3; 中期線:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4)+100; DRAWTEXT((比>1.1 AND 中期線<5),C,'--機(jī)會(huì)'),COLORYELLOW; DRAWTEXT((比<1.1 AND 中期線>98.0),C,'--風(fēng)險(xiǎn)'),COLORYELLOW; H1:=MAX(DYNAINFO(3),DYNAINFO(5)); L1:=MIN(DYNAINFO(3),DYNAINFO(6)); P1:=H1-L1; 阻力:=L1+P1*7/8,COLORGREEN; 支撐:=L1+P1*0.5/8,COLORMAGENTA; DRAWTEXT(LONGCROSS(支撐,C,2),C,'--買(mǎi)入'),COLORFF00FF; DRAWTEXT(LONGCROSS(C,阻力,2),C,'--出貨'),COLOR70DB93; LC:=REF(CLOSE,1); WRSI:=SMA(MAX(CLOSE-LC,0),9,1)/SMA(ABS(CLOSE-LC),9,1)*100; DRAWICON(CROSS(20,WRSI),C,1); DRAWICON(CROSS(WRSI,80),C,2); 均價(jià):=SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK1; TT:=BARSCOUNT(C);均:=MA(C,TT); 上均線:=均+2*STD(C,3);下均線:=均-2*STD(C,3); 時(shí)長(zhǎng):=TIME>93000;漲幅:=C/REF(C,1)>1.02;跌幅:=C/REF(C,1)<0.98; 橫盤(pán):=((HHV(C,TT)-LLV(C,TT))/C)<0.05;YY:=SMA(VOL,30,1); 放量:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30))>0.95; 漲跌幅:=漲幅 OR 跌幅; 橫漲1:=漲跌幅=0 AND 橫盤(pán) AND 放量 AND CROSS(均價(jià),均); DRAWTEXT(FILTER(橫漲1,10),C,'突'),COLORYELLOW; DRAWICON(FILTER(橫漲1,10),均價(jià),1); |
|