当前位置: 网站首页 > 股票软件公式 > 通达信公式 > 文章 当前位置: 通达信公式 > 文章

通达信晟誊强弱通道,潜龙冲天,风浪波段指标

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

晟誊强弱通道 生命线 回调支撑 牛熊分界:

N:=13;
ZC:=IF(C=INDEXC,(INDEXC+INDEXH+INDEXL+INDEXO)/4,AMOUNT/(V)/100);
KB713:=MA(HHV(MA(CLOSE,3),77),3);
KB75:=MA(LLV(MA(CLOSE,3),77),7);
目标:MA(HHV(MA(CLOSE,3),77),7),COLORFFAACC,DOTLINE;
中线:EMA(((KB713 + KB75) / 2),5),COLORFFAACC,DOTLINE;
防线:MA(LLV(MA(CLOSE,3),77),3),COLORFFAACC,DOTLINE;
生命线:EMA(C,21),CIRCLEDOT,COLOR008888;
回调支撑:EMA(C,55),CIRCLEDOT,COLOR888888;
牛熊分界:EMA(C,99),CIRCLEDOT,COLOR888800;
实力:IF(VOL>0,ZC,C),LINETHICK0,COLORRED;
X:=EMA(实力,3)>=EMA(实力,5) AND EMA(实力,5)>=EMA(实力,8) AND EMA(实力,8)>=EMA(实力,13);
LC1:= SMA(C,2,1);
TCRSI:=SMA(MAX(C-LC1,0),N,1)/SMA(ABS(C-LC1),N,1)*100;
LC2:= SMA(H,2,1);
THRSI:=SMA(MAX(H-LC2,0),N,1)/SMA(ABS(H-LC2),N,1)*100;
LC3:= SMA(O,2,1);
TORSI:=SMA(MAX(O-LC3,0),N,1)/SMA(ABS(O-LC3),N,1)*100;
LC4:= SMA(L,2,1);
TLRSI:=SMA(MAX(L-LC4,0),N,1)/SMA(ABS(L-LC4),N,1)*100;
TVAR:=SMA(((10000 * CLOSE) / INDEXC),2,1);
M20:MA(C,20),COLOR00FF00;
上轨:M20+ 2*STD(CLOSE,20),COLOR00CCCC,LINETHICK2;
下轨:M20- 2*STD(CLOSE,20),COLOR00CCCC,LINETHICK2;
大盘关联:=SMA(MAX(((10000 * C) / INDEXC)-TVAR,0),N,1)/SMA(ABS(((10000 * C) / INDEXC)-TVAR),N,1)*100;
TTRSI:=(TCRSI+TORSI+THRSI+TLRSI+大盘关联)/5;
WWWCHNMONEYCOM:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
STICKLINE(X AND C>=O,O,C,5,0),COLOR0000FF;
STICKLINE(X AND C>=O,H,L,0,1),COLOR0000FF;
STICKLINE(X AND C<O,O,C,5,1),COLORFF00FF;
STICKLINE(X AND C<O,H,O,0,1),COLORFF00FF;
STICKLINE(X AND C<O,L,C,0,1),COLORFF00FF;
STICKLINE(NOT(X) AND C<O,O,C,5,0),COLOR00EE00;
STICKLINE(NOT(X) AND C<O,H,L,1,0),COLOR00EE00;
STICKLINE(NOT(X) AND C>=O,O,C,5,1),COLORFFBB00;
STICKLINE(NOT(X) AND C>=O,H,C,1,1),COLORFFBB00;
STICKLINE(NOT(X) AND C>=O,L,O,1,1),COLORFFBB00;



潜龙冲天:

