通达信超跌反弹源码附图

{出手-赢}
VAR3:=REF(HIGH,1)*1.1;
 VAR4:=HIGH*1.1;
 VAR5:=(VAR4*VOL+VAR3*(CAPITAL-VOL))/CAPITAL;
 VAR6:=REF(LOW,1)*0.9;
 VAR7:=LOW*0.9;
 VAR8:=(VAR7*VOL+VAR6*(CAPITAL-VOL))/CAPITAL;
 VAR9:=EMA(VAR8,30);
 VARA:=EMA(VAR5,30);
 VARB:=VARA-2;
 VARC:=IF(CLOSE<=VAR9,VARB,VARA);
 VARD:=MA(CLOSE,80)-MA(CLOSE,10)/17;
 {出手:}STICKLINE(VARC-VARB=0 AND CROSS((EMA(EMA(EMA(CLOSE,3),3),3)-REF(EMA(EMA(EMA(CLOSE,3),3),3),1))/REF(EMA(EMA(EMA(CLOSE,3),3),3),1)*100,MA((EMA(EMA(EMA(CLOSE,3),3),3)-REF(EMA(EMA(EMA(CLOSE,3),3),3),1))/REF(EMA(EMA(EMA(CLOSE,3),3),3),1)*100,2)),80,0,3,0),LINETHICK6,COLOR00FF00 , ;
出手:IF(VARC-VARB=0 AND CROSS((EMA(EMA(EMA(CLOSE,3),3),3)-REF(EMA(EMA(EMA(CLOSE,3),3),3),1))/REF(EMA(EMA(EMA(CLOSE,3),3),3),1)*100,MA((EMA(EMA(EMA(CLOSE,3),3),3)-REF(EMA(EMA(EMA(CLOSE,3),3),3),1))/REF(EMA(EMA(EMA(CLOSE,3),3),3),1)*100,2)),80,0),STICK,COLOR00FF00 , ;
 {赢:}DRAWTEXT(FILTER(VARC-VARB=0 AND CROSS((EMA(EMA(EMA(CLOSE,3),3),3)-REF(EMA(EMA(EMA(CLOSE,3),3),3),1))/REF(EMA(EMA(EMA(CLOSE,3),3),3),1)*100,MA((EMA(EMA(EMA(CLOSE,3),3),3)-REF(EMA(EMA(EMA(CLOSE,3),3),3),1))/REF(EMA(EMA(EMA(CLOSE,3),3),3),1)*100,2)),4),78,'★-赢'), ,COLORRED ;
 VAR1K:=EMA(C,12)-EMA(C,20);
 VAR2K:=EMA(VAR1K,9);
牛魔王A:(OPEN<=MA(CLOSE,5) AND OPEN<=MA(CLOSE,10) AND OPEN<=MA(CLOSE,30) AND CLOSE>=MA(CLOSE,5) AND CLOSE>=((SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28))*100)/100 AND (VAR2K-REF(VAR2K,1))>0 AND (VAR1K-REF(VAR1K,1))>0);
 DRAWICON(牛魔王A,98,1);
易股:(VAR1K>VAR2K AND REF(VAR1K,1)<=REF(VAR2K,1) AND VAR1K<0 AND VAR2K<-0.2 AND (-100*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100)>45 AND (VAR2K-REF(VAR2K,1))>0);
 DRAWICON(易股,90,1);
 {精品出山}
VARP3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
 VARP4:=SMA(VARP3,3,1);
 VARP5:=SMA(VARP4,3,1);
 VARP6:=3*VARP4-2*VARP5;
 VARP7:=SMA(CLOSE/HHV(HIGH,120),3,1)*100;
 VARP9:=VARP7>REF(VARP7,20) AND VARP7>75 AND FILTER(VARP7/REF(LLV(LOW,20),10)>1.18,20);
 VARPC:=SMA(MAX(CLOSE-(REF(CLOSE,1)),0),6,1)/SMA(ABS(CLOSE-(REF(CLOSE,1))),6,1)*100;
 DRAWTEXT(VARP7<68 AND BARSLAST(CROSS(68,VARP7))>2 AND VARP5<30 AND CROSS(VARP6,VARP5),-5,'★'),COLORF0F000;
 {牛魔王} 
 VARI1:=(CLOSE+HIGH+LOW+OPEN)/4;
 VARI8:=MA(VARI1,34);
 VARI9:=(VARI1-VARI8)/VARI8*10;
 VARIB:=0.6*VOL/WINNER(CLOSE) ;
