通达信乖离前导指标公式,通达信蚂蝗波段主图指标公式
admin888
|通达信乖离前导指标公式,通达信蚂蝗波段主图指标公式
通达信乖离前导指标公式
用法说明:5日乖离率在中国股市实战中最为有效,准确反映最近5日内买入者的获利情况,5日正乖离越大,表示短线获利越大,风险程度提高,5日乖离为+3 时为警戒区,达到+5或更高坚决卖出;5日负乖离越大,表示短线下跌越深,风险减少,当负乖离达到-3时为安全区,达到-5或更低要坚决买入。5日乖离率 跌至罕见的低点-6.36,在前个交易甚至短期创出了乖离为-7的纪录,然而指数在下跌,乖离率却拒绝下跌,这就是底背离,应重仓买入,当时市场一片恐 慌,但乖离率提示的在-5以下均为极佳买入时机,即使短线被套,但也会在短期解套,此时进取性的投资者果断入场,股指急速回升。具体用法可仔细揣摩。
{参数: N:2,250,12;N1:2,250,24}
AS5:(CLOSE-ma(CLOSE,5))/MA(CLOSE,5)*100,COLORYELLOW,NODRAW;
bias1:(CLOSE-MA(CLOSE,N1))/MA(CLOSE,N1)*100,COLORGREEN,NODRAW;
BIAS2:=(CLOSE-MA(CLOSE,55))/MA(CLOSE,55)*100,COLORGREEN,
stICK,LINETHICK3;
分界线:=BIAS1>=0;
DRAWBAND(分界线,RGB(90,50,180),AS5,(50,50,180));
BIAS:(CLOSE-MA(CLOSE,N))/MA(CLOSE,N)*100,COLORRED;
上轨:MA(BIAS1,20)+1.618*STD(BIAS2,20),COLORLIGRAY,crOSSDOT;
下轨:MA(BIAS1,20)-1.618*STD(BIAS2,20),COLORLIGRAY,CROSSDOT;
【最高】:=BIAS1*1.1,COLORGREEN;
【最低】:=BIAS1*0.90,NODRAW;
【收盘】:=BIAS1,NODRAW;
【开盘】:=REF(【收盘】,1),NODRAW;
STICKLINE(【收盘】>=【开盘】,【最高】,【最低】,0,0),COLORYELLOW;
STICKLINE(【收盘】>=【开盘】,【收盘】,【开盘】,1.5,1),COLORYELLOW;
STICKLINE(【收盘】<【开盘】,【最高】,【最低】,0,0),COLOR00FF00;
STICKLINE(【收盘】<【开盘】,【收盘】,【开盘】,1.5,1),COLOR00FF00;
变异:IF(BIAS< REF(BIAS,1),BIAS,DRAWNULL),COLORLIGREEN,LINETHICK1;
STICKLINE(AS5>0 AND AS5>REF(AS5,1),AS5,分界线,0,0),COLOR00acCC;
UP1:=HHV(BIAS,55);
UP2:=LLV(BIAS,55);
UP3:=BIAS-(BIAS1-BIAS);
UP:IF(BIAS1>UP1 AND BIAS=UP1,MAX(LLV(UP1,10),UP3),UP1),COLORBB9A00;
DN:IF(BIAS1
{叠加百分线}JB:=BIAS1;
EE:=CURRBARSCOUNT<=200;
HH:=CONST(HHV(JB,200));
LL:=CONST(LLV(JB,200));
天:HH,POINTDOT,COLORLIGREEN;
地:LL,POINTDOT,,COLORLIGREEN;
强:CONST(HH-(HH-LL)*1/5),POINTDOT,COLORLIGRAY;
中:CONST(HH-(HH-LL)*1/2),POINTDOT,COLORLIGRAY;
弱:CONST(HH-(HH-LL)*4/5),POINTDOT,COLORLIGREEN;
通达信蚂蝗波段主图指标公式
VAR2:=(3*CLOSE+LOW+OPEN+HIGH)/6;
VAR3:=(20*VAR2+19*REF(VAR2,1)+18*REF(VAR2,2)+17*REF(VAR2,3)+16*REF(VAR2,4)+15*REF(VAR2,5)+14*REF(VAR2,6)+13*REF(VAR2,7)+
12*REF(VAR2,8)+11*REF(VAR2,9)+10*REF(VAR2,10)+9*REF(VAR2,11)+8*REF(VAR2,12)+7*REF(VAR2,13)+6*REF(VAR2,14)+5*REF(VAR2,15)
+4*REF(VAR2,16)+3*REF(VAR2,17)+2*REF(VAR2,18)+REF(VAR2,20))/210;
VAR4:=ma(VAR3,13);
VAR5:=ema(MA(CLOSE,3),34);
VAR6:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
VAR7:=MA(VAR6,5);
VAR8:=MA(VAR6,10);
stICKLINE(IF(VAR3
STICKLINE(VAR3>1.005*VAR4,VAR3,VAR4,10,1),COLORFF00FF;
DRAWTEXT(FILTER(MA(VAR6,10)
DRAWTEXT(FILTER(MA(VAR6,10)>=VAR6,1),VAR8,'↓'),COLOR00FF00;
多空安全线: VAR5,COLORWHITE;
〖关注点〗: STICKLINE(COUNT(VAR3>1.005*VAR4 AND VAR3<=REF(VAR3,1),2)=2 OR
COUNT(IF(VAR3
DRAWTEXT(REF(crOSS(VAR3,VAR4),2) AND VAR3>1.005*VAR4,VAR4,'★买入点'),COLORWHITE;
DRAWTEXT(CROSS(VAR6,VAR7) AND VAR7
{DRAWTEXT(CROSS(VAR7,VAR6) AND VAR7>VAR8,VAR3*1.05,'?洗盘'),COLORWHITE;}
VAR9:=1/WINNER(CLOSE);
VARA:=MA(CLOSE,13);
VARB:=100-Abs((CLOSE-VARA)/VARA*100);
VARC:=LLV(LOW,75);
VARD:=HHV(HIGH,75);
VARE:=(VARD-VARC)/100;
VARF:=SMA((CLOSE-VARC)/VARE,20,1);
VAR10:=SMA((OPEN-VARC)/VARE,20,1);
VAR11:=3*VARF-2*SMA(VARF,15,1);
VAR12:=3*VAR10-2*SMA(VAR10,15,1);
VAR13:=100-VAR12;
VAR14:=100-VAR11;
VAR15:=MA(WINNER(CLOSE*0.95)*100,3);
VAR16:=100-IF(VAR9>5,IF(VAR9<100,VAR9,VARB-10),0);
VAR17:=VAR15>VARB;
VAR18:=REF(LOW,1)*0.9;
VAR19:=LOW*0.9;
VAR1A:=(VAR19*vol+VAR18*(CAPITAL-VOL))/CAPITAL;
VAR1B:=EMA(VAR1A,30);
VAR1C:=CLOSE-REF(CLOSE,1);
VAR1D:=MAX(VAR1C,0);
VAR1E:=ABS(VAR1C);
VAR1F:=SMA(VAR1D,7,1)/SMA(VAR1E,7,1)*100;
VAR20:=SMA(VAR1D,13,1)/SMA(VAR1E,13,1)*100;
VAR21:=BARSCOUNT(CLOSE);
VAR22:=SMA(MAX(VAR1C,0),6,1)/SMA(ABS(VAR1C),6,1)*100;
VAR23:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
VAR24:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR25:=SMA((SMA(VAR24,4,1)-50)*2,3,1);
VAR26:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR27:=SMA(VAR26,4,1);
VAR28:=SMA(VAR27,3,1);
VAR29:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VAR2A:=VAR22<=25 AND VAR23<-95 AND VAR29>20 AND VAR25<-30 AND VAR28<30 AND VAR1B-CLOSE>=-0.25 AND VAR1F<22 AND VAR20<28AND VAR21>50;
DRAWTEXT(CROSS(VAR2A,0.5) AND COUNT(VAR2A=1,10)=1,VAR4,'♂发射资金'),COLORRED;
DRAWTEXT(CROSS(VAR17,0.5) AND COUNT(VAR17=1,10)=1,VAR3,'井喷'),COLORWHITE;
VAR326:=IF(CLOSE>REF(CLOSE, 1),88,0);
VAR327:=CLOSE/REF(CLOSE, 1)>1.050 AND HIGH/CLOSE<1.010 AND VAR326>0;
STICKLINE(VAR327>90,L*0.99,L*0.95,4,0),COLORYELLOW;
DRAWTEXT(VAR327>90,LOW*0.95,'追涨'),COLORYELLOW;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。