马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
主升浪十大公式 {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 MID>REF(MID,1),11,0),COLORgray; 主升浪:IF(布林截距>0 AND MID>REF(MID,1) AND REF(MID,1)>REF(MID,2), 布林截距,0),COLORRED,linethick3; DRAWICON(CROSS(布林截距,-20) AND MID>REF(MID,1),0,4); 末跌段:IF(布林截距>0 AND MID 布林截距,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:=EMA(((100*(CLOSE-LLV(LOW,100)))/(HHV(HIGH,100)-LLV(LOW,100))),5)/4; VARE:=VARC<1; VAR10:=((VAR4<0) 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:=IF(((CROSS(VAR19,VAR17) AND CROSS(VAR19,VAR18)) AND CROSS(VAR17,VAR18)),1,0); VAR1B:=IF(((CROSS(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:=(EMA(((100*(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:=(IF(((YEAR < 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 VAR1C<3,10)=1,10,0),COLORFFFFFF; 选股利器:IF(FILTER(VAR2E>0 AND VAR1C<2 AND 庄拉线>0 AND 庄拉线<1 AND 黑马线>0 AND 黑马线<1.5 AND VAR2E>0,5)=1,10,0),COLORFF00FF; 量价先行:7*CROSS(量价线,0),COLOR00FF00; 拉升开始:12*(庄拉线>0.1 AND COUNT(庄拉线>0.1,2)=1 AND CLOSE>=OPEN AND VOL>REF(VOL,1) AND VOL/CAPITAL>0.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:=VAR2/VAR1*100-70; VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; VAR6:=(2*CLOSE+HIGH+LOW)/4; VAR7:=SMA(VAR3/VAR1*100,3,1); VAR8:=LLV(LOW,34); VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1); VARA:=IF(VAR9>100,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); CC:SMA(VAR5,20,1),COLORRED; CC1:SMA(CC,5,1),COLORGREEN; STICKLINE(CC>CC1,CC,CC1,1,0),COLORRED; STICKLINE(CC1>CC,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); AA:Ema(A,10),Coloryellow,LINETHICK2; BB:Ema(A,18),Colorff9900,LINETHICK2; =====================================================================================
|