很久沒(méi)發(fā)指標(biāo)了,。愧對(duì)俺的粉絲們,,最近看了《飛龍?jiān)谔臁愤@個(gè)指標(biāo),,有感而發(fā),,特意把主圖源碼,、選股源碼送給粉絲們,。這里面包含通達(dá)信和大智慧軟件使用的源碼,,并附帶有截圖說(shuō)明,。這里告訴大家一個(gè)操作方法,,這個(gè)很重要,不然你會(huì)遇到假飛龍,。什么是假飛龍,?就是失敗的信號(hào)!如何判斷是真飛龍,?注意兩點(diǎn):一是在底部啟動(dòng)的飛龍,,底部必須有充沛的機(jī)構(gòu)籌碼堆量;二是股價(jià)必須站上主圖綠色均線,。如果站不上綠色均線,,就是假飛龍,必須及時(shí)止損,。在具體操作中,,把選出的個(gè)股保存為自選股,出現(xiàn)信號(hào)不要急于介入,,用排序的方法關(guān)注漲速率,,對(duì)于漲速率大于2%以上的,越大越好,,重點(diǎn)關(guān)注剛站上綠線的個(gè)股,,特別是多條均線出現(xiàn)“金蜘蛛”形態(tài)的更應(yīng)該及時(shí)介入。為了節(jié)省大家下載幣,,將這套源碼一并用壓縮文件送上,。
通達(dá)信不帶L2數(shù)據(jù)的主圖:
ZT:=BARSLAST(ABS(REF(C,1)*1.1-C)<=0.01);
IF(ZT<=10,REF((H+L)/2,ZT),DRAWNULL),LINETHICK2,COLORBLUE;
C6:=REF(C,1);
漲停:=IF((C-C6)*100/C6>=(10-0.01*100/C6),1,0);
STICKLINE(漲停,OPEN,CLOSE,3,1),COLORYELLOW;
STICKLINE(漲停,H,C,0,0),COLORYELLOW;
STICKLINE(漲停,O,L,0,0),COLORYELLOW;
STICKLINE(漲停,OPEN,CLOSE,1,0),COLORYELLOW;
STICKLINE(漲停,H,C,0,0),COLORYELLOW;
STICKLINE(漲停,O,L,0,0),COLORYELLOW;
BB:=CLOSE/REF(C,1)<=0.95;
STICKLINE(BB,O,C,3,0),COLORGREEN;
STICKLINE(BB,O,L,0,0),COLORGREEN;
STICKLINE(BB,H,C,0,0),COLORGREEN;
工作線:(EMA(C,40)),POINTDOT,LINETHICK5,COLORMAGENTA;
確認(rèn)線:(EMA(C,62))LINETHICK2,COLORGREEN;
MA5:MA(CLOSE,5),COLORRED,LINETHICK2;
MA20:MA(C,20),COLORYELLOW,LINETHICK2;
獲利%:WINNER(CLOSE)*100,NODRAW,COLORWHITE;
止損價(jià):=STICKLINE(ISLASTBAR,HHV(C,5)*0.95,HHV(C,5)*0.95,20,2);
Y:=(MA(C,5)-MA(C,30))/MA(C,5)*100;
YY1:=C>MA(C,5) AND OPEN<MA(C,5);
YY3:=C>MA(C,10) AND OPEN<MA(C,10);
YY5:=C>MA(C,30) AND OPEN<MA(C,30);
DRAWTEXT(YY1 AND YY5 AND YY3,LOW-0.2,'←飛龍'),COLORYELLOW;
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),COLORFF00FF,LINETHICK0;
大智慧主圖源碼:
ZT:=BARSLAST(ABS(REF(C,1)*1.1-C)<=0.01);
C6:=REF(C,1);
漲停:=IF((C-C6)*100/C6>=(10-0.01*100/C6),1,0);
STICKLINE(漲停,OPEN,CLOSE,3,1),COLORYELLOW;
STICKLINE(漲停,H,C,0,0),COLORYELLOW;
STICKLINE(漲停,O,L,0,0),COLORYELLOW;
STICKLINE(漲停,OPEN,CLOSE,1,0),COLORYELLOW;
STICKLINE(漲停,H,C,0,0),COLORYELLOW;
STICKLINE(漲停,O,L,0,0),COLORYELLOW;
BB:=CLOSE/REF(C,1)<=0.95;
STICKLINE(BB,O,C,3,0),COLORGREEN;
STICKLINE(BB,O,L,0,0),COLORGREEN;
STICKLINE(BB,H,C,0,0),COLORGREEN;
工作線:(EMA(C,40)),POINTDOT,LINETHICK5,COLORMAGENTA;
確認(rèn)線:(EMA(C,62)),COLORGREEN;
MA5:MA(CLOSE,5),COLORRED,LINETHICK2;
MA20:MA(C,20),COLORYELLOW,LINETHICK2;
Y:=(MA(C,5)-MA(C,30))/MA(C,5)*100;
YY1:=C>MA(C,5) AND OPEN<MA(C,5);
YY3:=C>MA(C,10) AND OPEN<MA(C,10);
YY5:=C>MA(C,30) AND OPEN<MA(C,30);
DRAWTEXT(YY1 AND YY5 AND YY3,LOW-0.2,'←飛龍'),COLORYELLOW;
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),COLORFF00FF,LINETHICK0;
選股公式(通用):
YY1:=C>MA(C,5) AND OPEN<MA(C,5);
YY3:=C>MA(C,10) AND OPEN<MA(C,10);
YY5:=C>MA(C,30) AND OPEN<MA(C,30);
飛龍:YY1 AND YY5 AND YY3,COLORYELLOW;
|