牛魔王: IF(VARIB>=1000000 AND VARI9<-1.618,70,0), , COLORYELLOW;
 DRAWICON(VARIB>=1000000 AND VARI9<-1.618,70,0) ;

{定海神针}
VA1:=REF(CLOSE,1);
 VA2:=SMA(MAX(CLOSE-VA1,0),7,1)/SMA(ABS(CLOSE-VA1),7,1)*100;
 VA3:=SMA(MAX(CLOSE-VA1,0),13,1)/SMA(ABS(CLOSE-VA1),13,1)*100;
 VA4:=BARSCOUNT(CLOSE);
 VA6:=VA2<20 AND VA3<25 AND VA4>50;
 DHSZ:( VA6)*70,LINETHICK2,COLORFF9933;
 {地瓜八号}
J:=(REF(C,1)+REF(C,2)+REF(C,3)+REF(C,4)+REF(C,5))/5;
 J1:=J<COST(10) AND C/J>1.025 AND (HHV(C,5)-LLV(C,5))/LLV(C,5)*100>7 ;
 J2:= J1 AND REF(C,5)/REF(C,1)>1.003 AND MA(INDEXC,3)>=REF(MA(INDEXC,3),1);
地瓜:(FILTER(J2,10))*28,LINETHICK2,COLOR99CCCC;


 QWX1:=HHV(CLOSE,30);
 QWX2:=LLV(CLOSE,30);
 QWX3:=CONST((QWX1+QWX2)/2);
 TYP:=(HIGH+LOW+CLOSE)/3;
 CCI20:((TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)))*60+QWX3, COLORYELLOW;
 K:=SMA(CCI20,3,1);
 D:=SMA(K,3,1);
 LJ2:=((C-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100)*60+QWX3;
 LJF2:=(EMA(LJ2,3));
顶部:150*60+QWX3,COLOR999599,LINETHICK5;
超跌:-175*60+QWX3,COLOR999500,LINETHICK5;
 DRAWBAND(K,RGB(255,50,100),D,RGB(0,200,0));
 IF(CCI20<REF(CCI20,1),CCI20,DRAWNULL),COLORFFFF00,LINETHICK1;
 IF(CCI20>REF(CCI20,1),CCI20,DRAWNULL),COLOR0000EA,LINETHICK2;
 STICKLINE(CCI20<=-185*60+QWX3,-185*60+QWX3,-200*60+QWX3,2,0),COLOREE77EE;
 STICKLINE(CCI20>=150*60+QWX3,158*60+QWX3,172*60+QWX3,2,0),COLOR00FFFF;
强势买入:STICKLINE(C,100*60+QWX3,100*60+QWX3,-1,0),COLORLIMAGENTA;
反弹买入:STICKLINE(C,-100*60+QWX3,-100*60+QWX3,-1,0),COLOR0099FF;
 DRAWICON(CROSS(CCI20,-170*60+QWX3) AND LJF2<18*60+QWX3,-175*60+QWX3,1);
 DRAWICON(CROSS(CCI20,-100*60+QWX3) AND CROSS(K,D),-121*60+QWX3,34);
 DRAWICON(CROSS(CCI20,-100*60+QWX3) AND K>-100*60+QWX3,-111*60+QWX3,38);

DRAWICON(CROSS(CCI20,-100*60+QWX3) AND K>-100*60+QWX3 AND CROSS(LJF2,18*60+QWX3),-175*60+QWX3,9);
 0+QWX3;

VOLC:=V/CAPITAL;
 VAR1C:=VOLC/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
 ZMJ:=IF(CLOSE>OPEN,VAR1C*(HIGH-LOW),IF(CLOSE<OPEN,VAR1C*((HIGH-OPEN)+(CLOSE-LOW)),VOLC/2)),COLORRED,NODRAW;
 ZMC:=IF(CLOSE>OPEN,0-VAR1C*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1C*(HIGH-LOW),0-VOLC/2)),COLOR00FF00,NODRAW;
 JM:=ZMJ-ABS(ZMC);
止跌反弹:IF(MA(C,5)<REF(C,5) AND REF(JM,2)<0 AND REF(JM,1)<0 AND JM>0
 AND V<REF(V,1),10,0),COLORBLUE;




未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:COST
该公式包含未来函数:CAPITAL
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图