通达信量变转势分时指标公式,通达信MACD支撑压力线指标公式
admin888
|通达信量变转势分时指标公式,通达信MACD支撑压力线指标公式
通达信量变转势分时指标公式
bias1:=((CLOSE-MA(CLOSE,6))/(MA(CLOSE,6)))*(100);
BIAS2:=((CLOSE-MA(CLOSE,12))/(MA(CLOSE,12)))*(100);
BIAS3:=((CLOSE-MA(CLOSE,24))/(MA(CLOSE,24)))*(100);
BIAS:=(BIAS1+(2)*(BIAS2)+(3)*(BIAS3))/(6);
乖离:=MA(BIAS,3);
探:stICKLINE((乖离<(-6)) AND (乖离>=(-12)),48,52,6,1),COLOR33FFCC;
准备走:STICKLINE((乖离>6) AND (乖离<12),48,52,6,1),COLORFF0000;
STICKLINE((乖离<(-12)) AND (乖离>=(-18)),0,35,4,0),COLOR33CCCC;
{(乖离<(-24)) AND (乖离>=(-30)),COLOR3399CC;}
VARA:=LLV(LOW,35);
VARB:=HHV(HIGH,30);
VARC:=(EMA(((CLOSE-VARA)/(VARB-VARA))*(4),4))*(25);
底域:STICKLINE((VARC<10) AND (((100)*(HHV(HIGH,14)-CLOSE))/(HHV(HIGH,14)-LLV(LOW,14))>97),0,15,5,0),COLOR00FF00;
顶域:STICKLINE((VARC>90),90,100,5,0),COLORFF0000;
VARD:=87.5;
VARE:=(((VARC-LLV(VARC,4))/(HHV(VARC,4)-LLV(VARC,4)))*(4))*(25);
出货:DRAWTEXT(IF(crOSS(VARD,VARC),87,0),35,'↑'),COLORFF0000;
DRAWTEXT(IF(CROSS(VARD,VARC),87,0),24,'跑'),COLORFF0000;
卖:DRAWTEXT(IF(CROSS(VARC,VARE) AND (VARC>87),87,0),50,'↑'),COLOR0000FF;
DRAWTEXT(IF(CROSS(VARC,VARE) AND (VARC>87),87,0),35,'卖'),COLOR0000FF;
VAR3:=((2)*(CLOSE)+HIGH+LOW)/(4);
VAR4:=LLV(LOW,34);
VAR5:=HHV(HIGH,34);
趋势:=(3)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(2)*(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1));
散:=EMA(((VAR3-VAR4)/(VAR5-VAR4))*(100),13);
看多:IF((趋势>散),趋势,散),COLOR0000FF,LINETHICK2;
看空:IF((趋势<散),趋势,散),COLORFF0000,LINETHICK2;
散户:EMA(((VAR3-VAR4)/(VAR5-VAR4))*(100),13),COLORFF00FF,LINETHICK2;
新庄:EMA((0.66699999)*(REF(散户,1))+(0.333)*(散户),1),COLORFFFF00;
底:IF((趋势<=5),17,0),COLORFF00FF;
见底:IF(CROSS(趋势,10) AND (新庄<散户),31,0),COLOR008000;
DRAWTEXT(CROSS(散户,新庄) AND (趋势>散户) AND (散户<15),新庄*0.7,'绝中生'),COLORFFFFFF;
IF(CROSS(趋势,92),80,90),COLORFF0000;
V5:=MA(vol,5);
V10:=MA(VOL,10);
A2:=(COUNT(((VOL
A3:=(VOL>(V5)*(1.3)) AND (CLOSE<(REF(CLOSE,1))*(1.4));
A4:=(CLOSE<((HHV(HIGH,18))*(75))/(100)) AND (CLOSE<(LLV(CLOSE,6))*(1.4)) AND (CLOSE<(LLV(REF(LOW,10),50))*(0.95999997));
A5:=((VOL
A6:=BArslAST(REF(A5,1));
A7:=(CLOSE<(REF(CLOSE,1))*(0.90499997));
JBM:=CLOSE;
A8:=A5 AND A4 AND REF(A3,1) AND REF(A2,A6+1) AND (COUNT(A7,20)=0) AND JBM;
金山现:IF(A8,30,0),COLOR0000FF;
{CROSS(A8,0.1);}
50,POINTDOT,COLOR33FFCC;
通达信MACD支撑压力线指标公式
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:(DIF-DEA)*2,COLORGREEN;
MacD1:EMA((DIF-DEA)*2,3)COLORFF20FF;
M:=INTPART(3*20/5);
A12:=REF(MACD,M)=HHV(MACD,2*M+1);
B12:=FILTER(A12,M);
C12:=BACKSET(B12,M+1);
D12:=FILTER(C12,M);{高点}
R112:=BACKSET(ISLAstBAR,BArslAST(D12)+1);
S112:=R112>REF(R112,1);
M1:=INTPART(3*10/5);
M2:=REF(MACD,M1)=HHV(MACD,2*M1+1);
M3:=FILTER(M2,M1);
M4:=BACKSET(M3,M1+1);
M5:=FILTER(M4,M1);
M6:=BACKSET(ISLASTBAR,BARSLAST(M5)+1);
M7:=M6>REF(M6,1);
趋势3:DRAWLINE(M5 ,MACD,M7,MACD,1),POINTDOT;
M10:=INTPART(3*15/5);
M20:=REF(MACD,M10)=HHV(MACD,2*M10+1);
M30:=FILTER(M20,M10);
M40:=BACKSET(M30,M10+1);
M50:=FILTER(M40,M10);
M60:=BACKSET(ISLASTBAR,BARSLAST(M50)+1);
M70:=M60>REF(M60,1);
趋势30:DRAWLINE(M50 ,MACD,M70,MACD,1),POINTDOT;
M100:=INTPART(3*20/5);
M200:=REF(MACD,M100)=HHV(MACD,2*M100+1);
M300:=FILTER(M200,M100);
M400:=BACKSET(M300,M100+1);
M500:=FILTER(M400,M100);
M600:=BACKSET(ISLASTBAR,BARSLAST(M500)+1);
M700:=M600>REF(M600,1);
趋势300:DRAWLINE(M500 ,MACD,M700,MACD,1),POINTDOT;
M1M:=INTPART(3*30/5);
M2M:=REF(MACD,M1M)=HHV(MACD,2*M1M+1);
M3M:=FILTER(M2M,M1M);
M4M:=BACKSET(M3M,M1M+1);
M5M:=FILTER(M4M,M1M);
M6M:=BACKSET(ISLASTBAR,BARSLAST(M5M)+1);
M7M:=M6M>REF(M6M,1);
趋势3M:DRAWLINE(M5M ,MACD,M7M,MACD,1),POINTDOT;
A22:=REF(MACD,M)=LLV(MACD,2*M+1);
B22:=FILTER(A22,M);
C22:=BACKSET(B22,M+1);
D22:=FILTER(C22,M);{低点}
T112:=BACKSET(ISLASTBAR,BARSLAST(D22)+1);
U112:=T112>REF(T112,1);
底线:DRAWLINE(D22,MACD,U112,MACD,1),COLORCD7F32,POINTDOT;
MB:=INTPART(3*10/5);
A22A:=REF(MACD,MB)=LLV(MACD,2*MB+1);
B22A:=FILTER(A22A,MB);
C22A:=BACKSET(B22A,MB+1);
D22A:=FILTER(C22A,MB);
T112A:=BACKSET(ISLASTBAR,BARSLAST(D22A)+1);
U112A:=T112A>REF(T112A,1);
底线2:DRAWLINE(D22A,MACD,U112A,MACD,1),COLORCD7F32,POINTDOT;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。