朘朘MACD副圖、選股指標,實戰(zhàn)中做小波段,無未來
指標屬抄底類公式,經(jīng)本人實戰(zhàn),在搶反彈做小波段時,效果不錯,如果結合市場熱點,也可以抓到黑馬或者是大牛,是本人在實戰(zhàn)中不斷優(yōu)化的心血之作。請大家下載使用后給評個分、丟一兩個果果。如有心得和收獲盡可交流,或者指標存在的缺陷也敬請指出,以利本指標的進一步的優(yōu)化!
本指標可在15分鐘、30分鐘、60分鐘、日線、周線等多周期的各時段上副圖的顯示,與經(jīng)典的MACD指標有異曲同工之妙處,希望大家在使用過程中不斷體驗。
此外,指標直觀明了,選股和預警(通達信只支持日線級別的預警)條件少、不占電腦資源,成功率高,無未來函數(shù)
源碼
{朘朘量價-通達信副圖指標}
TJ1:=(C-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
TJF:=SMA(TJ1,13,8);
TJFF:=SMA(TJ1,13,4);
DRAWBAND(TJF,RGB(114,3,12),TJFF,RGB(0,128,255));
趨勢頂:85,COLORFFFF00,LINETHICK1;
風險頂:90,COLORFF7F00,LINETHICK3;
零軸:=0,COLORGREEN;
中軸:=45,COLOR555555;
WEN:=3*SMA((CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100,5,1),3,1);
趨勢底:IF(WEN<=10,6,0),LINETHICK1,LINESTICK,COLORGREEN;
HHH:=VOL/CAPITAL*100 AND BARSCOUNT(C)>60;
DZ:((EMA(HHH,15)-EMA(HHH,30))+(EMA(C,15)-EMA(C,30)))/2;
DA:EMA(DZ,12);
MAD:=60*(DZ-DA);
STICKLINE(MAD<REF(MAD,1) AND MAD>0,MAD*5+中軸,中軸,1,1),COLORGREEN;
STICKLINE(MAD<REF(MAD,1) AND MAD<0,MAD*5+中軸,中軸,1,1),COLORFFFF00;
STICKLINE(MAD>REF(MAD,1) AND MAD<0,MAD*5+中軸,中軸,1,1),COLOR0099FF;
STICKLINE(MAD>REF(MAD,1) AND MAD>0,MAD*5+中軸,中軸,1,1),COLORRED;
ZD:(DZ*84+中軸),COLORRED;
(DA*84+中軸),COLORFFFFFF;
IF(DZ<=REF(DZ,1),DZ*84+中軸,DRAWNULL),COLORFFF000;
MD:=(MAD<0 AND MAD>REF(MAD,1) AND REF(MAD,1)<REF(MAD,2));
選股買點:IF(MD=1,15,0),LINESTICK,COLORRED;
{朘朘選股----通達信用}
HHH:=VOL/CAPITAL*100 AND BARSCOUNT(C)>60;
DZ:=((EMA(HHH,15)-EMA(HHH,30))+(EMA(C,15)-EMA(C,30)))/2;
DA:=EMA(DZ,12);
MAD:=60*(DZ-DA);
XGMD:(MAD<0 AND MAD>REF(MAD,1) AND REF(MAD,1)<REF(MAD,2));
|