分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]大智慧135均线主图[/B]
软件类型:国产软件 - 选股公式 - 大智慧L2公式
运行环境:Win9X/2000/XP/2003/
软件语言:简体中文
授权方式:共享软件
软件大小:13.0 KB
官方主页:Home Page
更新时间:2011-03-14 05:12:49
软件简介:

大智慧135均线主图
 

源码:
ema13:ema(c,13);
ema34:ema(c,34);
ema55:ema(c,55);
ema120:ema(c,120);
ar1:=ema55>ema34 and ema34>ema13;
ar2:=BARSLAST((c-ema13)/ema13*100<-6);
ar3:=ema13>=ref(ema13,2);
ar4:=count(cross(c,ema13),ar2)=1;
ar5:=ar1 and ar2 and ar3 and ar4;
ar6:=ar5 and filter(ar5,10);
DRAWTEXT(ar6,h+0.1,'▲'),colorred;
DRAWTEXT(ar6,h+0.5,'红杏出墙'),colorred;
stickline(ar6,h,l,0.5,1),colorred;
stickline(ar6,o,c,6,0),linethick2,colorred;
br1:=count(BETWEEN((c-ref(c,1))/ref(c,1)*100,0,5) ,5)=5;
br2:=abs((ema13-ema34)+(ema34-ema55))/c<0.2;
br3:=c>ema55 and (ref(c,1)<ref(ema55,1) or ref(c,2)<ref(ema55,2) or ref(c,3)<ref(ema55,3) or ref(c,4)<ref(ema55,4) or ref(c,5)<ref(ema55,5));
br4:=br1 and br2 and br3;
DRAWTEXT(br4 and filter(br4,10),h+0.1,'▲'),color00C5FF;
DRAWTEXT(br4 and filter(br4,10),h+0.5,'蚂蚁上树'),color00C5FF;
stickline(br4 and filter(br4,10),h,l,0.5,1),color00C5FF;
stickline(br4 and filter(br4,10),o,c,6,1),linethick2,color00C5FF;
cr1:=(c-ref(c,1))/ref(c,1)*100>0.5;
cr2:=v>ma(v,5)*0.6;
cr3:=count(cross(ema13,ema55),3)=1;
cr4:=abs(ema34-ema55)/ema55<0.03;
cr5:=ema55<=ema120 and ema55>=ref(ema55,1);
cr6:=FILTER(cr1 and cr2 and cr3 and cr4 and cr5,2);
stickline(cr6,h,l,0.5,1),colorf00ff0;
stickline(cr6,o,c,6,1),linethick2,colorf00ff0;
DRAWTEXT(cr6,h+0.1,'▲'),colorf00ff0;
DRAWTEXT(cr6,h+0.5,'红衣侠女'),colorf00ff0;
dr1:=ema13>ema34 and ema34<ema55;
dr2:=BARSLAST(cross(c,ema55) );
dr3:=h=hhv(h,dr2);
dr4:=BARSLAST(dr3);
dr5:=count(o>c and c<ref(c,1) and c>ema55 and BETWEEN((c-ema55)/ema55,0,0.02),dr4)=1;
dr6:=c>ref(c,1) ;
dr7:= dr1 and dr5 and dr6 ;
dr8:=dr7 and FILTER(dr7 ,10);
DRAWTEXT(dr8,h+0.1,'▲'),colord6ba63;
DRAWTEXT(dr8,h+0.5,'黑客》》 '),colord6ba63;
stickline(dr8,h,l,0.5,1),colord6ba63;
stickline(dr8,o,c,6,1),linethick2,colord6ba63;
er:=barslast(ref(cross(ema55,ema34),1)) and cross(ema34,ema55);
DRAWTEXT(er,h+0.1,'▲'),color0099ff;
DRAWTEXT(er,h+0.5,'均线互换'),color0099ff;
stickline(er,h,l,0.5,1),color0099ff;
stickline(er,o,c,6,1),linethick2,color0099ff;
fr:=barslast(ref(cross(ema34,ema13),1)) and cross(ema13,ema34);
DRAWTEXT(fr,h+0.1,'▲'),colorwhite;
DRAWTEXT(fr,h+0.5,'梅开二度'),colorwhite;
stickline(fr,h,l,0.5,1),colorwhite;
stickline(fr,o,c,6,1),linethick2,colorwhite;
gr1:=BARSLAST(BETWEEN("bias.bias2"(6,13,24),0,5) );
gr2:=ema13>ema34 and ema34>ema55 and ema13>ref(ema13,1);
gr3:=count("bias.bias2"(6,13,24)>10 and h=hhv(h,gr1),gr1);
gr4:=h=hhv(h,gr1);
gr5:="macd.macd"(12,26,9)<ref("macd.macd"(12,26,9),1);
gr6:=gr2 and gr3 and gr4;
gr7:=gr2 and gr3 and gr4 and gr5;
DRAWTEXT(gr6 and gr7,h+0.2,'见好就收'),color00ff00;
DRAWTEXT(gr6 and gr7,h+0.1,'▼'),color00ff00;
hr2:=ema13>=ref(ema13,3) and ema34>=ref(ema34,1) and ema55>=ref(ema55,1) and cross(c,ema13) and cross(c,ema34) and cross(c,ema55);
DRAWTEXT(hr2 and filter(hr2,10),h+0.1,'▲'),colorFFC8FF;
DRAWTEXT(hr2 and filter(hr2,10),h+0.5,'揭竿而起'),colorFFC8FF;
DRAWTEXT(hr2 and filter(hr2,10),l-0.09,'三线推进'),colorFFC8FF;
stickline(hr2 and filter(hr2,10),h,l,0.5,1),colorFFC8FF;
stickline(hr2 and filter(hr2,10),o,c,6,1),linethick2,colorFFC8FF;
V5:=EMA(CLOSE,1);主线:=EMA(V5,5);
本:=EMA(HHV(主线,5),1);
急进:=EMA(HHV(本,17),1);
稳健:=EMA(HHV(急进,17),2);
投资:EMA(HHV(稳健,17),3),linethick2, COLORwhite;
ma6:=ma(c,6);
ma18:=ma(c,18);
ma55:=ma(c,55);
TY:=C;
A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);
A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);
A:=REF(C,BARSLAST(HD)); B:=REF(C,BARSLAST(LD));
t1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;
t2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
{波峰:IF(t1,A,A),Colorgreen,POINTDOT;}
STICKLINE(t1,A,A,9,0),Colorgreen;
{波谷:IF(t2,B,B),Colorred,POINTDOT;}
STICKLINE(t2,B,B,9,0),Colorred;
买进价:=((c-ref(ma6,1))/6+ma6)*1.004;
买进条件:cross(c,买进价) and 买进价>ref(买进价,1),linethick0;
{白K买进:IF(买进条件,l,h),COLORWHITE,POINTDOT;}
{STICKLINE(买进条件,h,l,0,1),colorwhite,linethick2;
STICKLINE(买进条件,o,c,4,1),colorwhite,linethick2;}
DRAWTEXT(买进条件,l-0.15,'▲'),colorred;
加码价:=((c-ref(ma18,1))/18+ma18)*1.004;
加码条件:=cross(c,加码价) and 加码价>ref(加码价,1);
{黄K加码:IF(加码条件,l,h),coloryellow,POINTDOT;}
{STICKLINE(加码条件,h,l,0,1),coloryellow,linethick2;
STICKLINE(加码条件,o,c,4,1),coloryellow,linethick2;}
DRAWTEXT(加码条件,l-0.15,'▲'),colorFF00FF;

平均成本:=COST(50);
DRAWTEXT(平均成本,平均成本,' ̄ ̄'),ALIGN1,COLORddaa00;


DRAWTEXTREL(10,20,'■板 块:'+BKNAME),linethick1,colormagenta;
DRAWTEXTREL(10,80,'■主题库:'+SELFSTRING('主题投资')),linethick1,COLORYELLOW;



 


[url=http://www.70822.com/soft/sort013/sort03/down-31570.html]大智慧135均线主图[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:46.87500 毫秒