【角線攻擊】
利用均線以及趨勢線的變化,選擇相應(yīng)的角買點(diǎn)以及角賣點(diǎn),進(jìn)行角線分析,具體的源碼公式如下:
E5:=EMA(C,5);E13:=EMA(C,13);
DRAWBAND(E5,RGB(200,0,0),E13,RGB(0,200,0));
DRAWKLINE(H,O,L,C);
平衡:EMA(C,20)COLORYELLOW;
上軌:平衡 + 2*STD(C,20),COLORMAGENTA;
下軌:平衡 - 2*STD(C,20),COLORGREEN;
上:=EMA(C,3);
中:=EMA(C,5);
下:=EMA(中,5);
QQ:= C<中;
VAR1W:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR2W:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR3W:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
VAR3P:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND IF(CLOSE>REF(CLOSE,1),88,0)>0, 91, 0);
DRAWTEXT(VAR3P>90,LOW*0.92,'追漲'),COLORFF00FF;
SS:=MA((LOW+HIGH+CLOSE)/3,5)>REF(MA((LOW+HIGH+CLOSE)/3,5),1) AND REF(MA((LOW+HIGH+CLOSE)/3,5),1)
SC:=L
MR:=SC AND COUNT(SS,2);
買:=MR AND NOT(REF(MR,1));
DRAWTEXT(買,L*0.95, '必漲'),COLORRED;
V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
V2:=(1-7/100)*(DMA(CLOSE,V1));
V3:=(1+7/100)*(DMA(CLOSE,V1));
V5:=MA((LOW+HIGH+CLOSE)/3,5);
MA1:=MEMA(CLOSE,5);
MA2:=ATAN((MA1/REF(MA1,1)-1)*100)*180/3.1416;
MA3:=IF(MA2>0,MA2,MA2);
MA5:MA(C,5),COLORWHITE;
MA25:=MA(C,25),COLORGREEN,LINETHICK2;
VAR1:=CLOSE=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3))
OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND
REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) AND
C>=REF(C,1) AND C>=REF(C,2);
VAR2:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);
VAR3:=CLOSE=LLV(C,4) AND (REF(C,1)
VAR4:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND
REF(C,1)<=REF(C,3) AND REF(C,2)=REF(C,1);
AA10:=MA(CLOSE,8),COLOR0000FF;
BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);
均線30:=MA(CLOSE,30);
均線89:=MA(CLOSE,89);
均線:=MA(CLOSE,16);
DRAWTEXT((((((OPEN <= 均線) AND ((均線30 - REF(均線30,1)) > 0))
AND (CLOSE > 均線89)) AND (BB10 > 1)) AND ((CLOSE / OPEN) > 1.04)),
LOW,'天馬過橋'),COLORCC99FF;
DRAWTEXT_FIX(1,0.00,0,0,'所屬行業(yè):')COLOR0080FF;
DRAWTEXT_FIX(1,0.06,0,0,HYBLOCK)COLOR0080FF;
DRAWTEXT_FIX(1,0.12,0,0,'所屬地區(qū):')COLOR00FFFF;
DRAWTEXT_FIX(1,0.18,0,0,DYBLOCK)COLOR00FFFF;
角線:=(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926);
角線MA:=MA(角線,5);
ANA:=PLOYLINE(CROSS(角線,角線MA),角線MA),COLORRED;
ANB:=PLOYLINE(CROSS(角線MA,角線),角線MA),COLORFF00FF ;
角買點(diǎn):=CROSS(角線,角線MA) AND ((ANB>REF(ANB,1) AND ANB>ANA AND 角線MA<=0) OR ((角線MA<=-45 OR CROSS(角線MA,-45)) AND (ANB<-60 OR LLV("KDJ.J",3)<=-49) AND ANB>0)),COLORGREEN;
角起漲:=COUNT(CROSS(角線,角線MA),ANAREF(ANB,5));
角賣點(diǎn):=(CROSS(角線MA,角線) AND (ANB>REF(ANB,1) OR ANAANA{AND ANB>0} AND 角線MA>0)*1;
角始跌:=COUNT(CROSS(角線MA,角線),ANAREF(ANB,5));
DRAWTEXT(角買點(diǎn),L,'角買'),COLOR00FFFF;
從源碼中可以看到運(yùn)用上下軌線的平衡判斷股價的運(yùn)行趨勢,之后分析角起漲或者角始跌的信號,進(jìn)行買賣操作,具體的案例如圖平安銀行在日K線中的走勢變化,股價在平衡軌道以及上下軌道之間運(yùn)行,平衡點(diǎn)是在9.17,上軌是9.24,下軌是9.10,并且在股價的運(yùn)行變化中,提示的角買以及角賣的操作信號。
【獲利線】
投資者進(jìn)入股市進(jìn)行投資的目的就是獲利,那么在股票技術(shù)指標(biāo)公式中利用獲利線主圖公式是怎樣分析個股走勢的,下面是具體的源碼公式:
獲利線:EMA(CLOSE,17),LINETHICK2,COLORWHITE;
A:=(3*C+L+O+H)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+
14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/210;
警戒線:EMA(X,13),LINETHICK2,COLORFF00FF;
KKA:=EMA(C,5);
KKB:=EMA(KKA,8);
KKC:=EMA(KKB,13);
操作線:EMA(KKC,50),LINETHICK2, COLORGREEN;
行情線:=EMA(A,1);
STICKLINE(行情線<警戒線,H,L,0,1),COLORGREEN;
STICKLINE(行情線<警戒線,C,O,2,1),COLORGREEN;
STICKLINE(行情線>=警戒線,H,L,0,1),COLORRED;
STICKLINE(行情線>=警戒線,C,O,2,1),COLORRED;
AA:=CLOSE/REF(CLOSE,1)>=1.09;
STICKLINE(AA,OPEN,CLOSE,1,0),COLORYELLOW;
DRAWICON(CROSS(行情線,警戒線),LOW,1);
DRAWICON(CROSS(警戒線,行情線),HIGH,2);
DRAWTEXT(CROSS(行情線,警戒線),LOW,'←買'),COLORYELLOW;
DRAWTEXT(CROSS(警戒線,行情線),HIGH,'←賣'),COLORWHITE;
DRAWTEXT_FIX(1,0,0.1,0,'操作線上有操作,操作線下莫伸手。')COLORGREEN;
DRAWTEXT_FIX(1,0.05,0.15,0,'警戒線上保安全,跌破警戒快點(diǎn)跑。')COLORFF00FF;
DRAWTEXT_FIX(1,0.1,0.2,0,'獲利線上能賺錢,突破獲利快點(diǎn)買。')COLORWHITE;
該指標(biāo)的走勢源碼中分為四條線,獲利線、警戒線、行情線、操作線,其中股價在獲利線上能夠賺錢,突破獲利快點(diǎn)是買入位置,具體的案例如圖:平安銀行從13.38元下跌到9.42元的點(diǎn)位,在高點(diǎn)的位置是賣出的信號,股價走勢中的白色線是獲利線,當(dāng)股價突破獲利線,在獲利線上方運(yùn)行時,是買入獲利的信號。
本文通過兩則案例對比分析了角線攻擊以及獲利線研判個股買賣點(diǎn)的操作方法,如果您還想要了解更加專業(yè)的技術(shù)形態(tài)分析,請點(diǎn)擊:金融術(shù)語大全,了解基本的金融投資知識,掌握專業(yè)的投資技術(shù)。
服務(wù)中心:鄭州市金水區(qū)農(nóng)業(yè)路經(jīng)三路
郵編:450002 網(wǎng)址:datuav.com
銷售熱線:0371-65350319
技術(shù)支持:13333833889