大智慧指标公式源码精品打包_第1页
大智慧指标公式源码精品打包_第2页
大智慧指标公式源码精品打包_第3页
大智慧指标公式源码精品打包_第4页
大智慧指标公式源码精品打包_第5页
已阅读5页,还剩54页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、lt163证券百科 猎庄+买入信号 var2:=ref(low,1);var3:=sma(abs(low-var2),3,1)/sma(max(low-var2,0),3,1)*100;var4:=ema(if(close*1.2,var3*10,var3/10),3);var5:=llv(low,38);var6:=hhv(var4,38);var7:=if(llv(low,90),1,0);var8:=ema(if(low<=var5,(var4+var6*2)/2,0),3)/618*var7;有庄的影子: stickline(var8,0,var8,6,

2、1) , colorffaaff;趋势线: (close-ma(close,40)/ma(close,40)*100 , coloraabbdd;aa:=(ref(趋势线,1)<ref(趋势线,2) and 趋势线<-30) and 趋势线>=ref(趋势线,1) or (ref(cross(-30,趋势线),1) and cross(趋势线,-30) or 趋势线=-30;drawtext(aa,500,砸锅卖田买),coloryellow;砸锅卖田买:if(aa,500,-30),coloryellow;bb:=(ref(趋势线,1)<ref(趋势线,2) and

3、趋势线<-20 and 趋势线>-25) and 趋势线>=ref(趋势线,1) or (ref(cross(-20,趋势线),1) and cross(趋势线,-20);drawtext(bb,300,见底信号),colorred;见底信号:if(bb,300,-20),colorred;cc:=(ref(趋势线,1)<ref(趋势线,2) and 趋势线<-25 and 趋势线>-30) and 趋势线>=ref(趋势线,1) or (ref(cross(-25,趋势线),1) and cross(趋势线,-25);drawtext(cc,400,

4、莫错失机会),color00ff00;莫错失机会:if(cc,400,-25),color00ff00;底部快显:if(cross(-20,趋势线),100,-20),linethick2,colorf0f000;drawtext(cross(-20,趋势线),120,),colorf0f000;机会来临:if(cross(-25,趋势线),150,-25),linethick2,colorf00ff0;drawtext(cross(-25,趋势线),170,),colorf00ff0;砸锅卖田等:if(cross(-30,趋势线),200,-30),linethick2,colorwhite

5、;drawtext(cross(-30,趋势线),220,),colorwhite;见底信号:-20,colorred,pointdot;莫要错失机会:-25,colorlime,pointdot;砸锅卖田等着你:-30,coloryellow,pointdot; 皇赐桥杯庄家的馈赠 皇赐桥杯 var2:=(close-llv(low,20)/(hhv(high,20)-llv(low,20)*100; var3:=sma(sma(var2,3,1),3,1)/28.57; var4:=ema(var3,5); lt163证券百科 var5:=3*var3-2*va

6、r4; aa:=cross(var5,var3) and var3<2.1 and c>o;var6:=(2*close+high+low)/4; var7:=llv(low,13); var8:=hhv(high,13); var9:=ema(var6-var7)/(var8-var7)*100,13); vara:=ema(0.667*ref(var9,1)+0.333*var9,2); 多:var9,colorred,pointdot; 空: ema(0.382*ref(var9,2)+0.618*var9,12),color00ff00;stickline(var9>

7、vara,var9,vara,6,0), colorwhite;stickline(var9<=vara,var9,vara,6,0), colorffcc66;皇赐桥杯画图源码 stickline(aa,0,30,40,1),coloryellow; stickline(aa,16,29,38,0),colorgreen; stickline(aa,1,14,38,0),colorgreen; stickline(aa,15,15,40,1),coloryellow; stickline(aa,30,50,10,0),coloryellow; stickline(aa,53,55,10

8、,1),colorred; stickline(aa,57,59,10,1),colorred; stickline(aa,61,63,10,1),colorred; stickline(aa,65,67,10,1),colorred; stickline(aa,69,75,12,0),colorffcccc; lt163证券百科 drawtext(aa,85,皇赐桥杯),coloryellow; drawtext(aa,26,人头马),coloryellow; drawtext(aa,12,ok),coloryellow; 大智慧特色指标强弱分明 强势线:2,li

9、nethick2,colorff00ff;准强线:1.3,linethick1,colorblue;up:=( c > o or c > ref(c,1) and v > ref(v,1);aa:=count(up,3)=3;bb:=llv(l,5)=llv(l,120);cc:=c > ma(c,3);llt:=aa and bb and cc;头部v1:=llv(low,10);v2:=hhv(h,25);警戒线:3.1,linethick3,color00ffff;高抛线:3.5,linethick2,color0000ff;指导线:ema(c-v1)/(v2-v

10、1)*4,4),color00ff00;m5:=ma(指导线,5);低吸线:0.3,linethick1,colorwhite;var2:=if(ema(close,5)/ema(ema(close,9),16)<=0.85close/ref(close,1)>0.905 and close/ref(close,1)<1.05 vol/capital*100<5,50,0);var3:=(-100)*(hhv(high,34)-close)/(hhv(high,34)-llv(low,34)+100;var4:=(-100)*(hhv(high,50)-close)/(

11、hhv(high,50)-llv(low,50)+100;var5:=(-100)*(hhv(high,70)-close)/(hhv(high,70)-llv(low,70)+100;var6:=(close-ma(close,34)/ma(close,34)*100+10)*5;var7:=(close-ma(close,50)/ma(close,50)*100+10)*5;var8:=(close-ma(close,70)/ma(close,70)*100+10)*5;var9:=(var3+var4+var5+var6+var7+var8)/6;vara:=ema(var9,3);va

12、rb:=abs(var6-var8);varc:=(var9+varb)/2;vard:=(-1)*(ema(100*(1-winner(close),1)-50)+50;vare:=vard+varc;varf:=if(var2>0 and vare<0,200,0);var10:=if(varc<0 and close=llv(close,5) and close/ref(close,1)>0.905 and close/ref(close,1)<1.05 and vol/capital*100<5,-50,0);var11:=if(vare<0

13、and var10=-50,100,0);and andlt163证券百科 var12:=ma(close,3);var13:=ref(close,2)*0.865;var14:=ref(close,13)*0.772;var15:=min(var13,var14);var16:=100*vol/capital;var17:=ma(close,13);var18:=if(close-var15)/close<0.03 and sum(var16,5)/5<1.8,1,0);var19:=if(var18>0 and (var10<0 or va

14、r2>0),100,0);var1a:=var19;var1b:=if(varf>0 and var11>0 and sum(vol/capital*100,5)/5<1 or var18>0 and ref(close,1)/ref(close,2)>0.902 or (varf>0 and var11>0 and sum(vol/capital*100,5)/5<1 or var18>0) and (var10<0 or var2>0) and var19<10,50,0);var1c:=(varf>0 a

15、nd var11>0 and sum(vol/capital*100,5)/5<1 or var18>0) and (var10<0 or var2>0);var1d:=varf>0 and var11>0 and sum(vol/capital*100,5)/5<1 or var18>0 and ref(close,1)/ref(close,2)>0.902;大底区域 : ( var1c or var1d )*3,linethick2,colorred; 新编布林通道买卖点信号提示 bbi:(ma(close,3)+ma(close

16、,6)+ma(close,12)+ma(close,24)/4,colorwhite;upr:bbi+p*std(bbi,n),coloryellow; dwn:bbi-p*std(bbi,n),colorff00ff; lc:=ref(close,1); lt163证券百科 rsi:=sma(max(close-lc,0),4.1,1)/sma(abs(close-lc),4.1,1)*100;drawicon(cross(84,rsi) ,h*1.03,5); drawicon(cross(rsi,11) ,l*0.99,4); var27:=ref(close

17、,1); var28:=sma(max(close-var27,0),5.5,1)/sma(abs(close-var27),6,1)*100;drawicon(if(cross(76,var28),1,0),h*1.03,5); drawtext(filter(ema(close,60)-ema(close,12)>0 and ema(close,12)/low>1.15,5), low,),linethick7 , colorff00ff; vara:=(amount)/(vol)/(100); varb:=(3)*(high)+low+open+(2)*(close)/(7)

18、; varc:=(sum(amount,7)/(vara)/(100); vard:=dma(varb,(vol)/(varc); vare:=(close-vard)/(vard)*(100); varf:=(close-llv(low,34)/(hhv(high,34)-llv(low,34)*(100);varj:=ma(vare,20)+std(vare,20); bias18:=(close-ma(close,18)/(ma(close,18)*(100); aa:=sma(varf,3,1); ss:=(ref(bias18,1)>=5) and cross(varj,var

19、e) and (aa>79);drawtext(ref(bias18,1)>=5) and cross(varj,vare) and(aa>ss),h*1.02,),linethick7,colorgreen; var1:=zig(3,10)<ref(zig(3,10),1) and ref(zig(3,10),1)>ref(zig(3,10),2);lt163证券百科 var2:=zig(3,10)>ref(zig(3,10),1) and ref(zig(3,10),1)<ref(zig(3,10),2); stickl

20、ine(var1,c,o,8,0),coloryellow,linethick2; stickline(var1,c,o,3,0),coloryellow,linethick2; stickline(var1,h,l,1,0),coloryellow,linethick2; stickline(var2,c,o,8,0),colorff00ff,linethick2; stickline(var2,c,o,3,0),colorff00ff,linethick2; stickline(var2,h,l,1,0),colorff00ff,linethick2; drawtext(zig(3,10)

21、<ref(zig(3,10),1) and ref(zig(3,10),1)>ref(zig(3,10),2),low,卖出 ),coloryellow; drawtext(zig(3,10)>ref(zig(3,10),1) and ref(zig(3,10),1)<ref(zig(3,10),2),low,买入),colorred; 精品收费指标原码:盘中参谋 精品收费指标原码:盘中参谋(准确率极高)智囊系列之盘中参谋(用于大智慧。分析家。大智慧l2) 选股时,条件设置为买入大于0即可 var1:=ma(100*(close-llv(close,34)/(hhv(h

22、igh,34)-llv(low,34),5)-20; var2:=2*abs(var1);var3:=100-3*sma(close-llv(low,75)/(hhv(high,75)-llv(low,75)*100,20,1)+2*sma(sma(close-llv(low,75)/(hhv(high,75)-llv(low,75)*100,20,1),15,1);var4:=100-3*sma(open-llv(low,75)/(hhv(high,75)-llv(low,75)*100,20,1)+2*sma(sma(open-llv(low,75)/(hhv(high,75)-llv(l

23、ow,75)*100,20,1),15,1);var5:=(high+low+close)/3;var6:=(var5-ma(var5,14)/(0.015*avedev(var5,14);var7:=(var5-ma(var5,70)/(0.015*avedev(var5,70);var8:=if(var6>=150 and var6<200 and var7>=150 and var7<200,10,0);var9:=if(var6<=-150 and var6>-200 and var7<=-150 and var7>-200,-10,va

24、r8); vara:=(close-ma(close,13)/ma(close,13)*100; lt163证券百科 varb:=100-abs(vara);varc:=3*sma(indexc-llv(indexl,75)/(hhv(indexh,75)-llv(indexl,75)*100,20,1)-2*sma(sma(indexc-llv(indexl,75)/(hhv(indexh,75)-llv(indexl,75)*100,20,1),15,1);vard:=3*sma(indexo-llv(indexl,75)/(hhv(indexh,75)-llv(

25、indexl,75)*100,20,1)-2*sma(sma(indexo-llv(indexl,75)/(hhv(indexh,75)-llv(indexl,75)*100,20,1),15,1);vare:=ref(low,1)*0.9;varf:=low*0.9;var10:=(varf*vol+vare*(capital-vol)/capital;var11:=ema(var10,30); var12:=var11-close;var13:=ref(close,1);var14:=sma(max(close-var13,0),7,1)/sma(abs(close-var13),7,1)

26、*100;var15:=sma(max(close-var13,0),13,1)/sma(abs(close-var13),13,1)*100;var16:=barscount(close);var17:=sma(max(close-ref(close,1),0),6,1)/sma(abs(close-ref(close,1),6,1)*100;var18:=(-100)*(hhv(high,60)-close)/(hhv(high,60)-llv(low,60)+50)*2; var19:=(close-llv(low,15)/(hhv(high,15)-llv(low,15)*100;va

27、r1a:=(sma(var19,4,1)-50)*2;var1b:=sma(var1a,3,1);var1c:=(indexc-llv(indexl,14)/(hhv(indexh,14)-llv(indexl,14)*100; var1d:=sma(var1c,4,1);var1e:=sma(var1d,3,1);var1f:=(hhv(high,30)-close)/close*100;var20:=if(var17<=25 and var18<-95 and var1f>20 and var1b<-30 and var1e<30 and var12>=

28、-0.25 and var14<22 and var15<28 and var16>50,80,0);情报: var3;天线: if(varb<90,varb,100);红军: if(var1>0,var1,0),colorred, linestick;绿军: if(var1<0,var2,0),colorgreen,linestick;导弹: var20;预警系统: if(var7>=200 and var6>=150,15,if(var7<=-200 and var6<=-150,-15,var9)+60; stickline(v

29、ar3>=ref(var4,1),var3,var4,8,0);stickline(var3<ref(var4,1),var3,var4,8,0);var21:=close>ma(close,20) and ma(close,20)>=ref(ma(close,20),1); var22:=close<ma(close,20) and ma(close,20)<ref(ma(close,20),1);var23:=红军>50 and 预警系统>60 and 天线=100;var24:=红军>48 and 预警系统>60 and 天线&

30、lt;100;var25:=绿军>38 and 预警系统<55;var26:=导弹>50 and 天线<90; lt163证券百科 var27:=var3<ref(var4,1) and vol>ref(vol,1) and close>ref(close,1);var28:=var3>=ref(var4,1) and close<ref(close,1) and 预警系统=60 and 导弹=0 and 绿军>=ref(绿军,1) and varc<ref(vard,1);drawtext(var21

31、 and count(var21,30)=1,100,上升通道,持股待长或高抛低吸!); drawtext(var22 and count(var22,30)=1,90,下降通道,小心无量阴跌! );drawtext(var23 and count(var23,30)=1,70,上涨过急,需要调整,短线先抛出! ); drawtext(var24 and count(var24,30)=1,80,庄家出货,大跌在即,中线抛出! ); drawtext(var25 and count(var25,30)=1,50,不必杀跌,应有小反弹 ,跌停除外!); drawtext(var26 and co

32、unt(var26,30)=1,30,坚决抢反弹,但巨量封跌停除外 ); drawtext(var27 and count(var27,30)=1,40,有大资金进场迹象,关注!); drawtext(var28 and count(var28,30)=1,20,见顶回落);买入:if(var27 and count(var27,30)=1,100,0),linethick3,colorblue; 山水黄金万两5 lt163证券百科 山水黄金万两5用这个公式有买卖点牛市95%,熊市60%;双剑合壁最准 a:ma(close,12),colorblue,linethi

33、ck2; b:ma(close,4),colorwhite,linethick2; cc:=llv(low,36); dd:=hhv(high,30); ee:=(ema(close-cc)/(dd-cc)*(4),4)*(25); var1:=(100 - (90 * (hhv(high,21) - close) / (hhv(high,21) - llv(low,21);var2:=(100 - (90 * (hhv(high,21) - close) / (hhv(high,21) - llv(low,21);var3:=(100 - ma(100 * (hhv(high,6) - cl

34、ose) / (hhv(high,6) - llv(low,6),34);drawicon(cross(var2,ma(var3,6),(low * 0.998),8); drawicon(cross(ma(var3,6),var1),(high * 1.013),9); drawtext(cross(var2,ma(var3,6),(low * 0.984),b ),color4440ff,linethick7;lt163证券百科 drawtext(cross(ma(var3,6),var1),(high * 1.035),s ),colorwhite,linet

35、hick7;年:ma(close,26),colorgreen,linethick2; stickline(c>=年 and c>=o,c,o,7,0),colorred; stickline(c>=年 and c>=o,h,l,0,0),colorred; stickline(c>=年 and c<o,c,o,7,1),colorred; stickline(c>=年 and c<o,o,h,0,0),colorred; stickline(c>=年 and c<o,c,l,0,0),colorred; stickline(c<

36、;年 and c>o,c,o,7,1),coloryellow; stickline(c<年 and c<=o,c,o,7,1),coloryellow; stickline(c<年 and c<=o,h,l,0,1),coloryellow; stickline(c<年 and c>o,c,h,0,1),coloryellow; stickline(c<年 and c>o,o,l,0,1),coloryellow; 山水:=(ee-llv(ee,21)/(hhv(ee,21)-llv(ee,21)*(4)*(25); 山水买入:if(cr

37、oss(山水,90) and (ee<40),200,0) ,linethick2 , colorwhite; drawtext(cross(山水,90) and (ee<40),200,黄金万两) ,linethick2 , colorwhite; 头部预警十分精准原码 头部预警():止损(止赢)线(附原码) 原理:传统的日或日均线是线性计算的,不能很好地反映行情趋势的内在微妙的变化,所以信号不是太早就是太晚。无论你如何调整参数,都不能从根本上解决问题。基于这样的考虑,我编写了止损线,分快线与慢线。感觉效果不错,与大家分享。原码如下: h1:=ref(h,1);c1:=ref(c

38、,1);l1:=ref(l,1); var1:=if(h>h1,h,if(c>c1,c,c1); var2:=if(l lt163证券百科 精确成本均线 指南针中的成本均线被认为是最有权威的成本均线。其设计思路是以(o+c)/2为当日成本重心,然后用(当日换手率/近似的n日内近期成本)为加权系数来求动态平均。其近期成本分布的计算是采用一种近似算法,以cyc5为例: 今天的5日内成本分布=昨天的5日内成本分布*(1-今日换手率)*4/5+今日换手率 cyc5=dma(o+c)/2,今天的换手率/今天的5日内成本分布) 这样的计算是假设5天内每天的换手率都比

39、较近似,但如果近5日的换手率不均匀,就不应该用4/5去乘了。 另外,用(o+c)/2来作为成本重心也是不科学的。所以,指南针的成本均线我认为并不能准确反映平均持仓成本。经过思考,我利用飞狐的远期成本分布函数ppart重新设计了成本均线,采用的是加权平均的方法。具体思路是: 1. 先计算历史上的换手率到了今天还剩多少。 2. 按剩余的换手率为加权系数来求加权平均值。 3. 每日的成本重心按照真正的成本重心 amount/v/100 来计算。 input:n1(5,2,300),n2(10,2,300),n3(20,2,300),n4(60,2,300),n5(120,2,300); a:if(v

40、=0 or capital=0,(h+l+c)/3,amount/v*0.01),circledot,colorwhite;/计算成本重心 r:=0; t2:=0; for i=0 to n1-1 do begin r:=ppart(i)-ppart(i+1);/ 计算第 i 天前的换手率到今天为止还残余多少 t2:=t2+ref(a,i)*r;/累加n1天内按残余换手率为加权系数的加权平均值的分子 end; mac1:t2/(1-ppart(n1);/分母是近期的成本分布 r:=0; t2:=0; for i=0 to n2-1 do begin r:=ppart(i)-ppart(i+1)

41、; t2:=t2+ref(a,i)*r; end; mac2:t2/(1-ppart(n2); r:=0; t2:=0; for i=0 to n3-1 do begin r:=ppart(i)-ppart(i+1); t2:=t2+ref(a,i)*r; end; mac3:t2/(1-ppart(n3); r:=0; t2:=0; for i=0 to n4-1 do begin r:=ppart(i)-ppart(i+1); t2:=t2+ref(a,i)*r; end; mac4:t2/(1-ppart(n4); r:=0; t2:=0; forlt163证券百科 www.lt163.

42、comi=0 to n5-1 do begin r:=ppart(i)-ppart(i+1); t2:=t2+ref(a,i)*r; end; mac5:t2/(1-ppart(n5);lt163证券百科 lt163证券百科 lt163证券百科 超过利多方舟 简单明了非常实用!原码与图) 原码:(通用原码) 买:ema(close,5),colorred,linethick2;a:=(ref(买,1);卖:ema(slope(close,21)*20+close,42),linethick2;b:=cross(买

43、,卖);s:=cross(卖,买);drawtext(b,low-0.1,买 ),colorred,linethick2; rsv:=(close-llv(low,9)/(hhv(high,9)-llv(low,9)*100;k:=sma(rsv,3,1);d:=sma(k,3,1);j:=3*k-2*d;g:=95;drawtext(cross(j,d),l*0.999,加仓),color00ffff,linethick2; var29:=(close-llv(low,60)/(hhv(high,60)-llv(low,60)*100;var2a:=sma(var29,5,1);var2b:

44、=sma(var2a,10,1);var2c:=cross(var2b,var2a);var2d:=var2b>80 or var2a>80;var2e:=var2c and var2d;var33:=high;var34:=low;逃顶:=stickline(var2e,var33,var34,4,0);drawtext(cross(ref(high,1)+ref(low,1)/2,ma(close,20)+2*std(close,20),hlt163证券百科 igh*1.03,-落袋为安),coloryellow; x6:=ref(close,1);x

45、7:=sma(max(close-x6,0),7,1)/sma(abs(close-x6),7,1)*100;x8:=cross(79,x7);x9:=filter(x8,4);drawtext(x9,high*1.02,出货),color9000f5; 开盘预测全天量源码公布 stickline(hour>=9 and hour<10 ,0, v/(time-93000)/100)*240,4.5,1),colorwhite; stickline(hour>=10 and hour<11 ,0, v/(time-100000)/100+30)*240,4.5,1),c

46、olorwhite; stickline(hour>=11 and hour<12 ,0, v/(time-110000)/100+90)*240,4.5,1),colorwhite; stickline(hour>=13 and hour<=14,0, v/(time-130000)/100+120)*240,4.5,1),colorwhite; stickline(hour>=14 and hour<=15,0, v/(time-140000)/100+180)*240,4.5,1),colorwhite; var1:=vol/(high-low)*2-

47、abs(close-open); 主动买盘:=if(close>open,var1*(high-low),if(close主动卖盘:=if(close>open,0-var1*(high-close)+(open-low),if(closeo,0,vol,4.5,1),colorred; stickline(cref(c,1),0,vol,4.5,1),colorred; stickline(主动买盘>0,0,主动买盘,4.5,0),colorred; stickline(主动卖盘<0,0,主动卖盘,4.5,0),color00ff00; 换手: vol/capital

48、*100; stickline(换手>=3 and 换手<8,0, 主动买盘,2,0),coloryellow; stickline(换手>=8,0, 主动买盘, 2,0) ,colorgreen; ma5:ma(vol,5),coloryellow; ma13:ma(vol,13),colorwhite;drawtext(cross(ma5,ma13),cross(ma5,ma13),*),coloryellow; 成交量公式大集合 一直想找个很好的成交量副图公式来替代大智慧上的成交量公式.在网上搜寻了好久,也尝试了好久.于是搜集到的好成交量公式也有很多.为了使用方便,有些

49、是其它软件的公式,都改成了大智慧能用的.有些经过了一些改动,加了些自己的东西,有些没有更改过.现在将这些我感觉还不错的公式以及源码,附图贴在下面,被改名或者优化的也请原作者体谅!若有一款符合您的心意,希望能顶帖鼓励一下!我的自用vol优化主源码在帖子顶到100楼后发布在3楼! lt163证券百科 1.觅庄建仓:var2:=ref(low,1);var3:=sma(abs(low-var2),13,1)/sma(max(low-var2,0),13,1)*100;var4:=ema(if(close*1.2,var3*13,var3/13),13);var5:=llv(

50、low,34);var6:=hhv(var4,34);var7:=if(llv(low,56),1,0);var8:=ema(if(low<=var5,(var4+var6*2)/2,0),3)/618*var7;var9:=ema(close,5);var10:=(close-ma(close,34)/ma(close,34)*(-10);stickline(var9>ref(var9,1),0,var9*0.25,4,0),color10e410;减仓:if(var9>ref(var9,1),var9*0.25,0),color10e410,stick;stickline

51、(var9<ref(var9,1),0,var9*0.25,4,0),color1010ff;增仓:if(var9<ref(var9,1),var9*0.25,0),color1010ff,stick;stickline(var8>ref(var8,1),0,var8,4,0),color10ffff;主力进场:if(var8>ref(var8,1),var8,0),color10ffff,stick;stickline(var8<ref(var8,1),0,var8*1.5,4,0),colorfff810;洗缓:if(var8<ref(var8,1),v

52、ar8*1.5,0),colorfff810,stick;增减力度:var10*0.2,colorff7676;xl1:=ma(low,2)*0.96;xl2:=ma(low,26)*0.85;xl3:=ref(xl1,1)<xl2 and ref(xl1,1)<xl1 and ref(xl1,1)<ref(xl1,2); stickline(xl3,0,var8*3,4,0),color006eff;买:xl3,color006eff,stick;drawtext(xl3,var8*3.5,买),color006eff;drawicon(xl3,15,1),colorred

53、;=2.主力成交量var2:=high-low;var3:=abs(open-close);var4:=high-if(close>open,close,open);var5:=if(close>open,open,close)-low;var6:=var3/var2*vol;var7:=var4/var2*vol;var8:=var5/var2*vol;var9:=if(vol/capital>0.001,1,exp(abs(log(vol/capital*100);vara:=(close-ma(close,5)/ma(close,5)*100;varb:=ma(clos

54、e,5)>ma(close,10) and ma(close,10)>ma(close,30) ma(close,30)>ma(close,60);varc:=ma(close,5)<ma(close,10) and ma(close,10)<ma(close,30); 多头成交: stickline(close>ma(close,30),0,vol,8,1), , colorred;空头成交: stickline(close<ma(close,30),0,vol,8,1), , colorgreen;向上攻击量: stickline(var6>

55、=var7 and var6>=var8 and andlt163证券百科 close>open,0,var6,8,0), , colorred;向下攻击量: stickline(var6>=var7 and var6>=var8 and close<open,0,var6,8,0), , colorgreen;上探量: stickline(var7>var6 and var7>var8,0,var7,8,0), , colorcccc66; 下探量: stickline(var8>var6 and var8>va

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论