【资料名称】:《飞龙在天》主图/选股指标 通达信/大智慧 贴图 使用方法介绍【资料描述】:
《飞龙在天》主图/选股指标 通达信/大智慧 贴图 使用方法
很久没发指标了。愧对俺的粉丝们,最近看了《飞龙在天》这个指标,有感而发,特意把主图源码、选股源码送给粉丝们。这里面包含通达信和大智慧软件使用的源码,并附带有截图说明。这里告诉大家一个操作方法,这个很重要,不然你会遇到假飞龙。什么是假飞龙?就是失败的信号!如何判断是真飞龙?注意两点:一是在底部启动的飞龙,底部必须有充沛的机构筹码堆量;二是股价必须站上主图绿色均线。如果站不上绿色均线,就是假飞龙,必须及时止损。在具体操作中,把选出的个股保存为自选股,出现信号不要急于介入,用排序的方法关注涨速率,对于涨速率大于2%以上的,越大越好,重点关注刚站上绿线的个股,特别是多条均线出现“金蜘蛛”形态的更应该及时介入。为了节省大家下载币,将这套源码一并用压缩文件送上。
通达信不带L2数据的主图:
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;
确认线:(EMA(C,62))LINETHICK2,COLORGREEN;
MA5:MA(CLOSE,5),COLORRED,LINETHICK2;
MA20:MA(C,20),COLORYELLOW,LINETHICK2;
获利%:WINNER(CLOSE)*100,NODRAW,COLORWHITE;
止损价:=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;
确认线:(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;
gd55304
【下载地址隐藏】: 点:回复可见地址