原文地址:主升浪公式作者:蓝色妖姬的博客主升浪10个公式我的珍藏品! 2009-05-10 13:51 主升浪10个公式我的珍藏品! 主升浪10个公式我的珍藏品! == {zsl主升浪1} dna1:=(close-llv(low,13))(hhv(high,13)-llv(low,13))*100; dna2:=sma(dna1,20,1); 浪花:sma(dna2,13,1); 浪涛:sma(浪花,10,1),linethick2; 0;20;50;80;100; = {zsl主升浪2} mid:=ma(close,26); upper:=mid+2*std(close,26); lower:=mid-2*std(close,26); 布林截距:=(upper-lower)*100-200; 主升浪选股:=if(cross(布林截距,-20) and midref(mid,1),11,0),colorgray; 主升浪:if(布林截距0 and midref(mid,1) and ref(mid,1)ref(mid,2), 布林截距,0),colorred,linethick3; drawicon(cross(布林截距,-20) and midref(mid,1),0,4); 末跌段:if(布林截距0 and midref(mid,1) and ref(mid,1)ref(mid,2), 布林截距,0)*-1,colorff9900,linethick3;  {zsl主升浪3} var3:=llv(high,240); var4:=((100 * (close - var3))  var3); var5:=ref(llv(close,480),1); var6:=ref(hhv(close,480),1); var7:=(100 * (close - var5))(var6 - var5); var8:=((close-llv(close,981))(hhv(close,981)- llv(close,981 * 100; var9:=((close-llv(close,393))(hhv(close,393)- llv(close,393 * 100; vara:=((close-llv(low,981))(hhv(high,981)- llv(low,981 * 100; varb:=((close-llv(low,393))(hhv(high,393)- llv(low,393 * 100; varc:=ema100*(close-llv(low,100(hhv(high,100)-llv(low,100,5)4; vare:=varc1; var10:=((var40) and (var7  0)); var12:=(high + low) + (close * 2))  4)); var13:=ema(var12,21); var14:=std(var12,21); var15:=var12 - var13)  var14) * 100) + 200)  4)); var16:=(ema(var15,89) - 25) * 1.56; var17:=ema(var16,5) * 1.22; var18:=ema(var17,3); var19:=3*var17 - 2*var18; var1a:=ifcross(var19,var17) and cross(var19,var18)) and cross(var17,var18)),1,0); var1b:=ifcross(var17,var19) and cross(var18,var19)) and cross(var18,var17)),1,0); 买点:if((filter((var8=0) and vare) and var10) and var1a),5) = 1),10,0),color0000ff; 卖点:if(filter(var8=100 and var1b,5)=1,10,0),color00ff00; var1c:=(ema100*(close-llv(low,100(hhv(high,100)-llv(low,100,13)  4); var1d:=(ema(close,2) - ema(close,89)); var1e:=ema(var1d,30); var1f:=((2 * (var1d - var1e)) * 10); var20:=((pow(var1f,3) * 0.1) + pow(var1f,2)); var21:=sqrt(sqrt(low * high) * open) * close; var22:=ema((var21 * 0.97),3); var23:=high + low) + close)  3); var24:=((var23 - ma(var23,14))  (0.015 * avedev(var23,14; var25:=(ifyear  2008) and (var1f  0.015)),var20,0)  45); 庄拉线:var25,color00ffff; var26:=(ema(close,2) - ema(close,150)); var27:=ema(var26,100); var28:=(2 * (var26 - var27)); var29:=((pow(var28,3) * 0.1) + pow(var28,1)); var2a:=sqrt(sqrt((low * high * open * close; var2b:=ema(var2a * 0.97,3); var2c:=(high + low + close)  3; var2d:=(var2c - ma(var2c,14))  (0.015 * avedev(var2c,14)); 黑马线:if((var28  0.1),var29,0) * 5,color0000ff; 量价线:((close-ma(close,21))ma(close,21))*100,colorffffff; var2e:=if(filter(量价线0 and 量价线3,5)=1,12,0); 涨幅前兆:if(filter(庄拉线0 and 庄拉线0.5 and var2e and var1c3,10)=1,10,0),colorffffff; 选股利器:if(filter(var2e0 and var1c2 and 庄拉线0 and 庄拉线1 and 黑马线0 and 黑马线1.5 and var2e0,5)=1,10,0),colorff00ff; 量价先行:7*cross(量价线,0),color00ff00; 拉升开始:12*(庄拉线0.1 and count(庄拉线0.1,2)=1 and close=open and volref(vol,1) and volcapital0.003 and 量价线1 and 量价线黑马线),linethick2,color00ffff; 量价主升浪:18*filter(cross(量价线,黑马线) and 庄拉线0.5,7),linethick3,color00ff00; 庄拉主升浪:20*(cross(庄拉线,黑马线) and 黑马线0 and 量价线0),linethick3,color0000ff; drawicon((买点  0),10,1); drawicon((卖点  0),10,2);{ drawicon((涨幅前兆  0),10,1); drawicon((选股利器  0),10,1); drawicon(量价先行  0,10,10);} drawicon(拉升开始  0,15,10); drawicon(量价主升浪 0,20,9); drawicon(庄拉主升浪  0,30,9); = {zsl主升浪4} 顶:=85; 中:=50; 底:=20; var1:=hhv(high,9)-llv(low,9); var2:=hhv(high,9)-close; var3:=close-llv(low,9); var4:=var2var1*100-70; var5:=(close-llv(low,60))(hhv(high,60)-llv(low,60))*100; var6:=(2*close+high+low)4; var7:=sma(var3var1*100,3,1); var8:=llv(low,34); var9:=sma(var7,3,1)-sma(var4,9,1); vara:=if(var9100,var9-100,0); varb:=hhv(high,34); aa:= vara*2; bb:= ema((var6-var8)(varb-var8)*100,13); varc:=ema(0.667*ref(bb,1)+0.333*bb,2);   stickline(cccc1,cc,cc1,1,0),colorred; stickline(cc1cc,cc,cc1,1,0),colorgreen; 出击:if((cross(cc,cc1) and (cc1  顶) ),80,0),colorred; drawicon(cc  ref(cc,1) and ref(cc,1)  ref(cc,2) and cc  cc1,100,2); drawicon(cross(cc1,cc),100,15); 0;20;50;80;100; = {zsl主升浪5} a:=80.9*(ema(c,20)ema(c,40)-0.96); b:=ema(a,5);   = {zsl主升浪6} rsv:=(close-llv(low,100))(hhv(high,100)-llv(low,100))*100; fastk:=sma(rsv,3,1); k:sma(fastk,3,1); d:sma(fastk,11,1); 0;20;50;80;100; = {zsl主升浪7} varq1:=ref((low+open+close+high)4,1); varq2:=sma(abs(low-varq1),13,1)sma(max(low-varq1,0),10,1); varq3:=ema(varq2,10); varq4:=llv(low,33); varq5:=ema(if(low=varq4,varq3,0),3)*100; 主力进场:stickline(varq5ref(varq5,1),0,varq5,7,0 ),colorffff00; var1:=(close-llv(low,24))(hhv(high,24)-llv(low,24))*100; var2:=sma(var1,3,1); , linethick2,colorred;  var9:=cross(var4,var3) and var380; stickline(var9,var3-5,100,1,1), , linethick2,coloryellow; drawtext(var9 and count(var9,10)=1,var3-15, pl ), , linethick2,coloryellow; aa:=sma(abs(l-ref(l,1)),30,1)sma(max(l-ref(l,1),0),30,1); (if(l=llv(l,30),aa,0),3)*1000,colorff00ff,linethick2; 0;2000;5000;8000;; == {zsl主升浪8} var1a:=ema(close,5)*0.900*100; var2a:=volcapital*100; var3a:=var1a-var2a; var4a:=var3a1; var5a:=var3a=1 and var3a5; var6a:=var3a=5 and var3a10; var7a:=var3a=10 and var3a25; var8a:=var3a=25; 极弱股:if(var4a, (-10), 0),colorff3399, stick; 弱势股:if(var5a, (-5), 0),coloryellow, stick; 转型股:if(var6a, 5, 0),color0066ff, stick; 强势股:if(var7a, 10, 0),colorgreen, stick; 主升浪:if(var8a, 15, 0),colorffff00, stick;