一、通达信强势追涨主图指标公式
{使用说明:指标两条主线较为重要,红色为追涨线,也就是说在此线之上,才能发生行情,尤其是涨停板收复回踩不有效跌破追涨线,阳线开始发动行情。一条线为牛熊线,跌破此线要止损出局。另外做了两个信号,短线和强势。短线信号出来后,可尾盘少量买入,阳线持股2-3个交
A:=MAX(MA(C,60),MA(C,120));
E:=MAX(MA(C,45),MA(C,90));
J:=MAX(MA(C,30),MA(C,60));
A1:=DATE <= 13181231;
生命线:=(MA(C,25)) * A1,LINETHICK2,COLORMAGENTA;
牛线1:=(MA(C,40)) * A1,COLORCYAN;
FL:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));
FS:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
趋势:=IF(MA(CLOSE,17) 年线:=EMA(C,250); LA:=趋势-(EMA(C,3)-趋势); 追涨:EMA(COST(81),10),COLORRED,LINETHICK2; 牛熊线:EMA(COST(27),120),COLORGREEN,LINETHICK2; 做空68:HHV((HIGH+LOW+OPEN+2*CLOSE)/5*2-L,5),COLORRED,DOTLINE; 平衡点:LLV((HIGH+LOW+OPEN+2*CLOSE)/5,3),COLORGRAY,DOTLINE; M2:=EMA(C,2); M18:=EMA(C,18); 买:=IF(CROSS(M18,M2),5,0* 10000),COLORFF00FF,LINETHICK2; RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100; VARB2:=(RSVV/2+22)*1; Q:=EMA(VOL,13); Y:=EMA(AMOUNT,13); S:=((Y /Q) / 100); X:=(((CLOSE -S) / S) * 100); F:=((X < (0)) AND ZXNH); XQ:=F AND RSVV 收阴买:=买 AND XQ ,STICK,COLORYELLOW,LINETHICK3; DRAWTEXT(收阴买,L*0.950,'收阴买'),COLORYELLOW; AA05:=MA(C,5),COLOR0099CC; 五日乖离率:=(C-AA05)/AA05*100; BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416; 速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1); 加速度5:=EMA((速度5-REF(速度5,1)),3),LINETHICK0; AA10:=MA(C,10);AA20:=MA(C,20);BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416; AA30:=MA(C,30); 三拾日乖离率:=(C-AA30)/AA30*100; BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416; 强势:=FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10); 短线:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND AA05>REF(AA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA10>REF(AA10,1) AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) AND C>追涨; DRAWTEXT(短线,LOW*0.97,'←短线'),COLORRED; DRAWTEXT(强势,LOW*0.95,'←强势'),COLORYELLOW; VAR1:=MA(CLOSE,5); VAR2:=MA(CLOSE,10); VAR3:=MA(CLOSE,30); VAR4:=MA(CLOSE,60); VARB:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28); VARC:=INTPART(VARB*100)/100; VARD:=EMA(CLOSE,5)-EMA(CLOSE,10); VARE:=EMA(VARD,9); VARF:=(-100)*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100; VAR10:=(-100)*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100; VAR11:=(-100)*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100; VAR12:=(-100)*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100; VAR13:=REF(VARE,1); VAR14:=VARE; VAR15:=VAR14-VAR13; VAR16:=REF(VARD,1); VAR17:=VARD; VAR18:=VAR17-VAR16; VAR19:=OPEN; VAR1A:=CLOSE; 黑马剑: IF(VAR19<=VAR1 AND VAR19<=VAR2 AND VAR19<=VAR3 AND VAR1A>=VAR1 AND VAR1A>=VARC AND VAR15>0 AND VAR18>0,0.8,0),LINETHICK3 , COLOR00FFFF; STICKLINE(黑马剑,0,黑马剑*0.86,2,1),LINETHICK3 ,COLOR00FFFF; DRAWICON(黑马剑>0,黑马剑,1); MA1:=EMA(CLOSE,5); MA2:=EMA(CLOSE,10); MA3:=EMA(CLOSE,20); MA4:=EMA(CLOSE,30); 三线粘合剑:CROSS(MA1,MA2) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(MA1,MA4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(MA2,MA3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(MA1,MA3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018,COLORFF00FF; STICKLINE(三线粘合剑,0,三线粘合剑*0.96,2,1),COLORFF00FF; DRAWICON(三线粘合剑>0,三线粘合剑,1); BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; BIAS2:=HHV((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100,200); M1:=BIAS1=BIAS2 ; M2:=V>MA(V,5) ;二、通达信追魂剑买入就涨指标公式