顶底雷达源码: 买入: zig(3,10)>ref(zig(3,10),1) and ref(zig(3,10),1)<ref(zig(3,10),2), colorred; 卖出: zig(3,10)<ref(zig(3,10),1) and ref(zig(3,10),1)>ref(zig(3,10),2),colorf0f000; 很牛很好用的大智慧公式源码奉献给大家,共享(方法是只要你复制以下公式到大智慧公式编辑器即可): 专吸庄血(公式源码) n:=5; var1:4*sma((close-llv(low,n))/(hhv(high,n)-llv(low,n))*100,5,1)- 3*sma(sma((close-llv(low,n))/(hhv(high,n)-llv(low,n))*100,5,1),3.2,1),coloryellow,linethick0; var2:8,colorgreen,linethick0; 上升在即: if(cross(var1,var2),80,0),stick,color0000cc,linethick2; 专吸庄血: if(var1<=8,25,0),stick,colorwhite,linethick2; drawtext(cross(var1,var2),80,'准备买入'),color00ffff; varo5:=llv(low,27); varo6:=hhv(high,34); varo7:=ema((close-varo5)/(varo6-varo5)*4,4)*25; 建仓区: if((varo7<10),80,100) ,color00ccff,linethick1; 0,linethick2 ,colorffcc00; 二、资金判牛(公式源码) 做空能量线: sma((hhv(high,36)-close)/(hhv(high,36)-llv(low,36))*100,2,1),colorgreen,linethick3; 做多能量线: sma((close-llv(low,9))/(hhv(high,9)-llv(low,9))*100,5,1)-8,colorred,linethick3; 短线通道:15,colorgreen; 强弱分界:45,color00ffff; 短线顶部:85,colorff00ff; fillrgn(做多能量线,短线通道,做多能量线<=短线通道),colorred; fillrgn(做空能量线,短线顶部,做空能量线>=短线顶部),colorred; fillrgn(做空能量线,短线通道,做空能量线<=短线通道),colorblue; fillrgn(做多能量线,短线顶部,做多能量线>=短线顶部),colorblue; 3、主力进场(公式源码) var1:=ref((low+open+close+high)/4,1); var2:=sma(abs(low-var1),13,1)/sma(max(low-var1,0),10,1); var3:=ema(var2,10); var4:=llv(low,33); var5:=ema(if(low<=var4,var3,0),3); 主力进场:if(var5>ref(var5,1),var5,0),linethick0,colorred; stickline(var5>ref(var5,1),0,var5,6,0 ),colorred; stickline(var5>ref(var5,1),0,var5,5,0 ),color000055; stickline(var5>ref(var5,1),0,var5,4,0 ),color000077; stickline(var5>ref(var5,1),0,var5,3.1,0 ),color000099; stickline(var5>ref(var5,1),0,var5,2.5,0 ),color0000bb; stickline(var5>ref(var5,1),0,var5,1.5,0 ),color0000dd; stickline(var5>ref(var5,1),0,var5,1,0 ),color0000ff; 洗盘:if(var5<ref(var5,1),var5,0),linethick0,colorgreen; stickline(var5<ref(var5,1),0,var5,6,0),colorgreen; stickline(var5<ref(var5,1),0,var5,5,0),color005500; stickline(var5<ref(var5,1),0,var5,4,0),color007700; stickline(var5<ref(var5,1),0,var5,3,0),color009900; stickline(var5<ref(var5,1),0,var5,2.5,0),color00bb00; stickline(var5<ref(var5,1),0,var5,1.5,0),color00dd00; stickline(var5<ref(var5,1),0,var5,1,0),color00ff00; var12:=sma(abs(var1-h),13,1)/sma(max(var1-h,0),10,1); var13:=ema(var12,10); var14:=hhv(h,33); var15:=ema(if(h>=var14,var13,0),3); 冲顶:if(var15>ref(var15,1),var15,0),linethick0,colorff00ff; stickline(var15>ref(var15,1),0,var15,6,0),colorff00ff; stickline(var15>ref(var15,1),0,var15,5,0 ),color550055; stickline(var15>ref(var15,1),0,var15,4,0 ),color770077; stickline(var15>ref(var15,1),0,var15,3,0 ),color990099; stickline(var15>ref(var15,1),0,var15,2.5,0 ),colorbb00bb; stickline(var15>ref(var15,1),0,var15,1.5,0 ),colordd00dd; stickline(var15>ref(var15,1),0,var15,1,0 ),colorff00ff; 主力出场:if(var15<ref(var15,1),var15,0),linethick0,coloryellow; stickline(var15<ref(var15,1),0,var15,6,0 ),coloryellow; stickline(var15<ref(var15,1),0,var15,5,0),color005555; stickline(var15<ref(var15,1),0,var15,4,0),color007777; stickline(var15<ref(var5,1),0,var15,3,0),color009999; stickline(var15<ref(var15,1),0,var15,2.5,0),color00bbbb; stickline(var15<ref(var15,1),0,var15,1.5,0),color00dddd; stickline(var15<ref(var15,1),0,var15,1,0),color00ffff; a1:=ref(close,2); a2:=sma(max(close-a1,0),7,1)/sma(abs(close-a1),7,1)*100; 波段介入点:if(a2<19,19,0),colorwhite; 4、新vol(公式源码) 当日:vol; 量5:ma(vol,5),colorred; 量10:ma(vol,10); var1:=vol/((high-low)*2-abs(close-open)); 主动买盘:if(close>open,var1*(high-low),if(close<open,var1*((high-open)+(close-low)),vol/2)),color0000ff,stick; 主动卖盘:if(close>open,var1*((high-close)+(open-low)),if(close<open,var1*(high-low),vol/2)),color00e521,stick; 买卖盘比:主动买盘/主动卖盘; wj:=(high+low+close)/3; vd1:=if(high=low,1,high-max(open,close)); vd2:=if(high=low,1,max(close,open)-wj); vd3:=if(high=low,1,min(open,close)-low); vd4:=if(high=low,1,wj-min(close,open)); vd5:=vol/if(high=low,4,high-low); vd6:=(vd1*vd5); vd7:=(vd2*vd5); vd8:=(vd3*vd5); vd9:=(vd4*vd5); 买入量:=(vd9+vd8); 卖出量:=(vd6+vd7); 买入资金:=买入量*close/100; 卖出资金:=卖出量*close/100; 资金进出:=买入资金-卖出资金; 买卖资金比:=买入资金/卖出资金; 挂单买盘:=ma(主动买盘,3); 挂单卖盘:=(ma(主动卖盘,3)); stickline((主动买盘 > 0),0,主动买盘,8,0),color0000ff; stickline((主动买盘 > 0),0,主动买盘,7.8,0),color0018ff; stickline((主动买盘 > 0),0,主动买盘,7.5,0),color001bff; stickline((主动买盘 > 0),0,主动买盘,7.3,0),color0022ff; stickline((主动买盘 > 0),0,主动买盘,7,0),color0035ff; stickline((主动买盘 > 0),0,主动买盘,6.8,0),color0041ff; stickline((主动买盘 > 0),0,主动买盘,6.5,0),color0050ff; stickline((主动买盘> 0),0,主动买盘,6.3,0),color0059ff; stickline((主动买盘 > 0),0,主动买盘,6,0),color0062ff; stickline((主动买盘 > 0),0,主动买盘,5.7,0),color006cff; stickline((主动买盘> 0),0,主动买盘,5.5,0),color007aff; stickline((主动买盘 > 0),0,主动买盘,5.3,0),color0080ff; stickline((主动买盘 > 0),0,主动买盘,5,0),color0089ff; stickline((主动买盘 > 0),0,主动买盘,4.5,0),color0095ff; stickline((主动买盘 > 0),0,主动买盘,3.5,0),color009cff; stickline((主动买盘 > 0),0,主动买盘,3,0),color00abff; stickline((主动买盘> 0),0,主动买盘,2.5,0),color00c0ff; stickline((主动买盘 > 0),0,主动买盘,1.5,0),color00d1ff; stickline((主动买盘> 0),0,主动买盘,1,0),color00eaff; stickline((主动买盘 > 0),0,主动买盘,0.7,0),color00ffff; stickline((主动卖盘 > 0),0,主动卖盘,8,0),color006800; stickline((主动卖盘 > 0),0,主动卖盘,7.8,0),color007f00; stickline((主动卖盘 > 0),0,主动卖盘,7,5),color008b00; stickline((主动卖盘 > 0),0,主动卖盘,7,3),color008b00; stickline((主动卖盘> 0),0,主动卖盘,7,0),color009000; stickline((主动卖盘 > 0),0,主动卖盘,6.8,0),color009500; stickline((主动卖盘> 0),0,主动卖盘,6.5,0),color009c00; stickline((主动卖盘> 0),0,主动卖盘,6.3,0),color00a300; stickline((主动卖盘 > 0),0,主动卖盘,6,0),color00ab00; stickline((主动卖盘 > 0),0,主动卖盘,5.7,0),color00af00; stickline((主动卖盘 > 0),0,主动卖盘,5.5,0),color00b900; stickline((主动卖盘 > 0),0,主动卖盘,5.3,0),color00c000; stickline((主动卖盘 > 0),0,主动卖盘,5,0),color00c100; stickline((主动卖盘 > 0),0,主动卖盘,4.5,0),color00ca00; stickline((主动卖盘> 0),0,主动卖盘,3.5,0),color00d300; stickline((主动卖盘> 0),0,主动卖盘,3,0),color00db00; stickline((主动卖盘> 0),0,主动卖盘,2.5,0),color00ea00; stickline((主动卖盘> 0),0,主动卖盘,1.5,0),color00ff00; drawtextabs(1,1,'【买卖盘解量(手)】'); drawtextabs(1,30,'┃当日买卖量='+numtostr(vol)),colorff00ff; drawtextabs(1,60,'┃当日主动买量='+numtostr(主动买盘)),color00ff00; drawtextabs(1,90,'┃当日主动卖量='+numtostr(主动卖盘)),coloryellow; drawtextabs(1,120,'┃当日买卖盘比='+numtostr(买卖盘比)),colorff00ff; drawtextabs(250,30,'┃买入资金累计万元: '+numtostr(买入资金)),colorred,linethick1; drawtextabs(250,60,'┃卖出资金累计万元: '+numtostr(卖出资金)),color00ff00,linethick1; drawtextabs(250,90,'┃资金进出万元: '+numtostr(资金进出)),coloryellow,linethick1; drawtextabs(250,120,'┃买卖资金比: '+numtostr(买卖资金比)),coloryellow,linethick1; drawtextabs(1,150,'┃当日挂单买盘: '+numtostr(挂单买盘)),colorred,linethick1; drawtextabs(250,500,'┃当日挂单卖盘: '+numtostr(挂单卖盘)),color00ff00,linethick1; 5、猎庄端窝(公式源码) drawtextrel(10,900,'..'),linethick1,color00eeff; drawgbklast(1,strip(rgb(4,1,28),rgb(4,1,35),0)); n:=5; n1:=21; var1:=4*sma((close-llv(low,n))/(hhv(high,n)-llv(low,n))*100,5,1)-3*sma(sma((close-llv(low,n))/(hhv(high,n)-llv(low,n))*100,5,1),3.2,1); 小试牛刀: if(cross(var1,8),8,0),stick,colorred; drawicon(小试牛刀>0,8,7); 发现庄迹: if(var1<=8,15,0),stick,colorcyan,linethick2; varo5:=llv(low,27); varo6:=hhv(high,34); varo7:=ema((close-varo5)/(varo6-varo5)*4,4)*25; 建仓区: if((varo7<10),100,118) ,color00ccff,linethick1; cd1:=(hhv(h,9)-c)/(hhv(h,9)-llv(l,9))-0.7; cd2:=(c-llv(l,9))/(hhv(h,9)-llv(l,9)); cd3:=sma(sma(cd2,3,1),3,1); cd4:=(cd3-sma(cd1,9,1))-0.5; cd5:=if(cd4>0.00,cd4,0.00); cd6:=ref(cd5,1); var81:=ma(c,9); 空头1:=if(cd6-cd5,cd6,cd5); var1a:=(hhv(high,9)-close)/(hhv(high,9)-llv(low,9))*100-70; var2a:=sma(var1a,9,1)+100; var3a:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100; var4a:=sma(var3a,3,1); var5a:=sma(var4a,3,1)+100; var6a:=var5a-var2a; 端庄窝:if(var6a>n1,var6a-n1,0),colorred; 果断出击:if(cross(端庄窝,0.01),18,0),stick,color0000cc,linethick2; drawicon(果断出击>0,18,7); xg:=cross(端庄窝,0.01); 选底:if(xg=1,16,0),stick,linethick3; lc:=ref(close,1); rsi:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100; e:=cross(83,rsi); 减仓空仓:10*(cross(cd6,cd5) or e),colorgreen; drawicon(减仓空仓>0,113,8); stickline(ref(端庄窝,1)<端庄窝,端庄窝,ref(端庄窝,1),7,0),colorred; stickline(ref(端庄窝,1)>端庄窝,端庄窝,ref(端庄窝,1),7,0),color00ff00; 红持绿空:0,colorgreen; 6、买点决策(公式源码) input:n(60,1,111); a1:=indexc; a2:=indexo; a3:=dispstatus=1; a4:=barslast(a3); a5:=(ref(a1,a4))/(ref(close,a4)); a6:=if(a3,close,(ref(close,a4))); a7:=if(a3,(a1/a5),(ref((a1/a5),a4))); a8:=a6-a7; a9:=a2/a5; a10:=indexh/a5; a11:=indexl/a5; a12:=(close>open)or((close=open)and(close>(ref(close,1)))); a13:=(a1>a2)or((a1=a2)and(a1>(ref(a1,1)))); 大盘:stickline(a13,(a10 +a8),(a11 +a8),0,0),colorred; stickline(a13,((a1/a5) +a8),(a9 +a8),5,0),colorred; stickline(not(a13),(a11+a8),(a10+a8),0,0),colorgreen; stickline(not(a13),((a1/a5)+a8),(a9+a8),5,0),colorgreen; partline(close,close>(a1/a5),rgb(255,0,0)),linethick2,colorred; partline(close,close>(a1/a5)and(close<(ref(close,1))),rgb(255,0,255)),linethick2,colormagenta; partline(close,(close>(a1/a5)and((ma(close,30))>(ref((ma(close,30)),1))))and((ma((a1/a5),30))<(ref((ma((a1/a5),30)),1))),rgb(255,255,0)),linethick2,coloryellow; stickline((((ref(a1,1))<(ref(a2,1))) and(a1>(ref(a1,1)))),((a1/a5)+a8),close,1,1),color606060; stickline((((ref(a1,1))>(ref(a2,1)))and(a1<(ref(a1,1)))),((a1/a5)+a8),close,1,1),color606060; a14:=ma(close,10); a15:=(((ema(close,5))*7)+((ema(close,10))* 3))/10; a16:=((sma((max((close-(ref(close,1))),0)),6,1))/(sma(abs((close-(ref(close,1)))),6,1)))* 100; drawtext(((date >700101)and(cross(84,a16))),high,'▼'),colorgreen; a17:=(((2*close)+high)+low)/4; a18:=llv(low,34); a19:=hhv(high,34); a20:=ema((((a17-a18)/(a19-a18))*100),6); a21:=ema(((0.667*(ref(a20,1)))+(0.333*a20)),4); a22:=llv(low,120); a23:=hhv(high,120); a24:=a23-a22; a25:=hhvbars(close,n); ref(close,a25),pointdot,colorff0000; 突破:filter(((cross(close,((ref(ref(close,a25),1))*1.001)))and(ref((a25>= 5),1))),10),pointdot,linethick0; stickline(突破,(close*0.99),close,5,0),colorf600a9; drawtext((((sum((突破>0),0))=1)and 突破),(close*0.99),'最佳买点'),colorwhite; drawtext((((sum((突破>0),0))=2)and 突破),(close*0.99),'次佳买点'),colorwhite; drawtext((((sum((突破>0),0))=3)and 突破),(close*0.99),'理想买点'),colorwhite; drawtext((((sum((突破> 0),0))=4)and 突破),(close * 0.99),'及格买点'),colorwhite; drawtext((((sum((突破> 0),0))>=5) and 突破),(close * 0.99),'突破'),colorwhite; a26:=(close<(a1/a5))and(cross(80,a16)); drawicon(a26,close,8); drawicon((close>(a1/a5)and(cross(a16,17))),close,7); drawicon((cross(a16,10)),close,7); drawicon((cross(90,a16)),close,8); drawicon((cross(close,(a1/a5))),close,11); drawtext(((if(((((((count((close<(ref(close,1))),8))/8)>0.3) and(count((a20>a21),3)))and((ref(low,1))=a22))and(close>open)),1,0))and(cross(a16,15))),low,'★小底'),colorff8080; a27:=dynainfo(3); a28:=sma(close,2,1); a29:=sma(close,6,1); a30:=2*(a28-a29); drawtextabs(10,200,'■所属板块:'+bkname),coloryellow,linethick1; 流通盘大小:=finance2(37)/1000000*100; drawtextabs(280,220,'流通盘大小:'+numtostrn(流通盘大小,2)+'亿'),linethick1,coloryellow; 每股收益:=finance2(3); 每股市盈率:=dynainfo(39); 每股净资产:=finance2(4); 销售毛利率:=finance2(12); 主营收入同比:=finance2(11); 净利润同比增长:=finance2(10); drawtextabs(170,220,'每股收益:'+numtostrn(每股收益,2)+'元'),color00ff00; drawtextabs(170,240,'每股市盈率:'+numtostrn(每股市盈率,1)+'倍'),colorred; drawtextabs(170,260,'每股净资产:'+numtostrn(每股净资产,2)+'元'),colorred; drawtextabs(20,220,'销售毛利率:'+numtostrn(销售毛利率,2)+'%'),linethick1,color00ff00; drawtextabs(20,240,'主营收入同比增长:'+numtostrn(主营收入同比,2)+'%'),linethick1,color00ff00; drawtextabs(20,260,'净利润同比增长:'+numtostrn(净利润同比增长,2)+'%'),linethick1,color00ff00; 7、数据投机(指标源码) {计算股价} input:股数(0,0,10000000),买入价(0,0,500),预期涨幅(0,0,100),服务费(0,0,100){根据各证券所收费不同,自行调节}; 预卖价位:=买入价*(预期涨幅*0.01+1); 买入收费:=买入价*股数*0.0018{各证券所收费不同,自行调节}+服务费; 卖出收费:=预卖价位*股数*0.0028{各证券所收费不同,自行调节}+服务费; 预期盈利:=预卖价位*股数-买入价*股数-买入收费-卖出收费; drawtextrel(320,850,'¤预卖价位: '+numtostrn(预卖价位,2)+' 元'),linethick5,colorafafaf; drawtextrel(540,850,'¤预期盈利: '+numtostrn(预期盈利,2)+' 元'),linethick5,colorafafaf; {庄家实力} cyc0:=maxcyc; 庄家实力:c/cyc0,precis2,linethick0,colorc68cff; drawtextrel(100,70,'☆庄家实力: '+numtostrn(庄家实力,2)+' 级'),linethick5,colorc68cff; {精确风险系数} rsv:=(c-llv(l,15))/(hhv(h,15)-llv(l,15))*100; kk:=sma(rsv,10,1); dd:=sma(kk,5,1); zlcm:=intpart(sma(rsv,10,1)); shcm:=intpart(sma(kk,5,1)); 风险系数:zlcm+shcm-70,precis0,linethick0,color66ffff; drawtextrel(320,70,'※风险系数: '+numtostrn(风险系数,2)+' 级'),linethick5,color66ffff; {历史价位系数} 历史价位:(c-llv(l,0))/(hhv(h,0)-llv(l,0))*100,precis0,linethick0,colorffbb77; drawtextrel(755,70,'⊙历史价位: '+numtostrn(历史价位,2)+' %'),linethick5,colorffbb77; {量能饱和度} 饱和量度:if((amount/c)/(hhv(amount,20)/hhv(c,20))*100>100,100,(amount/c)/(hhv(amount,20)/hhv(c,20))*100),precis0,linethick0,colore07eaa; drawtextrel(60,270,'§饱和量度: '+numtostrn(饱和量度,2)+' ℃'),linethick5,colore07eaa; {股价倾斜系数} hot:=ma(c,13); 倾斜系数:atan(hot-ref(hot,1))*3.142*100,precis0,linethick0,colorffcc62; drawtextrel(245,270,'∥倾斜系数: '+numtostrn(倾斜系数,2)+' 度'),linethick5,colorffcc62; {获利比例} 获利比例:winner(close)*100,precis0,linethick0,color79a5ff; 浮筹比例:(winner(c*1.1)-winner(c*0.9))/winner(hhv(h,0))*100,precis0,linethick0,colorffcc62; drawtextrel(430,270,'◇获利比例: '+numtostrn(获利比例,2)+' %'),linethick5,color79a5ff; drawtextrel(615,270,'□浮筹比例: '+numtostrn(浮筹比例,2)+' %'),linethick5,colorffcc62; {人均持股} 人均持股:=intpart(finance2(36)/extradata('散户线')*10000); drawtextrel(800,270,'〓人均持股: '+numtostrn(人均持股,0)+' 股'),linethick5,color79a5ff; {止损价位} lc:=ref(close,1); 止损价位:=(lc*1.0035*97+0.2)/99.65; drawtextrel(100,850,'☆止损价位: '+numtostrn(止损价位,2)+' 元'),linethick5,colorwhite; {成本预测} 建仓成本:maxcyc,precis2,linethick0,colorffbb77; 心理价位:dma(amount/(100*vol),vol/(100*finance2(37)))*1.12,precis2,linethick0,colorc78eff; drawtextrel(60,470,'○建仓成本: '+numtostrn(建仓成本,2)+' 元'),linethick5,colorffbb77; drawtextrel(60,660,'◎心理价位: '+numtostrn(心理价位,2)+' 元'),linethick5,colorc78eff; {上升空间} 上升空间:100-c/(心理价位-建仓成本)*10,precis0,linethick0,color79a5ff; drawtextrel(540,70,'‖上升空间: '+numtostrn(上升空间,2)+' %'),linethick5,color79a5ff; {股价预测} vc:=(high+low+open+2*close)/5; 明日阻力:=2*vc-low; 明日支撑:=2*vc-high; 明日突破:=vc+(high-low); 明日反转:=vc-(high-low); 今日阻力:=ref(明日阻力 , 1); 今日支撑:=ref(明日支撑 , 1); 今日突破:=ref(明日突破 , 1); 今日反转:=ref(明日反转 , 1); drawtextrel(245,470,'↑今日支撑: '+numtostrn(今日支撑,2)+' 元'),linethick5,color5959ff; drawtextrel(430,470,'↓今日阻力: '+numtostrn(今日阻力,2)+' 元'),linethick5,color61fe78; drawtextrel(615,470,'♂今日突破: '+numtostrn(今日突破,2)+' 元'),linethick5,color66ffff; drawtextrel(800,470,'♀今日反转: '+numtostrn(今日反转,2)+' 元'),linethick5,colorfc878f; drawtextrel(245,660,'↑明日支撑: '+numtostrn(明日支撑,2)+' 元'),linethick5,color5959ff; drawtextrel(430,660,'↓明日阻力: '+numtostrn(明日阻力,2)+' 元'),linethick5,color61fe78; drawtextrel(615,660,'♂明日突破: '+numtostrn(明日突破,2)+' 元'),linethick5,color66ffff; drawtextrel(800,660,'♀明日反转: '+numtostrn(明日反转,2)+' 元'),linethick5,colorfc878f; {实际盈亏} 实际盈亏:c*股数-买入价*股数-买入收费-卖出收费,precis2,linethick0,colorwhite; drawtextrel(755,850,'¥实际盈亏: '+numtostrn(实际盈亏,2)+' 元'),linethick5,colorwhite; 8.庄家吸筹 a1:=date <= 1070615; a2:=(100 * (close - (ma(close,30)))) / (ma(close,30)); a3:=100 - ((90 * ((hhv(high,20)) - close)) / ((hhv(high,20)) - (llv(low,20)))); a4:=100 - (ma(((100 * ((hhv(high,6)) - close)) / ((hhv(high,6)) - (llv(low,6)))),28)); a5:=ma(a4,6); 红持股:if((a3 < a5),a5,a3),colorred; 绿持币:if((a3 > a5),a5,a3),colorgreen; 强弱:(a5),linethick1,coloryellow; a6:=(3 * (sma((((close - (llv(low,27))) / ((hhv(high,27)) - (llv(low,27)))) * 100),5,1))) - (2 * (sma((sma((((close - (llv(low,27))) / ((hhv(high,27)) - (llv(low,27)))) * 100),5,1)),3,1))); a7:=(10); 百万测底:((cross(a6,a7)) * 75) * a1,linethick2,color0000ff; a8:=(ref(close,1)) / close; a9:=min((ma(((amount / vol) / 100),15)),(ema(((amount / vol) / 100),15))); a10:=((1 - ((sma(((low * a8) - (a8 / 10)),6,1)) / (ema(((amount / vol) / 100),15)))) * 100) - (100 / 10); a11:=((((1 - ((ma((low - (a8 / 10)),6)) / a9)) * (dma(close,(vol / capital)))) / (ma(low,6))) * 100) - (100 / 10); a12:=((((a10 + (a11 / 10)) > 0) and (date > 1000101)) and (date < 1991231)) and ((count((((1 - (close / (ref(close,1)))) > 0.099) and ((1 - ((ref(close,1)) / (ref(close,2)))) > 0.099)),20)) < 3); a13:=(((((((a10 + (a11 / 10)) > -3.688) and (date > 1000101)) and (date < 1991231)) and ((close / (ref(close,1))) > 1.02)) and ((count((((1 - (close / (ref(close,1)))) > 0.099) and ((1 - ((ref(close,1)) / (ref(close,2)))) > 0.099)),20)) < 3)) and (((ref(close,1)) / (ref(close,2))) < 0.95)) and ((close / (hhv(high,20))) < 0.855); 灵桥黑马:((if(((((100 < 100) and ((a10 + (a11 / 10)) > 0)) and (date > 1000101)) and (date < 1991231)),(a12 = 1),(a13 = 1))) * 100) * a1,linethick2,colorred; a14:=ema(close,8); a15:=ema(a14,20); a16:=cross(a14,a15); a17:=a14 < (ema(close,120)); 大波黑马起步:((a16 and a17) * 75) * a1,linethick2,coloryellow; a18:=sum((if((close > (ref(close,1))),vol,(if((close < (ref(close,1))),(0 - vol),0)))),0); a19:=sumbars(vol,capital); a20:=(if((close > (llv(close,a19))),1,-1)) * (if((a18 > (llv(a18,a19))),1,-1)); a21:=if((a20 = -1),1,0); a22:=(count((a21 = 1),8)) > 2; a23:=((sum(amount,13)) / ((amount / vol) / 100)) / 100; a24:=dma((((((3 * high) + low) + open) + (2 * close)) / 7),(vol / a23)); a25:=(((close - a24) / a24) * 100) < -15; a26:=((close - (min(((ref(close,5)) * 0.865),((ref(close,21)) * 0.772)))) / close) < 0.05; a27:=ref(low,1); a28:=((sma(abs((low - a27)),3,1)) / (sma((max((low - a27),0)),3,1))) * 100; a29:=ema((if((close * 1.2),(a28 * 10),(a28 / 10))),3); a30:=llv(low,38); a31:=hhv(a29,38); a32:=if((llv(low,90)),1,0); a33:=((ema((if((low <= a30),((a29 + (a31 * 2)) / 2),0)),3)) / 618) * a32; (stickline(a33,0,a33,6,1)) ,colorblue; 底部不买你后悔:(if(((a25 and a26) and a22),60,0)) * a1; 9.抓涨停 n:=55; wl:=(close-ma(close,6))/ma(close,6)*100; wlt:=ma(wl,89); wlt1:=cross(wl,wlt); wlt11:=cross(wl,-10); wlt2:=filter(wlt1,8); t1:=wlt11 or wlt2; t2:="kdj.j"(9,3,3)<0 and "kdj.j"(9,3,3)>0; lv:=ma(c,24); hr0:=hhv(high,n); hry0:=llv(low,n); hry110:=hr0*hry0; hry330:=sqrt(hry110); ns1:=c>hry330 and hry330>=ref(hry330,1) and c>lv; t3:=wlt2 or wl>wlt; xg1:=t1 and ns1; xg2:=t1 and t3; w18:xg1 or xg2 or t2; 10. {选择涨停股票的基本条件} {st股票判断、今日停牌股票} isst:=strfind(stkname,upperstr('st'),1)<>0; jb:=(isst=0) and dynainfo(8)>0; {早盘30分钟,成交量} b:=dynainfo(8); bv:=ref(v,1); zf2:=b/bv*100; {10点的涨幅} a:=dynainfo(7); ac1:=ref(c,1); zf1:=(a-ac1)/ac1*100; {当前价格高于开盘价} d:=a-o; {股票昨天是涨的} {k:=ref(c,1)-ref(o,1);} {5日均线比10日均线高} kk:=ma(c,5) >ma(c,10) and ma(c,5)>ref(ma(c,5),1); {5分钟、15分钟、30分钟macd都出现红柱} dea5:="macd.dea#min5"; diff5:="macd.diff#min5"; d5:=diff5-dea5; dea15:="macd.dea#min15"; diff15:="macd.diff#min15"; d15:=diff15-dea15; dea30:="macd.dea#min30"; diff30:="macd.diff#min30"; d30:=diff30-dea30; {j:=(d5>0 and d15>0) or (d5>0 and d30>0) or (d15>0 and d30>0);} j:= (d5>0 and d15>0 and d30>0); {委买大于委卖} e:=dynainfo(23)-dynainfo(22); {昨天成交量比前天多} f:=ref(v,1)-ref(v,2); 选股:zf1<6 and zf2>30 and jb>0 and j>0 and d>0 and e>0 and f>0 and kk>0; 10通信达分时抓涨停 日1:ema(c,1),colorff00ff; 日:=ema((h+l+c)/3,1); 日5:=ma(ema((h+l+c)/3,1),5); 日10:=ma(ema((h+l+c)/3,1),10); 对比日:ema(ref(日,240),1),colorwhite ; 对比日5:=ma(ema(ref(日,240),1),5); 对比日10:=ma(ema(ref(日,240),1),10); 强:=日5>对比日5 and 日10>对比日10 and 日5-对比日5>0 and 日10-对比日10>0 ; 角:=(atan((日10/ref(日10,5)-1)*100)*180/3.14115926)>30; 角2:=(atan((日10/ref(日10,5)-1)*100)*180/3.14115926)>20; 弱:=日5<对比日5 and 日10<对比日10 and 日5-对比日5<0 and 日10-对比日10<0 and 对比日5>ref(对比日5,3); stickline( cross(日5,对比日5) and c>ref(c,150) and 角,日5*1.05,ref(llv(对比日,200),200),1,0),colorred; stickline(角2,日5*0.98,ref(llv(对比日,200),200),1,0),coloryellow; drawicon(cross(日1,对比日)and c>ref(c,240),日1*1.05,1); drawkline(indexh,indexo,indexl,indexc);
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文很牛很好用奉献给你们:发家分时抓涨停公式下载 大智慧源码仅供学习研究。