通达信新绝密波段指标公式,通达信克星指标公式
admin888
|通达信新绝密波段指标公式,通达信克星指标公式
通达信新绝密波段指标公式
Z:=5;
N:=10;
LOW2:=IF(LOW>=(REF(L,1)+REF(L,2))/2,CLOSE,LOW);
LOW1:=IF(LOW>=REF(LOW,1),CLOSE,LOW);
CLOSE1:=IF(CLOSE>=REF(CLOSE,1),CLOSE,(HIGH1+LOW2)*0.5);
VARA:=IF(CLOSE=CLOSE,(CLOSE+LOW+OPEN+HIGH+HIGH1+LOW2)/6,AMOUNT/(100*vol));
VARU1:=LLV(LOW1,30);
VARA1:=HHV(HIGH1,30);
VARU2:=LLV(LOW1,21);
VARA2:=HHV(HIGH1,21);
CC:=ma((VARA-VARU2)/(VARA2-VARU2)*100,11);
CC1:=ema(CC,7),COLOR336699;
B:=EMA((VARA-VARU1)/(VARA1-VARU1)*105,13);
B1:=EMA(B,8);
移动平均A:stICKLINE(B-B1>0 ,B*1.03,B1,3,1),COLOR3366AA;
移动平均B:STICKLINE(B-B1<=0,B*1.03,B1,3,1),COLOR779966;
VAR44:=zig(3,Z);
RSV:=(VAR44-LLV(VAR44,N))/(HHV(VAR44,N)-LLV(VAR44,N))*100;
月MD:="kdj.D#MONTH",COLORFF0000,LINETHICK2;
月MK:="kdJ.K#MONTH",COLOREECC00;
周CD:="KDJ.D#WEEK",COLOR0000BB,LINETHICK2;
周CK:="KDJ.K#WEEK",COLOR0099FF;
月死KD:=MA((月MD,月MK),1);
周死KD:=MA((周CD,周CK),1);
周死rsi:="RSI.RSI2#WEEK"<="RSI.RSI3#WEEK";
月金KD:=MA((月MK,月MD),1);
周金KD:=MA((周CK,周CD),1);
周金RSI:="RSI.RSI2#WEEK">="RSI.RSI3#WEEK"*0.998;
周金R:="RSI.RSI1#WEEK">="RSI.RSI2#WEEK";
AA:=STICKLINE(月死KD && 周死KD && 周死RSI,100,50,0,1),COLOR998888;
BB:=STICKLINE(月金KD && 周金KD && 周金RSI,0,50,0,1),COLOR8800DD;
K:SMA(RSV,3,1),COLORAA9999,LINETHICK2;
D:SMA(K,3,1),COLOR00AA00,LINETHICK2;
J:=3*K-2*D,COLORFFAABB,LINETHICK1;
STICKLINE(周CK<周CD,D,K*1.01,4.2,1),COLORFFCC00;
STICKLINE(周CK>=周CD,D,K*1.01,4.2,1),COLOR0000FF;
RMA2:=MA(MA("RSI.RSI2#MONTH",2),2),COLORGRAY,LINETHICK1;
RMA3:=MA(MA("RSI.RSI3#MONTH",2),2),COLOR000099,LINETHICK1;
STICKLINE(RMA2>=RMA3,D*0.999,K*1.03,0.8,0),COLOR0068FF;
STICKLINE(RMA2
A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/211;
D2:=EMA(D1,2);
D3:=EMA(D2,2);
K1:=EMA(D3,2);
卖转向:STICKLINE(PEAKBARS(3,15,1)=1,101,51,1.6,0),COLOR00FF44,LINETHICK2;
买转向:STICKLINE(TROUGHBARS(3,15,1)=0 AND HIGH>LOW+0.01,0,49,1.6,0),COLORAA00FF;
死叉RSI:=DRAWICON(crOSS(周CD,周CK) AND 周死RSI,99,2);
转向:=DRAWICON((CROSS(周CK,周CD) AND 周金RSI),25,5);
月金叉:=月MK>月MD;
月周金叉:=IF(CROSS(周CK,周CD) AND 月金叉,31,0),LINETHICK1,COLOR3333FF;
周金叉RSI:=STICKLINE(CROSS("RSI.RSI2#WEEK","RSI.RSI3#WEEK"),0,25,3,0),COLOR0038FF;
金叉RSI:=DRAWICON(CROSS("RSI.RSI2#WEEK","RSI.RSI3#WEEK"),18,9);
波段升:STICKLINE(CROSS(D1,K1) AND CC>=CC1,1,33,0.1,0),COLOR00FFFF;
波段下:STICKLINE(CROSS(K1,D1) AND CC
difFR:=EMA(CLOSE,12)-EMA(VARA,26);
DEAR:=EMA(DIFFR,9),COLORFFFFFF,LINETHICK1;
macdA:=EMA(CLOSE,12)-EMA(CLOSE,26);
MacDD:=EMA(CLOSE,9)-EMA(CLOSE,12);
MACDB:=EMA(CLOSE,9)-EMA(CLOSE1,12);
MACDH:=EMA(CLOSE,12)-EMA(CLOSE1,26);
MACDC:=EMA(CLOSE,8)-EMA(CLOSE1,15);
MACDM:=EMA(CLOSE,7)-EMA(CLOSE,11);
中线持仓:=IF(CLOSE>=SAR(4,2,20),SAR(4,2,20),DRAWNULL);
中线空仓:=IF(CLOSE
DXB:=COUNT(CROSS(MACDM,0) OR CROSS(MACDD,0) OR CROSS(MACDA,0),15)>=2;
DXC:=COUNT(CROSS(MACDM,0) OR CROSS(MACDD,0) OR CROSS(MACDA,0) OR CROSS(MACDH,0),20)>=2;
DXD:=COUNT(CROSS(MACDM,0) OR CROSS(MACDC,0) OR CROSS(MACDH,0) OR CROSS(MACDB,0),20)>=2;
DXE:=COUNT(CROSS(MACDM,0) OR CROSS(MACDH,0) OR CROSS(MACDB,0) OR CROSS(MACDD,0) ORCROSS(MACDA,0),30)>=4;
MD:=BACKSET(DEAR>=REF(DEAR,1),2);
STICKLINE((MACDD>0 OR MACDH>0) AND 中线持仓 ,0,7,3.8,1),COLOR0000FF;
STICKLINE((MACDC>=0 OR MACDH>=0) AND 中线持仓 AND (DXB OR DXC OR DXD OR DXE) AND MD,1,12,2.2,0),COLORCC88FF;
STICKLINE((MACDD<=0 OR MACDC<=0) AND 中线空仓,100,94,3.8,1),COLORAA7777;
mcst:=dma(AMOUNT/(100*VOL),VOL/CAPITAL);
DIF:=EMA(EMA(CLOSE,18)-EMA(CLOSE,34),11);
MACD:=EMA(EMA(DIF,11),11),COLOR58FF58;
DEF:=2*(DIF-MACD),COLORFFFF00,LINETHICK0;
STICKLINE(C>=MCST,12,19,1,1),COLOR00EEFF;
通达信克星指标公式
X1:= (O+H+L+3*C)/6;
X2 := ((X1+C+H+O+L+(O+C)/2+(O+L)/2+(O+H)/2+(C+L)/2+(C+H)/2+(L+H)/2+(O+C+H)/3+(O+C+L)/3)+(O+H+L)/3+(C+H+L)/3)/15;
X3 :=ema(X1,13) - Ema(X1,21);
X4 := EMA(X3,3);
X5 := EMA(X3,10);
X6:=EMA(X2,7)-EMA(X2,21);
X7:=EMA((0.668*REF(X6,1)+0.333*X6),1);
X8:=MA(AMOUNT/(100*V),13);
X9:= (X1-X8)/X8*100;
Q1:=EMA(C,12)-EMA(C,26);
{macd}Q2:=EMA(Q1,9);
Q3:=Q1-Q2;
B1:=EMA(C,5)-EMA(C,13);
B2:=EMA(B1,3);
B3:=B1-B2;
B4:=Q1>0 AND B3>0;
{中线处于强势中的调整,短线强势}B5:=B1>0 AND Q3>0 AND B3>0;
{中短线强势,短线处于强势中的强势}}B6:=Q1>REF(Q1,1)AND B1>REF(B1,1)AND Q2>REF(Q2,1)AND B2>REF(B2,1);
{四线同时向上}B7:=Q3>0 AND B3>0;
B8:=B4 OR B5 OR B6 AND B7;
XX1:=10*B3;
XX2:=10*Q3;
短关注:stICKLINE(B3>0 AND Q1-Q2<0,10*B3,0,2,1),COLORWHITE;
买区:STICKLINE(B8,XX1,0,2,1),COLORB2FFAB;
短加速:STICKLINE(crOSS(B1,0),10*B3,0,2,0),COLORFF9966;
中加速:STICKLINE(CROSS(Q1,0),10*Q3,0,2,0),COLOR0099FF;
强势:STICKLINE(Q3>0 AND Q1>0,10*Q3,0,2,1),COLOR6268FF;
{中线强势中的强势}弱强:STICKLINE(Q3>0 AND Q1<0,10*Q3,0,2,1),COLORB2A8FF;
{中线弱势中的强势}减仓:STICKLINE(B3>0 AND Q1>0 AND B3
做多:IF(X6>=X7,X6+0.018,X7)*4,COLOR0098FF;
涨:IF(X4>=X5,X4+0.011,X5)*4,COLORMAGENTA;
做空:IF(X7-X6,X7,X6)*4,COLORGREEN;
跌:IF(X5-X4,X5,X4)*4,COLORFF5B00;
费氏数:=zig(3, 10)>REF(ZIG(3,10),1);
成立距今:=BArslAST(费氏数=1);
DRAWTEXT(成立距今=5,0,'鱼'),COLORYELLOW;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。