{想法是要快人一步,雖然回響快即意味著不不變} TJ8:=DEA<0 AND COUNT(TJ1,TJ2+1)>2;{從下跌起點算起,零下金叉三次以上} TJ9:=DEA<0 AND COUNT(TJ8,TJ2)>0,NODRAW;{滿意條件8的周期} TJ10:=TJ7 AND DIF>0 AND DIF>REF(DIF,1) AND DEA<0;{條件6信號增強} TJ11:=TJ9 AND DIF>0 AND DIF>REF(DIF,1) AND DEA<0;{條件8信號增強} TJ12:=DIF>0 AND DEA>0 AND REF(MACD,1) AND REF(MACD,2)<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2);{零上且DIF,DEA反向收斂} STJ1:=DIF>0 AND MACD>0 AND REF(MACD,1)>0 AND REF(MACD,1)>REF(MACD,2) AND MACD<REF(MACD,1);{零上MACD為正時,DIF,DEA產(chǎn)生收斂} STJ2:=BARSLAST(CROSS(DIF,0)),NODRAW;{上漲起點到此刻的周期數(shù)} STJ3:=BARSLAST(CROSS(DIF,DEA));{上一次金叉以來到此刻的周期數(shù)} STJ4:=DIF>0 AND COUNT(STJ1,STJ2)>1 AND COUNT(STJ1,STJ3)>1 AND STJ1;{從上漲起點算起,產(chǎn)生零上收斂兩次以上} STJ5:=DIF>0 AND COUNT(STJ1,STJ2)>2 AND COUNT(STJ1,STJ3)>2 AND STJ1;{從上漲起點算起,產(chǎn)生零上收斂三次以上} STJ6:=DIF>0 AND COUNT(STJ1,STJ2)>3 AND COUNT(STJ1,STJ3)>3 AND STJ1;{從上漲起點算起,產(chǎn)生零上收斂四次以上} STJ7:=DIF>0 AND COUNT(STJ1,STJ2)<2 AND CROSS(DEA,DIF);{從上漲起點算起,零上收斂一次即呈現(xiàn)死叉} STJ8:=COUNT(CROSS(DIF,DEA),STJ2)>0 AND STJ1;{零上金叉后呈現(xiàn)零上收斂} STJ9:=DIF>0 AND REF(CROSS(DIF,DEA),1) AND CROSS(DEA,DIF);{零上金叉后隨即死叉} STJ10:=COUNT(DIF>0 AND (STJ4 OR STJ7 OR STJ8 OR STJ9),STJ2); STJ11:=DIF>0 AND MACD<0 AND REF(MACD,2)<0 AND MACD<REF(MACD,1) AND REF(MACD,1)>REF(MACD,2);{零上二次向下發(fā)散} 減倉提示:STJ10,NODRAW,COLORGREEN; 清倉提示:STJ10>4,NODRAW,COLORYELLOW;
DRAWICON(STJ4,DIF*1.03,2);
DRAWTEXT(漲吧=1, DIF,'¥漲吧'),COLORGREEN; {開量沖板2} {文章來至小牛網(wǎng) 028 588.com} 資金:=C*IF(PERIOD=0 AND MINUTE=31,VOL,0),COLORSTICK;{√} 沖板線:=(CAPITAL/100)*1/20,COLORCYAN,LINETHICK1; {本文來至小牛網(wǎng) 028588.com} 單量必板線:=資金>1000;{分時圖單量超1000萬資金}; 單量沖板線:=資金>沖板線 AND 資金<1000;{分時圖單量超500萬資金}; DRAWICON(單量必板線 AND DYNAINFO(4)/DYNAINFO(3)>1.01,0,12);{1000萬處畫仙人指} {文章來至小牛網(wǎng) 028 588.com} DRAWICON(單量沖板線 AND DYNAINFO(4)/DYNAINFO(3)>1.01,0,23);{500萬處畫十字星,以示警戒};
吸:IF(DIF>-0.4, DIF,DRAWNULL),LINETHICK3,COLORRED; 拉:IF(DIF>0 AND DIF<REF(DIF,1), DIF,DRAWNULL),LINETHICK3,COLORGREEN; 派:IF(DIF<0 AND DIF>REF(DIF,1), DIF,DRAWNULL),LINETHICK3,COLORFF00FF; 落:IF(DIF<0 AND DIF<REF(DIF,1), DIF,DRAWNULL),LINETHICK3,COLORWHITE; |
|