任何技術(shù)指標(biāo)都有缺陷性,不能過于迷信,只能作為參考,需要結(jié)合其他多個(gè)指標(biāo)一起使用,才能獲得滿意的效果。
二、公式名稱:金牛抄底
公式類型;其他類型(可任選)
劃線方法;附圖
應(yīng)用軟件:通達(dá)信
公式如下:(復(fù)制到公式管理器中安裝即可)。
注意把參數(shù)放在參數(shù)欄里
參數(shù) 最小 最大 缺省
MM 2 100 5
BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖離:=MA(BIAS,3);
接近底部:=STICKLINE(乖離<-12 AND 乖離>=-18,6,0,8,0),COLORRED;
底部到了:=IF(接近底部,8,0)COLORYELLOW,LINETHICK2;
抄底二:=IF(乖離<-18,3,0),COLORFF35FF,LINETHICK1;
VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);
VAR2:=DMA(CLOSE,VOL/MA(VOL,31)/31);
VAR3:=(CLOSE-VAR1)/VAR1*100<-10;
VAR4:=(VAR1-VAR2)/VAR2*100<-16;
VAR5:=(CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100<-23;
VAR6:=SMA(MAX(CLOSE-REF(CLOSE,1),0),3,1)
/SMA(ABS(CLOSE-REF(CLOSE,1)),3,1)*100>16;
VAR7:=100*(HHV(HIGH,27)-CLOSE)/(HHV(HIGH,27)-LLV(LOW,27));
VAR8:=INDEXC;
VAR9:=MA(VAR8,6);
VARA:=MA(VAR8,24);
VARB:=MA(VAR8,32);
VARC:=VARB>VAR9*1.11 AND VARA>VAR9*1.095;
SSS:=(VAR3 AND VAR4 AND (OPEN-REF(CLOSE,1))
/REF(CLOSE,1)>-0.07 OR VAR5 AND VAR6 AND
CROSS(VAR7,79) OR VARC AND CLOSE/COST(8)<=0.8)*100;
抄底王:=SSS>0,COLORWHITE,LINETHICK1;
STICKLINE(SSS>0,0,6,6,0),COLORWHITE;
你:=MA(CLOSE,1);
老:=(LOW+HIGH+CLOSE)/3;
板:= MA(老,5);
好:= HHV(板,10);
急賣奇準(zhǔn):=IF(HHV((你<好),5),100,50),COLORBLUE;
短賣奇準(zhǔn):=IF(HHV((你<好),10),100,50),COLORGREEN;
老板:= MA(老,5);
買賣:=LLV(老板,10);
急買奇準(zhǔn):=IF(LLV((你<買賣),5),50,0),COLORRED;
短買奇準(zhǔn):=IF(LLV((你<買賣),10),50,0),COLORWHITE;
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),
ABS((LOW - REF(CLOSE,1)))),5);
HD1:=(HIGH - REF(HIGH,1));
LD1:=(REF(LOW,1) - LOW);
DMP1:=(SUM(IF(((HD1 > 0) AND (HD1 > LD1)),HD1,0),5) );
DMM1:=SUM(IF(((LD1 > 0) AND (LD1 > HD1)),LD1,0),5);
神偷線:=(((DMP1 ) * 100) / TR1);
輔助線:=((DMM1 * 100) / TR1);
動(dòng)向趨勢(shì)線:=(MA(((ABS((輔助線 - 神偷線)) / (輔助線 + 神偷線)) * 100),3));
ADXR1:=((動(dòng)向趨勢(shì)線 + REF(動(dòng)向趨勢(shì)線,3)) / 2);
VAR11:=MA(LOW,1);
VAR12:=MA(HIGH,2);
VAR13:=MA(CLOSE,2);
VAR17:=REF(VAR3,1);
【強(qiáng)弱】:=((SMA(MAX((VAR13 - VAR17),0),5,1) /
SMA(ABS((VAR13 - VAR17)),5,1)) * 100);
沒神的只有不錯(cuò):=( IF(((動(dòng)向趨勢(shì)線 > 88)
AND (神偷線 < 5.8)),80,0)),LINETHICK3,COLORFF00FF;
A0:=HHV(H,9)-LLV(L,9);
A1:=HHV(H,9)-C;
A2:=C-LLV(L,9);
A3:= A1/A0*100-70;
A4:=(C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100;
A5:=(2*C+H+L)/4;
A6:=SMA(A2/A0*100,3,1);
A7:=LLV(L,34);
A8:=SMA(A6,3,1)-SMA(A3,9,1);
A9:=IF(A8>100,A8-100,0);
AA:=HHV(H,34);
AB:=A9*2;
AC:=EMA((A5-A7) / (AA-A7)*100,13);
AD:= EMA(0.667*REF(AC,1)+0.333*AC,2);
AE:=SMA(A4,20,1);
AF:=SMA(AB,2,1)-AB;
B0:=EMA(0.667*REF(AC,1)+0.333*AC,2)-AC;
B1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100- 70;
B2:=SMA(B1,9,1)+100;
B3:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*100;
B4:=SMA(B3,3,1);
B5:=SMA(B4,3,1)+100;
B6:=B5-B2;
B7:=IF(B6>60,B6-60,0);
主力:=EMA((CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2),COLORRED;
散戶:=EMA((CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7),COLORWHITE;
加速探底:=IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))
/MA(C,5)>0.04,40,0.85),COLORYELLOW;
機(jī)會(huì)來臨1:=REF(IF(REF(C,1)/C>0.04 AND (MA(C,10)-MA(C,5))
/MA(C,5)>0.04,40,0),1),COLOR9999FF;
A11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)
-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);
黑馬線:=EMA(A11,5);
A21:=(黑馬線-REF(黑馬線,1))/REF(黑馬線,1)*100;
A31:=EMA(C,5);
A41:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
趨勢(shì)線1:=(MA(3*SMA(A41,6,1)-2*SMA(SMA(A41,5,1),5,1),2));
A51:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;
底部:=(A21<-10 AND A21>REF(A21,1))*25;
機(jī)會(huì)來臨2:=REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)
-MA(C,5))/MA(C,5)>0.04,1,0),1),COLORF00FF0;
N:=4;M:=3;
TR := SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),
ABS(LOW-REF(CLOSE,1))),N);
HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),N);
DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),N);
PDI:= DMP*100/TR;
MDI:= DMM*100/TR;
ADX:= MA(ABS(MDI-PDI)/(MDI+PDI)*100,M);
ADXR:=(ADX+REF(ADX,M))/2;
金牛出世:=IF(ADX>90 AND PDI=0,30,0),COLORYELLOW,LINETHICK2;
買:=IF(CROSS(PDI,MDI) AND (C >1.05*REF(C,1) OR REF(C,1)
>1.05*REF(C,2)) AND (V>2*REF(V,1) OR REF(V,1)>2*REF(V,2))
AND MA(V,5)>MA(V,60) ,20,0),COLORRED,LINETHICK2;
買2:=IF(CROSS(PDI,MDI) AND COUNT(金牛出世,10)>=1,10,0),
COLORFF00FF,LINETHICK3;
(接下篇日志)
聯(lián)系客服