【龍宮頂?shù)住?/p>
適合于短線、中線、中長(zhǎng)線以及長(zhǎng)線的操作范圍,通過(guò)頂?shù)椎难信校蹲椒磸椧约安僮鞯淖罴褭C(jī)會(huì),具體的源碼公式如下:
VAR1:=MA(CLOSE,27);
VAR2:=(CLOSE-VAR1)/VAR1*100;
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;
RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
VARA:=MA(VAR2,2);
VARB:=BARSLAST(CROSS(-10,VARA)=1);
VARC:=BARSLAST(CROSS(VARA,10)=1);
VARD:=VARA<-10 AND VARB>3;
VARE:=VARA>10 AND VARC>3;
短線:SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21),COLOR00FF00;
中線:SMA(RSV2,5,1)+2*STD(CLOSE,37),COLORRED;
中長(zhǎng)線:=-100*(HHV(HIGH,40)-CLOSE)/(HHV(HIGH,40)-LLV(LOW,40));
長(zhǎng)線:SMA(RSV3,5,1),COLORYELLOW;
看底:STICKLINE(中線<15,中線,15,6,0),COLORF00FF0;
黃金:STICKLINE(短線<20 AND 中線<20 AND 長(zhǎng)線<20,MAX(長(zhǎng)線,MAX(短線,中線)),20,3,0),COLOR00CCFF;
看頂:STICKLINE(中線>80,80,中線,3,0),COLORFFF000;
DRAWICON(CROSS(長(zhǎng)線,15),中線,1);
DRAWTEXT(LONGCROSS(中線,20,15),20,'反彈');
DRAWTEXT(CROSS(短線,長(zhǎng)線)AND 長(zhǎng)線<18 AND 長(zhǎng)線>REF(長(zhǎng)線,1)OR CROSS(長(zhǎng)線,5),20,'絕佳機(jī)會(huì)'),COLORYELLOW;
底:DRAWTEXT(CROSS(中長(zhǎng)線,-90) AND (長(zhǎng)線<中線 AND 長(zhǎng)線>REF(長(zhǎng)線,1)OR 短線<20 AND 中線<20 AND 長(zhǎng)線 <20),長(zhǎng)線,'底'),COLORFF00FF;
DR:=IF(COUNT(CROSS(中長(zhǎng)線,-90),12)=3,30,5);
KH1:=IF(VARD,VARA,0);
KH2:=REF(KH1,1)<0;
龍宮藏寶:短線<20 AND 中線<20 AND 長(zhǎng)線<20;
天宮藏寶:中線>80 AND 中線>80 AND 長(zhǎng)線>80;
觸底:CROSS(中長(zhǎng)線,-90) AND (長(zhǎng)線<中線 AND 長(zhǎng)線>REF(長(zhǎng)線,1)OR 短線<20 AND 中線<20 AND 長(zhǎng)線 <20);
反彈:LONGCROSS(中線,20,15) OR CROSS(長(zhǎng)線,15);
絕佳機(jī)會(huì):CROSS(短線,長(zhǎng)線)AND 長(zhǎng)線<18 AND 長(zhǎng)線>REF(長(zhǎng)線,1)OR CROSS(長(zhǎng)線,5),COLORYELLOW;
如圖全新好的股價(jià)K線走勢(shì),從最低點(diǎn)15.50元開(kāi)始拉升上漲,到28.65元見(jiàn)頂,在龍宮頂?shù)字笜?biāo)中都有不同顏色區(qū)域的標(biāo)注,投資者可以在底部積極的介入,在頂部進(jìn)行賣(mài)出獲利。
【尖頂針】
通過(guò)不同通道的走勢(shì)變化,提示買(mǎi)賣(mài)點(diǎn)的位置,并進(jìn)行持股分析,具體的源碼公式:
VAR1:=1;
VAR2:=REF(CLOSE-OPEN, 2);
VAR3:=REF(CLOSE, 1);
VAR4:=REF(CLOSE, 2);
VAR5:=REF(CLOSE, 3);
VAR6:=REF(CLOSE, 4);
VAR7:=MAX(MAX(MAX(CLOSE, VAR3), VAR4), VAR5);
VAR8:=MIN(MIN(MIN(CLOSE, VAR3), VAR4), VAR5);
{紅持股:STICKLINE(CLOSE=VAR7 AND (VAR3>=VAR4 OR VAR3>=VAR5) OR VAR3=VAR7 AND (VAR4=VAR8 OR VAR5=VAR8) AND CLOSE>=VAR4 OR VAR4=VAR7 AND VAR5=VAR8 AND CLOSE>=VAR3 OR VAR5=VAR7 AND CLOSE>=VAR3 AND CLOSE>=VAR4, VAR3, CLOSE, 5, 1), COLORRED;}
{品紅變盤(pán):STICKLINE(CLOSE=VAR7 AND VAR3=VAR8, VAR4, CLOSE, 5, 1), COLORMAGENTA;}
{黃下跌:STICKLINE(CLOSE=VAR8 AND (VAR3
{綠買(mǎi):STICKLINE(VAR3=VAR7 AND CLOSE=VAR8, VAR4, CLOSE, 5, 0), COLORGREEN;}
{STICKLINE(VAR3=VAR8 AND CLOSE>=VAR4 OR (VAR4=VAR8 AND VAR3<=VAR5 OR VAR5=VAR8 AND VAR3<=VAR4) AND VAR4
藍(lán)賣(mài):STICKLINE(VAR3=VAR7 AND CLOSE
VAR9:=SAR(5, 1, 5);
VAR10:=EMA(CLOSE, 30);
VAR11:=IF(CLOSE>450, 8, IF(CLOSE>=20 AND CLOSE<150, 0.200, IF(CLOSE<20 AND CLOSE>=10, 0.070, IF(CLOSE<10, 0.030, 0.070))));
{變色龍:STICKLINE(CLOSE>VAR9, VAR10, VAR10+VAR11, 6, 0), COLORMAGENTA;}
STICKLINE(CLOSE
STICKLINE(CROSS(CLOSE, VAR9), VAR10, VAR10-VAR11, 6, 0);
STICKLINE(CROSS(VAR9, CLOSE), VAR10, VAR10+VAR11, 6, 0), COLORFF0066;
STICKLINE(RANGE(DAY, 6, 9) OR RANGE(DAY, 27, 30), VAR10+0.010, VAR10-0.010, 6, 0), COLORYELLOW;
VAR22:=MA(LLV(CLOSE,9)*1.1,14)*1;
VAR33:=MA(HHV(CLOSE,26)*0.9,14)*1;
VAR55:=EMA((HIGH+LOW+CLOSE)/3,3);
VARB:=AMOUNT/(100*VOL);
VARC:=MA(VARB,34);
VARD:=MA(CLOSE,26);
通道: (VARD+VARC)/2, POINTDOT, COLORYELLOW;
阻力: VARD+2*STD(CLOSE,34),LINETHICK2 , COLORGREEN;
支持: (VARD-2*STD(CLOSE,26)),LINETHICK2 , COLORGREEN;
VARE:=MA(WINNER(CLOSE),34)*100;
警: DRAWTEXT(VARE>60 AND HIGH>阻力,HIGH,'★警'), COLORYELLOW;
突破:DRAWTEXT(VARE<15 AND CROSS(VAR55,通道),LOW,'★突破'), COLORAAAAAA;
MA5:MA(C,5);
BB5:=MA5-REF(MA5,1);
MA10:MA(C,10);
BB10:=MA10-REF(MA10,1);
MA20:=EMA(C,20);
A1:=FILTER(MA5>REF(MA5,1)AND MA10>REF(MA10,1)AND MA20>REF(MA20,1)AND MA5
A2:=(2*C+H+L+O)/5;
A3:=LLV(L,5);
A4:=HHV(H,4);
A5:=EMA((A2-A3)/(A4-A3)*100,4);
A6:=EMA(0.667*REF(A5,1)+0.333*A5,2);
A7:=EMA(A2,13)-EMA(A2,34);
A8:=EMA(A7,5); A9:=(-2)*(A7-A8)*3.8;
DRAWTEXT(CROSS(A5,A6)AND A1<40,L-0.08,' 買(mǎi)'),COLORYELLOW;
DRAWTEXT(CROSS(A9,MA(A9,3))AND(A7>A8),H+0.08,' 賣(mài)'),COLORGREEN;
依據(jù)源碼進(jìn)行分析,當(dāng)翻紅的時(shí)候繼續(xù)持股,黃色是下跌的信號(hào),此外還要分析阻力與支撐的變化,具體的實(shí)戰(zhàn)案例,如圖平安銀行的走勢(shì)形態(tài),從8.52元開(kāi)始拉升,在9.80元階段見(jiàn)頂,是賣(mài)出的信號(hào),要及時(shí)的賣(mài)出獲利。
本文通過(guò)兩則實(shí)例講解了股市中捕捉頂?shù)椎凝垖m頂?shù)字笜?biāo)與尖頂針指標(biāo)的主圖公式源碼,如果您還想要了解更加專業(yè)的技術(shù)形態(tài)分析,請(qǐng)點(diǎn)擊梯量柱選股公式,進(jìn)行選股知識(shí)的相關(guān)學(xué)習(xí)和了解。http://m.hbzcqc.cn/xgjq/2015-11-01/23586.html
服務(wù)中心:鄭州市金水區(qū)農(nóng)業(yè)路經(jīng)三路
郵編:450002 網(wǎng)址:m.hbzcqc.cn
銷(xiāo)售熱線:0371-65350319
技術(shù)支持:13333833889