{潜龙冲天}
N1:=5;
N2:=62;
LA:=(C+O)/2;
LB:=(LA+L)/2;
LC:=(LA+H)/2;
LD:=REF((C+O+H+L)/4,1);
LE:=(H+L)/2;
RSI1:=SMA(MAX(LA-LD,0),N1,2)/SMA(ABS(LA-LD),N1,2)*100;
RSI3:=SMA(MAX(L-LD,0),N2,1)/SMA(ABS(L-LD),N2,1)*100;
RSI4:=SMA(MAX(LB-LD,0),N2,1)/SMA(ABS(LB-LD),N2,1)*100;
V3:=SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),2,1)*100;
V5:=SMA(V3,2,1);{顶尖财经:股票学院 http://www.58188.com}
LCC:=REF(CLOSE,1);
RSI111:=SMA(MAX(CLOSE-LCC,0),N1,2)/SMA(ABS(CLOSE-LCC),N1,2)*100,COLORBLACK;
抄底:IF(V3>V5 AND RSI111>REF(RSI111,1) AND V3>REF(V3,1)
  AND CROSS(RSI111,V3) AND RSI4>V3 AND V3<28.888 AND V3>3.888 AND V5>REF(V5,1)
  ,100,0);




风浪波段(顶尖财经:股票学院 http://www.58188.com):

做波段的附图指标,
指标的用法写在了截图上,
你可以对照图片来参悟,
 
记住:一旦出现0轴上的二次共振就可能是短线的行情起爆点哦

 {风浪波段}

DIFFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEAAA:=EMA(DIFFF,9);
MACD2:=2*(DIFFF-DEAAA);
(CLOSE<0 AND CROSS(DIFFF,0),H*1.3),COLOR000080,NODRAW;
(CLOSE<0 AND CROSS(MACD2,0),H*1.3),COLOR000080,NODRAW;
(CLOSE<0 AND CROSS(0,DIFFF),H*1.3),COLOR808080,NODRAW;
(CLOSE<0 AND CROSS(0,MACD2),H*1.3),COLOR808080,NODRAW;
DU0:=CROSS(DIFFF,0);
UD0:=CROSS(0,DIFFF);
TDU0:=BARSLAST(DU0);
TUD0:=BARSLAST(UD0);
DU3:=REF(DU0,1);
UD3:=REF(UD0,1);
TDU3:=BARSLAST(DU3);
TUD3:=BARSLAST(UD3);
UDGLINE:=IF(TDU3<TUD3,REF(HHV(HIGH,2),TDU3),REF(LLV(LOW,2),TUD3));
JDU0:=REF(CLOSE,1)<=REF(UDGLINE,1) AND CLOSE>UDGLINE AND TDU0<TUD0;
JUD0:=REF(CLOSE,1)>=REF(UDGLINE,1) AND CLOSE<UDGLINE AND TUD0<TDU0;
JDU1:=JDU0 AND COUNT(JDU0,TDU0)=1;
JUD1:=JUD0 AND COUNT(JUD0,TUD0)=1;
JDU2:=JDU1 AND REF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);
JUD2:=JUD1 AND REF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);
JDU3:=JDU1 AND REF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);
JUD3:=JUD1 AND REF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);
BSLINE:=IF(BARSLAST(JDU2)<BARSLAST(JUD2),IF(REF(CROSS(0,MACD2),1),LLV(LOW,2),REF(LLV(LOW,2),BARSLAST(REF(CROSS(0,MACD2),1)))),IF(REF(CROSS(MACD2,0),1),HHV(HIGH,2),REF(HHV(HIGH,2),BARSLAST(REF(CROSS(MACD2,0),1)))));
{}
STICKLINE(MACD2>=0,0,MACD2,2,0),COLORYELLOW;{0轴上升,股民学院}
STICKLINE(MACD2>=0 AND MACD2<REF(MACD2,1),0,MACD2,2,1),COLORCYAN;{0轴上跌}
STICKLINE(MACD2<0,0,MACD2,2,0),COLORCYAN;{0轴下跌}
STICKLINE(MACD2<0 AND MACD2>REF(MACD2,1),0,MACD2,2,1),COLORYELLOW;{0轴下升}
0,DOTLINE,COLORGRAY;
MID:=(7*CLOSE+LOW+OPEN+HIGH)/10;
MA0:=MA(MID,40);
MA1:=MA(MID,1);
A1:=MA1-MA0;
MA2:=MA(MID,2);
A2:=MA2-MA0;
MA3:=MA(MID,3);
A3:=MA3-MA0;
MA4:=MA(MID,4);
A4:=MA4-MA0;
MA5:=MA(MID,5);
A5:=MA5-MA0;
MA6:=MA(MID,6);
A6:=MA6-MA0;
MA7:=MA(MID,7);
A7:=MA7-MA0;
MA8:=MA(MID,8);
A8:=MA8-MA0;
MA9:=MA(MID,9);
A9:=MA9-MA0;
MA10:=MA(MID,10);
A10:=MA10-MA0;
MA11:=MA(MID,11);
A11:=MA11-MA0;
MA12:=MA(MID,12);
A12:=MA12-MA0;
MA13:=MA(MID,13);
A13:=MA13-MA0;
MA14:=MA(MID,14);
A14:=MA14-MA0;
MA15:=MA(MID,15);
A15:=MA15-MA0;
MA16:=MA(MID,16);
A16:=MA16-MA0;
MA17:=MA(MID,17);
A17:=MA17-MA0;
MA18:=MA(MID,18);
A18:=MA18-MA0;
MA19:=MA(MID,19);
A19:=MA19-MA0;
MA20:=MA(MID,20);
A20:=MA20-MA0;
MA21:=MA(MID,21);
A21:=MA21-MA0;
MA22:=MA(MID,22);
A22:=MA22-MA0;
MA23:=MA(MID,23);
A23:=MA23-MA0;
MA24:=MA(MID,24);
A24:=MA24-MA0;
MA25:=MA(MID,25);
A25:=MA25-MA0;
MA26:=MA(MID,26);
A26:=MA26-MA0;
MA27:=MA(MID,27);
A27:=MA27-MA0;
MA28:=MA(MID,28);
A28:=MA28-MA0;
MA29:=MA(MID,29);
A29:=MA29-MA0;
MA30:=MA(MID,30);
A30:=MA30-MA0;
MA31:=MA(MID,31);
A31:=MA31-MA0;
MA32:=MA(MID,32);
A32:=MA32-MA0;
MA33:=MA(MID,33);
A33:=MA33-MA0;
MA34:=MA(MID,34);
A34:=MA34-MA0;
MA35:=MA(MID,35);
A35:=MA35-MA0;
MA36:=MA(MID,36);
A36:=MA36-MA0;
MA37:=MA(MID,37);
A37:=MA37-MA0;
MA38:=MA(MID,38);
A38:=MA38-MA0;
MA39:=MA(MID,39);
A39:=MA39-MA0;
MA40:=MA(MID,40);
A40:=MA40-MA0;
LC:=(A6+A7+A8+A9+A10+A11+A12+A13+A14+A15+A16+A17+A18+A19+A20)/15,LINETHICK0;
VAR1:=LC;
VAR2:=REF(LC,1);
VAR3:=VAR1>VAR2 AND REF(LC,1)<REF(LC,2);
VAR4:=VAR1<VAR2 AND REF(LC,1)>REF(LC,2);
均线发散:STICKLINE(VAR1>VAR2,LC,REF(LC,1),3,0),COLORRED; 
均线粘合:STICKLINE(VAR1<VAR2,LC,REF(LC,1),3,0),COLORGREEN;
EMA5:MA(VAR1,5),COLORWHITE;
EMA10:MA(VAR1,10),COLORYELLOW;
DIFF:=EMA(CLOSE,21)-EMA(CLOSE,34);
DEAA:=EMA(DIFF,8);
MACDD:=8*(DIFF-DEAA);
MARDD:=SMA(MACDD,2,1);
STICKLINE(MACDD>MARDD,MACDD,MARDD,1.8,0),COLORMAGENTA;
STICKLINE(MACDD<MARDD,MACDD,MARDD,1.8,0),COLORFF8000;


上一篇:通达信主力骗钱点,底部选股,优化MACD主图指标

下一篇:通达信横向条状筹码分布,超跌反弹,卖股专用指标