通达信波段牛熊指标公式,通达信黑马营主图指标公式
admin888
|通达信波段牛熊指标公式,通达信黑马营主图指标公式
通达信波段牛熊指标公式
牛熊线:=18;
心理线:=15;
RSV:=(((CLOSE - LLV(LOW,(牛熊线 + 3))) / (HHV(HIGH,(牛熊线 + 3)) - LLV(LOW,19))) * 100);
FAstK:=(((SMA(RSV,8,1) - 50) * 1.4) + 50);
D:=Sma(FASTK,8,1);
SSS:=SMA(D,8,1);
IF(D<=REF(D,1),D,DRAWNULL),COLOR005C00,LINETHICK8;
IF(D<=REF(D,1),D+1.5,DRAWNULL),COLOR007D00,LINETHICK8;
IF((D <= REF(D,1)),D+3,DRAWNULL)COLOR00B400,LINETHICK8;
IF((D <= REF(D,1)),D+4.5,DRAWNULL),COLOR00DE00,LINETHICK8;
IF((D <= REF(D,1)),D+6,DRAWNULL),COLOR00FF00,LINETHICK8;
IF(SSS>= REF(SSS,1),SSS,DRAWNULL),COLOR000082,LINETHICK8;
IF(SSS>= REF(SSS,1),SSS+1.5,DRAWNULL),COLOR00009D,LINETHICK8;
IF(SSS>= REF(SSS,1),SSS+3,DRAWNULL),COLOR0000B4,LINETHICK8;
IF(SSS>= REF(SSS,1),SSS+4.5,DRAWNULL),COLOR0000D6,LINETHICK8;
IF(SSS>= REF(SSS,1),SSS+6,DRAWNULL),COLOR0000FF,LINETHICK8;
B:=SSS;
W:=crOSS(BacKSET(ISLASTBAR,5),0.5);
VAR19:=BArslAST(W);
DRAWLINE(W=1,B,ISLASTBAR AND B>REF(B,VAR19),B,1),COLOR0000FF,LINETHICK1;
DRAWLINE(W=1,B,ISLASTBAR AND B
(COUNT(CLOSE>REF(CLOSE,1),心理线)/心理线)*100,COLORFF00FF,LINETHICK3;
{DRAWTEXT((SYSPARAM(1) = BARPOS),0,'☆'),ALIGN5,COLORFFFF;};
通达信黑马营主图指标公式
N1:=6;
N2:=12;
N3:=24;
V1:=(C*2+H+L)/4*10;
VV2:=ema(V1,13)-Ema(V1,34);
VV3:=EMA(VV2,5);
V4:=2*(VV2-VV3)*100;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB1:=(V9-VA)/2;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:=EMA(V11,3);
当日成本:=IF(C>REF(C,1),(3*H+4*C+3*OPEN+2*L)/12,(2*H+4*C+3*OPEN+3*L)/12);
疯牛线:EXPMEMA(当日成本,3),LINETHICK1;
龙头线:EXPMEMA(当日成本,8),LINETHICK2;
慢牛线:EXPMEMA(当日成本,25),LINETHICK2;
生命线:EXPMEMA(当日成本,79),LINETHICK3;
牛熊线:EXPMEMA(当日成本,248),LINETHICK3;
V2:=EMA(当日成本,13)-EMA(当日成本,34);
V3:=EMA(V2,5);
cyc13:=0.01*expma(AMOUNT,13)/EXPMA(vol,13);
CYC34:=0.01*EXPMA(AMOUNT,34)/EXPMA(VOL,34);
CYS13:=(CLOSE-CYC13)/CYC13*100;
cys34:=(CLOSE-CYC34)/CYC34*100;
CYC5:=0.01*EXPMA(AMOUNT,5)/EXPMA(VOL,5);
CYS5:=(CLOSE-CYC5)/CYC5*100;
DIVE:=0.01*EXPMA(AMOUNT,5)/EXPMA(VOL,5);
CYR5:=(DIVE/REF(DIVE,1)-1)*100;
DRAWICON(AMOUNT>REF(AMOUNT,1)*1.8 AND EVERY(RANGE(CYS5,-7,7),10) AND EVERY(RANGE(CYR,-0.30,5),10) ANDcrOSS(CYR,3) AND CROSS(CYR5,5),LOW,9);
DRAWTEXT((CROSS(EXPMEMA(当日成本,25),L) AND CYS5<-3 AND MA(C,5)>MA(C,30) AND HHV(CYS13,15)>10 AND HHV(CYS34,18)>18AND EXPMEMA(当日成本,8)>EXPMEMA(当日成本,25)),LOW*0.975,'◆枪B'),COLORYELLOW;
VAR1:=(UPNDAY(慢牛线,4) AND EXPMEMA(当日成本,3)>EXPMEMA(当日成本,5) AND EXPMEMA(当日成本,5)>EXPMEMA(当日成本,7) AND MA(CLOSE,3)>MA(CLOSE,5) ANDMA(CLOSE,5)>MA(CLOSE,7));
VAR2:=(REF(VAR1,2)<0.5 AND REF(VAR1,3)<0.5 AND MA(C,5)>REF(MA(C,5),1) AND CROSS(VAR1,0.5) AND FILTER(CROSS(VAR1,0.5),7))OR ((REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),3) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),5) ORREF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),6) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),4) ORREF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),2)) AND NOT(REF(MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7),1))AND (MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)) AND FILTER((REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),3)OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),5) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),6) ORREF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),4) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),2)) ANDNOT(REF(MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7),1)) AND (MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),7)AND 疯牛线>REF(疯牛线,1)) AND MA(VOL,3)>MA(VOL,10) AND V2>=V3;
DRAWICON(EVERY(CLOSE/OPEN<=1,3) AND EVERY(CLOSE/OPEN>=0.96,3) AND UPNDAY(慢牛线,3) AND CLOSE/REF(CLOSE,3)<=1.035 AND CLOSE/REF(CLOSE,3)>=1AND EVERY(VOL/CAPITAL<0.05,3),LOW,18);
DIVE1:=0.01*EXPMA(AMOUNT,13)/EXPMA(VOL,13);
CYR:=(DIVE1/REF(DIVE1,1)-1)*100;
MacYR:=MA(CYR,5);
RPY10:=(C-LLV(C,10))/(HHV(C,10)-LLV(C,10))*100;
DRAWTEXT((REF(CLOSE/REF(CLOSE,1),3)>1.099 OR REF(CLOSE/REF(CLOSE,1),8)>1.099 OR REF(CLOSE/REF(CLOSE,1),7)>1.099 OR REF(CLOSE/REF(CLOSE,1),6)>1.099OR REF(CLOSE/REF(CLOSE,1),4)>1.099 OR REF(CLOSE/REF(CLOSE,1),5)>1.099 OR REF(CLOSE/REF(CLOSE,1),2)>1.099) AND CROSS(龙头线,LOW)AND UPNDAY(慢牛线,3),LOW*0.97,'◆枪A'),COLORMAGENTA;
CBW:=100*(COst(99.5)-COST(0.5))/COST(99.5);
asr10:=(WINNER(C*1.1)-WINNER(C*0.9))/WINNER(HHV(H,0))*100;
ASR20:=(WINNER(C*1.2)-WINNER(C*0.8))/WINNER(HHV(H,0))*100;
ASR30:=(WINNER(C*1.3)-WINNER(C*0.7))/WINNER(HHV(H,0))*100;
DRAWTEXT((CLOSE/REF(CLOSE,1)>1.03 AND VOL/CAPITAL*100>2.5 AND 疯牛线>龙头线 AND 疯牛线>慢牛线 AND C>疯牛线AND (WINNER(C-C*0.01/100)-WINNER(C-C*20/100))*100>50 AND CYR>1) OR (CYS>11 AND CYS<30 AND CYR>1 AND CLOSE/REF(CLOSE,1)>1.03),LOW,'◆黑'),COLORWHITE;
DRAWTEXT(CROSS(疯牛线,龙头线) AND (CROSS(REF(龙头线,4),REF(疯牛线,4)) OR CROSS(REF(龙头线,3),REF(疯牛线,3)) OR CROSS(REF(龙头线,2),REF(疯牛线,2))OR CROSS(REF(龙头线,1),REF(疯牛线,1))),L*0.99,'◆二攻'),COLORYELLOW;
早盘追杀:=C>REF(H,1) AND OPEN>REF(C,1)*1.015 AND REF(C,2)/REF(C,1)>1.015 AND CLOSE/REF(CLOSE,1)>1.03;
DRAWTEXT(早盘追杀,H,'◆追杀'),COLORYELLOW;
LC:=REF(CLOSE,1);
rsi1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(Abs(CLOSE-LC),N1,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100;
bias1:=(CLOSE-MA(CLOSE,N1))/MA(CLOSE,N1)*100;
BIAS2:=(CLOSE-MA(CLOSE,N2))/MA(CLOSE,N2)*100;
BIAS3:=(CLOSE-MA(CLOSE,N3))/MA(CLOSE,N3)*100;
强牛:=BIAS1>2 AND RSI1>60 AND RSI2>50 AND RSI3>50 AND RSI1>RSI2 AND RSI2>RSI3 AND REF(RSI1,1)1 AND CLOSE/REF(CLOSE,1)>1.03;
DRAWTEXT(强牛,L*0.98,'◆涨停'),COLORYELLOW;
YHIGH:=IF((LOW>REF(LOW,1) AND HIGHREF(HIGH,1),REF(HIGH,1),0);
YLOW:=IF ((LOW>REF(LOW,1) AND HIGHREF(HIGH,1),LOW,0);
孕线:=IF((LOW>REF(LOW,1) AND HIGHREF(HIGH,1)),2,0);
地方:= ((HIGH>REF(HIGH,1) AND REF(HIGH,2)>REF(HIGH,1) AND LOW>REF(LOW,1)AND REF(LOW,2)>REF(LOW,1) AND LOW>LLV(LOW,3)AND MA(CLOSE,5)
天圆:=(HIGHMA(CLOSE,10)) OR (REF(孕线,1)=2 AND HIGHMA(CLOSE,10));
DRAWICON(地方 AND (慢牛线>REF(慢牛线,1) ) AND FILTER(地方,2),LOW*0.998,16),COLORYELLOW;
HS:=VOL/CAPITAL*100;
ZDF:=(C-REF(C,1))/REF(C,1);
三日涨跌幅:=SUM(ZDF,3)*100;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。