当前位置: 网站首页 > 股票软件公式 > 通达信公式 > 文章 当前位置: 通达信公式 > 文章

通达信源码:招财波段王+打工皇帝+潜伏主升浪

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

招财波段王:

 
VAR1:=(CLOSE+HIGH+LOW+OPEN)/4; 
VAR2:=SUMBARS(VOL,CAPITAL); 
VAR3:=HHV(VAR1,VAR2); 
VAR4:=LLV(VAR1,VAR2); 
VAR5:=(2*VAR1-VAR4-REF(VAR4,1))/(VAR3-VAR4); 
VAR6:=(VAR1-VAR4)/(VAR3-VAR4); 
VAR7:=IF(VAR1<=VAR4,VAR5*60,VAR6*60); 
VAR8:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30); 
VAR9:=EMA(VAR8,7); 
VARA:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100; 
VARB:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5; 
VARC:=HHV(HIGH,9)-LLV(LOW,9); 
VARD:=HHV(HIGH,9)-CLOSE; 
VARE:=CLOSE-LLV(LOW,9); 
VARF:=VARD/VARC*100-70; 
VAR10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; 
VAR11:=(2*CLOSE+HIGH+LOW)/4; 
VAR12:=SMA(VARE/VARC*100,3,1); 
VAR13:=LLV(LOW,34); 
VAR14:=SMA(VAR12,3,1)-SMA(VARF,9,1); 
VAR15:=IF(VAR14>100,VAR14-100,0); 
VAR16:=HHV(HIGH,34); 
VAR17:=EMA((VAR11-VAR13)/(VAR16-VAR13)*100,8); 
VAR18:=EMA(VAR17,5);
STICKLINE(VAR17-VAR18>0,VAR17,VAR18,8,1), ,COLORRED ; 
STICKLINE(VAR17-VAR18<0,VAR17,VAR18,8,1), ,COLORGREEN ; 




打工皇帝:

 
N:=20;
N1:=7;
N2:=69;
T1:=IF((DATE<=1341231),1,0);
M3:=EMA(CLOSE,3);
M6:EMA(CLOSE,6),COLOR008000,LINETHICK3;
M12:EMA(M6,12),COLOR0000FF,LINETHICK3;
VAR1:=EMA(M12,62);
VAR2:=(CLOSE+HIGH+LOW)/(3);
VAR3:=(EMA(VAR2,10))*(T1);
VAR4:=(REF(VAR3,1))*(T1);
STICKLINE((VAR3>VAR4),VAR3,VAR4,4,0),COLOR00FFFF;
STICKLINE((VAR3<VAR4),VAR3,VAR4,4,0),COLORFF0000;
VAR5:=((REF(HIGH,1)+REF(LOW,1))/(2))*(T1);
VAR6:=MA(CLOSE,N)+((2)*(STD(CLOSE,N)))*(T1);
DRAWTEXT(CROSS(VAR3,VAR4),(VAR3)*(0.98),'★'),COLOR00FFFF;
DRAWTEXT(CROSS(VAR5,VAR6),(HIGH)*(1.04),'↓卖'),COLOR008000;
VAR7:=REF(CLOSE,1);
VAR8:=((SMA(MAX(CLOSE-VAR7,0),N1,1))/(SMA(ABS(CLOSE-VAR7),N1,1)))*(100);
VAR9:=CROSS(N2,VAR8);
VARA:=(FILTER(VAR9,4))*(T1);
DRAWTEXT(VARA,(HIGH)*(1.04),'↓卖'),COLORFFFFFF;
VARB:=((2)*(CLOSE)+HIGH+LOW)/(4);
VARC:=LLV(LOW,34);
VARD:=HHV(HIGH,34);
VARE:=(EMA(((VARB-VAR1)/(VAR5-VAR1))*(100),7))*(T1);
VARF:=(EMA((0.667)*(REF(VARE,1))+(0.333)*(VARE),5))*(T1);
DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),6))/(6)>0.6) AND (VOL>=(1.5)*(MA(VOL,5))) AND COUNT((VARE>=VARF),3) AND (REF(LOW,1)=LLV(LOW,120)),1,0),LOW,'●买进'),COLORFF00FF;
DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),12))/(12)>0.6) AND COUNT((VARE>VARF),6) AND (REF(LOW,5)=LLV(LOW,120)) AND REF((CLOSE>=OPEN),4) AND REF((CLOSE>OPEN),3) AND REF((CLOSE>OPEN),2) AND REF((OPEN>CLOSE),1) AND (OPEN>REF(CLOSE,1)),1,0),LOW,'●买进'),COLOR00FFFF;
VAR10:=(MA(CLOSE,80)-(MA(CLOSE,10))/(3))*(T1);
DRAWTEXT(IF((CLOSE<VAR10) AND ((VOL)/(240)>(MA(VOL,5))/(240)) AND (CLOSE>(REF(CLOSE,1))*(1.08)) AND (CLOSE<(MA(CLOSE,12))*(1.3)),1,0),LOW,'●抄底'),COLOR0000FF;




潜伏主升浪(顶尖财经 股票学院: http://58188.com):

{潜伏主升浪}

{可以放到附图,选股,预警,测试于通达信平台}
MA1:=MA(C,5);MA2:=MA(C,10);
MA3:=MA(C,20);MA4:=MA(C,60);
MA5:=MA(C,120);MA6:=MA(C,250);
C>MA1 AND C>MA2 AND C>MA3 AND MA1>O
AND H/C<1.015 AND MA3>O AND MA3>MA4
AND MA4>MA5 AND MA5>MA6 AND
MACD.DIF>REF(MACD.DIF,1)
AND V>=HHV(V,10) AND MACD.MACD<0
AND MACD.MACD>REF(MACD.MACD,1);

上一篇:通达信源码:牛底买涨抄底+桂氏买卖波段

下一篇:通达信源码:二卦彩云趋势+大道至简+短中线伏击