通达信多日K值指标公式,通达信量价急升指标公式
admin888
|通达信多日K值指标公式,通达信量价急升指标公式
通达信多日K值指标公式
stICKLINE(C>0,20,80.1,5,0),COLOR2F4F4F;
STICKLINE(C>0,100,80.1,5,0),COLOR5C4033;
STICKLINE(C>0,0,20.1,5,0),COLOR5C4033;
{多日k线多头排列时,出现买进信号时可买进,持股时间依行情而定,做多;
多日K线向下空头发散时,清仓。}VAR3:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K13:SMA(VAR3,3,1) ;
D14:Sma(K13,3,1) ;
J13:=3*K13-2*D14;
VAR31:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
K21:=SMA(VAR31,3,1) ;
D21:=SMA(K21,3,1) ;
VAR34:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
K34:=SMA(VAR34,3,1);
D34:=SMA(K34,3,1) ;
VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K55:SMA(VAR55,5,1) ,COLORGREEN,LINETHICK1;
D55:SMA(K55,5,1),COLORFF9933;
J55:=3*K55-2*D55;
DIBU:= K13<20 AND D14<20 AND K21<20 AND D21<20 AND K34<20 AND D34<20 AND K55<20 AND D55<20;
STICKLINE(DIBU=1,80,60,5.8,1),COLORRED;
TOBU:= K13>80 AND D14>80 AND K21>80 AND D21>80 AND K34>80 AND D34>80 AND K55>80 AND D55>80;
STICKLINE(TOBU=1,40,20,5.8,1),COLORGREEN;
顶部:80,COLOR55AA77,LINETHICK1;
底部:20,COLOR55AA77,LINETHICK1;
中轴线:50,POINTDOT,COLORWHITE;
天线:100, POINTDOT,COLORWHITE;
底线:0, POINTDOT,COLORWHITE;
现价:=C;
{阶段指标信号}VAR2:=LLV(LOW,10);
VAR33:=HHV(HIGH,25);
动力线:=ema((CLOSE-VAR2)/(VAR33-VAR2)*4,4);
底部2:=0.2,COLOR70DB93;
关注:=0.5,COLORYELLOW;
数值:=动力线,COLORA8A8A8;
阶段底部:=crOSS(动力线,底部2);
STICKLINE(阶段底部,0.2,49,1,0),COLORRED;
DRAWICON(阶段底部,50,11);
阶段关注:=CROSS(动力线,关注);
STICKLINE(阶段关注,0.1,20,1,0),COLORMAGENTA;
阶段卖出:= 3.2,COLORC6C600;
BB:=3.5,COLOR0088FF;
清仓卖出:=3.5,COLORFF75FF;
清仓:=CROSS(清仓卖出,动力线);
STICKLINE(清仓,100,70,1,0),COLORBLUE;
短线卖出:=CROSS(阶段卖出,动力线);
STICKLINE(短线卖出,100,90,2,0),COLORGREEN;
{信号灯指标信号}A1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
A2:=SMA(A1,3,1);
A3:=SMA(A2,3,1);
A4:=3*A2-2*A3;
X:=LLV(A4,2)=LLV(A4,8);
LC:=REF(CLOSE,1);
rsi5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(Abs((CLOSE - LC)),5,1)) * 100);
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
pdi:=((DMP * 100) / TR1);
mdi:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
wr10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
NEWvol:=(RSI5 - WR10);
最佳买入:=(AV + NEWVOL);
最佳买入选股:=IF(CROSS(最佳买入,0),1,0);
VAR11:=SMA(最佳买入选股,3,1);
VAR22:=SMA(VAR11,3,1);
VAR333:=SMA(VAR22,3,1);
XG:=CROSS(A4,REF(A4+0.01,1)) AND X AND A4<20 AND CROSS(VAR22,VAR333) AND VAR22<40;
STICKLINE(XG,0.2,10,2,0),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=60,90,'K值线多头排列,做多'),COLORRED;
通达信量价急升指标公式
ma1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20);
MA4:MA(CLOSE,30);
MA5:MA(CLOSE,55);
MA8:MA(CLOSE,125);
MA6:=MA(vol,5);
MA7:=MA(VOL,40);
Var1:=ema(AMOUNT/VOL/100,3);
天际:=EMA(Var1,240);
水平面:= EMA(Var1,88)*0.85;
海底:=EMA(Var1,88)*0.74;
Var22:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
Var33:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
VarF:=(HIGH+LOW+CLOSE)/3;
Var10:=(VarF-MA(VarF,14))/(0.015*AVEDEV(VarF,14));
Var11:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;
Var12:=SMA(Var11,3,1);
Var13:=SMA(Var12,3,1);
Var14:=3*Var12-2*Var13;
Var15:=CLOSE< REF(CLOSE,1);
Var16:=OPEN< REF(CLOSE,1);
Var17:=(Var13< 10 AND Var33< -30 AND Var22>6 AND Var10<-107);
Q:= Var17 OR COUNT(Var17,10) AND Var15 OR COUNT(Var17,10) AND Var16;
AA:=FILTER(Q,20);
RSV:= (CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100;
FAstK:=SMA(RSV,3,1);
K:=SMA(FASTK,3,1);
D:=SMA(K,5,1);
A1:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;
A2:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
wr1:= -100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34));
WR2:= -100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55));
WR3:= -100*(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89));
b:=SMA((3*h+2*c+o+l)/7,10,1);
w1:=-100*(HHV(Hhv(b,1),14)-b)/(HHV(Hhv(b,1),14)-LLV(Llv(b,1),14));
w2:=-100*(HHV(Hhv(b,1),34)-b)/(HHV(Hhv(b,1),34)-LLV(Llv(b,1),34));
w3:=-100*(HHV(Hhv(b,1),55)-b)/(HHV(Hhv(b,1),55)-LLV(Llv(b,1),55));
w4:=-100*(HHV(Hhv(b,1),5)-b)/(HHV(Hhv(b,1),5)-LLV(Llv(b,1),5));
价格:=(w1+w2+w3+w4)/4;
a:=SMA(vol,10,1);
wr00:=-100*(HHV(Hhv(a,1),14)-a)/(HHV(Hhv(a,1),14)-LLV(Llv(a,1),14));
w11:=-100*(HHV(Hhv(a,1),34)-a)/(HHV(Hhv(a,1),34)-LLV(Llv(a,1),34));
w22:=-100*(HHV(Hhv(a,1),55)-a)/(HHV(Hhv(a,1),55)-LLV(Llv(a,1),55));
w33:=-100*(HHV(Hhv(a,1),5)-a)/(HHV(Hhv(a,1),5)-LLV(Llv(a,1),5));
量:=(wr00+w11+w22+w33)/4;
wr:=-100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55));
关注买:=crOSS(WR,-45) AND CLOSE>MA5 AND MA3>REF(MA3,1) AND K>REF(K,1);
DRAWTEXT(关注买 ,LOW-LOW*0.02,'▲关注买'),colorred;
量价齐升:=((CROSS(量,-45)) or (CROSS(量,-50))) AND ((CROSS(WR,-45)) or (CROSS(WR,-50))) AND CROSS(CLOSE,ma4) AND CROSS(CLOSE,ma5);
DRAWTEXT(量价齐升,LOW-LOW*0.02,'▲量价齐升'),COLORyellow;
bb:=CLOSE=HIGH AND CLOSE>REF(HIGH,1) AND WR>=REF(WR,1) AND ((REF(CLOSE,1)
半仓买:=FILTER(bb,5);
DRAWICON(半仓买,LOW-LOW*0.01,1),colorred;
DRAWTEXT(半仓买,LOW-LOW*0.01,'半仓买'),colorred;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。