趋势起爆,和谐源码分享,副图

 2022-11-23 09:27:47    通达信指标网  

{趋势起爆试用}

RR8:=MA(CLOSE,27);
RR9:=(CLOSE-RR8)/RR8*100;
RRA:=MA(RR9,2);
RRB:=BARSLAST(CROSS(-10,RRA)=1);
RRD:=RRA<-10 AND RRB>3;
黄金坑:=IF(RRD,-35,0),COLORYELLOW,LINETHICK3;
VARO1:=MA(CLOSE,27);
VARO2:=(CLOSE-VARO1)/VARO1*100;
VARO3:=MA(VARO2,2);
VARO4:=BARSLAST(CROSS(-10,VARO3)=1);
VARO5:=VARO3<-10 AND VARO4>3;
贪嘴乐:= IF(VARO3>REF(VARO3,1) AND VARO5 AND VARO3<-15,60,0),LINETHICK3,LINESTICK,COLORFFA2AF;
VAR1Z:=(CLOSE+HIGH+LOW+OPEN)/4;
VAR2Z:=SUMBARS(VOL,CAPITAL);
VAR3Z:=HHV(VAR1Z,VAR2Z);
VAR4Z:=LLV(VAR1Z,VAR2Z);
VAR5Z:=(2*VAR1Z-VAR4Z-REF(VAR4Z,1))/(VAR3Z-VAR4Z);
VAR6Z:=(VAR1Z-VAR4Z)/(VAR3Z-VAR4Z);
VAR7Z:=IF(VAR1Z<=VAR4Z,VAR5Z*60,VAR6Z*60);
VAR8Z:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);
VAR9Z:=EMA(VAR8Z,7);
VARAZ:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100;
VARBZ:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5;
XA_1:=(CLOSE-LLV(CLOSE,10))/(HHV(CLOSE,10)-LLV(CLOSE,10));
抄底起爆:=CROSS(XA_1,0.05)*3 AND FILTER(CLOSE/REF(CLOSE,1)>1.048 AND C=H 
AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12)),28) 
AND NOT(DYNAINFO(4)=0);
STICKLINE(抄底起爆,0,1,2,0),COLORYELLOW;
DRAWICON(抄底起爆,0.9,26);
DRAWTEXT(抄底起爆,0.9,' 抄底起爆'),COLORYELLOW;
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
XG:=(FILTER((VAR4AA>90),45)),COLORYELLOW;
STICKLINE(XG,20,0,4,0),COLOR000099;
STICKLINE(XG,50,0,2,0),COLOR0000BB;
STICKLINE(XG,60,0,1,0),COLOR0000DD;
STICKLINE(XG,60,0,0.9,0),COLOR0000FF;
DRAWTEXT(XG>0,60,'波段多空起暴'),COLOR00C5FF;
DRAWTEXT_FIX(1,0,100,0,'★出现红柱波段起爆后市看涨,背离共振粘合有效!!!'),COLORYELLOW;
DIF:=(EMA(C,12)-EMA(C,26));
DEA:=EMA(DIF,9);
MACD:=2*(DIF-DEA);
MJBT:=EXIST((CROSS(DIF,DEA) AND DIF>0) OR CROSS(DIF,0),5) ;
MVOL5:=MA(V,5);
MVOL10:=MA(V,10);
MVOL20:=MA(V,20);
量托:=MVOL5>=MVOL20 AND CROSS(MVOL10,MVOL20) AND REF(MVOL10,1)<REF(MVOL20,1);
VJBT:=EXIST(CROSS(MVOL5,MVOL10) OR 量托,5);
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA60:=MA(C,60);
MA120:=MA(C,120);
T1:=BARSLAST(REF(LONGCROSS(MA60,MA120,55),1));
JJC:=CROSS(MA5,MA10);
SJBT:FILTER(MJBT AND JJC AND VJBT,5);
DRAWBAND(0,RGB(0,0,0),SJBT*18,RGB(218,218,18));
DRAWTEXT(SJBT,16,'游资多空启动'),COLOR0078FF;
年选股:SUM(SJBT,250),NODRAW;
利润:=REF(SJBT,30) AND HHV(H,30)>=REF(C,30)*1.10;
成功:SUM(利润,250),NODRAW;
成功率%:成功/年选股*100,NODRAW;       
市场均价线: SMA((HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20))*100,2,1),COLORRED,LINETHICK2;
抄底起涨信号:=CROSS(XA_1,0.05)*3 AND FILTER(CLOSE/REF(CLOSE,1)>1.025 AND C=H
AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12)),28)
AND NOT(DYNAINFO(4)=0);
STICKLINE(抄底起涨信号,0,1,1,0),COLORCC00FF;
DRAWICON(抄底起涨信号,0.9,17);
DRAWTEXT(抄底起涨信号,0.5,' 抄底起涨信号'),COLORYELLOW;
起爆:=CCI(25),COLORSTICK,COLOR40FF00;
起爆线:CCI(84),COLORGREEN,LINETHICK2;
额:AMOUNT/10000000,NODRAW;
强:=EMA((CLOSE-REF(CLOSE,1))/CLOSE*10,2);
差A:3*EMA(EMA(EMA(EMA(强,2),2),2),2),NODRAW;
净流中值:3*EMA(EMA(EMA(EMA(差A,1),2),2),2), COLORRED,NODRAW;
STICKLINE(净流中值<0,0,净流中值,4,0),COLORFF6600;
STICKLINE(净流中值<0,0,净流中值,3,0),COLORFF9900;
STICKLINE(净流中值<0,0,净流中值,1.5,0),COLORFFCC00;
STICKLINE(净流中值<0,0,净流中值,0.5,0),COLORCYAN;
STICKLINE(净流中值>0,0,净流中值,4,0),COLOR000099;
STICKLINE(净流中值>0,0,净流中值,3,0),COLOR0000CC;
STICKLINE(净流中值>0,0,净流中值,1.5,0),COLOR0000FF;
STICKLINE(净流中值>0,0,净流中值,0.5,0),COLORCC66FF;
STICKLINE(净流中值<REF(净流中值,1)AND 净流中值>0,0,净流中值,4,0),COLOR009999;
STICKLINE(净流中值<REF(净流中值,1)AND 净流中值>0,0,净流中值,3,0),COLOR00BBBB;
STICKLINE(净流中值<REF(净流中值,1)AND 净流中值>0,0,净流中值,2,0),COLOR00DDDD;
STICKLINE(净流中值<REF(净流中值,1)AND 净流中值>0,0,净流中值,1,0),COLOR00FFFF;
STICKLINE(净流中值>REF(净流中值,1)AND 净流中值<0,0,净流中值,4,0),COLOR000099;
STICKLINE(净流中值>REF(净流中值,1)AND 净流中值<0,0,净流中值,3,0),COLOR0000BB;
STICKLINE(净流中值>REF(净流中值,1)AND 净流中值<0,0,净流中值,1.5,0),COLOR0000DD;

STICKLINE(净流中值>REF(净流中值,1)AND 净流中值<0,0,净流中值,0.5,0),COLOR0000FF;


  •  标签:  

原文链接:https://www.tdxzb.com/?id=798

本文版权:如无特别标注,本站文章均为原创。

相关文章

服务热线

18020657357

微信客服

微信客服