设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

通达信副图指标公式 通达信博弈长阳副图指标公式

2015-1-20 13:35:16 股票入门 http://rumen.southmoney.com

  南方财富网带来通达信副图指标公式 通达信博弈长阳副图指标公式:

  LC:=REF(CLOSE,1);

  RSI:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORWHITE,LINETHICK1;

  RSI2:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;

  WR:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));

  WR反向:=(0-WR)-100,COLORYELLOW;

  RSI买点:=RSI《20 AND RSI》REF(RSI,1);

  WR反向买点:=WR反向》-80 AND WR反向《REF(WR反向,1);

  STICKLINE(RSI买点 AND WR反向买点,0,55,2,1),COLORYELLOW;

  DRAWTEXT(RSI买点 AND WR反向买点,60,‘队长’),COLORYELLOW;

  IF(RSI》=50 AND RSI《=90,RSI,DRAWNULL),LINETHICK2,COLORRED;

  IF(RSI《=20,RSI,DRAWNULL),LINETHICK2,COLORYELLOW;

  IF(RSI》=90,RSI,DRAWNULL),LINETHICK2,COLORGREEN;

  T0:=BARSCOUNT(CLOSE)》12;

  T1:=CLOSE=LLV(CLOSE,12);

  T2:=RSI》LLV(RSI,12);

  T3:=RSI《21;

  TRSI:=T0 AND T1 AND T2 AND T3 AND CLOSE/HHV(CLOSE,120)《0.7;

  RSI成W底:=REF(TRSI,1) AND CLOSE》REF(CLOSE,1);

  STICKLINE(RSI成W底,80,0,1,0),COLOR0000FF;

  DRAWTEXT(RSI成W底,85,‘W底’),COLOR0000FF;

  VAR1:=SUM(IF(CLOSE》REF(CLOSE,1),VOL,IF(CLOSE《REF(CLOSE,1),-VOL,0)),0);

  VAR2:=SUMBARS(VOL,CAPITAL);

  VAR3:=IF(CLOSE》LLV(CLOSE,VAR2),1,-1);

  VAR4:=IF(VAR1》LLV(VAR1,VAR2),1,-1);

  VAR5:=VAR3*VAR4;

  VAR6:=IF(VAR5=-1,1,0);

  VAR7:=“KD.K#WEEK”《20;

  周KDJ低位:IF(VAR7 AND VAR6 AND CLOSE=LLV(CLOSE,5),20,0),STICK,COLORBLUE;

  90 DOTLINE COLORRED;

  20 DOTLINE COLORGREEN;

  AA3:=BARSLAST(REF(CROSS(RSI,RSI2),1));

  AB3:=REF(C,AA3+1)》C AND REF(RSI,AA3+1)《RSI AND CROSS(RSI,RSI2);

  AC3:=BARSLAST(REF(CROSS(RSI2,RSI),1));

  AD3:=REF(C,AC3+1)《C AND REF(RSI,AC3+1)》RSI AND CROSS(RSI2,RSI);

  DRAWTEXT(AD3,RSI+0.09,‘顶背’),COLORGREEN;

  DRAWTEXT(AB3,RSI-0.09,‘底背’),COLORMAGENTA;

  IF(AB3,40,0),STICK,LINETHICK2,COLORMAGENTA;

  IF(AD3,40,0),STICK,LINETHICK2,COLORGREEN;

  P:=10;

  A3:=REF(RSI,P)=HHV(RSI,2*P+1);

  B3:=FILTER(A3,P);

  C3:=BACKSET(B3,P+1);

  D3:=FILTER(C3,P);{高点}

  A4:=REF(RSI,P)=LLV(RSI,2*P+1);

  B4:=FILTER(A4,P);

  C4:=BACKSET(B4,P+1);

  D4:=FILTER(C4,P);{低点}

  DRAWICON(D3,RSI,2);

  DRAWICON(D4,RSI,1);

  博弈K线长:=100*(WINNER(CLOSE)-WINNER(OPEN));

  博弈K线收盘差:=博弈K线长》=20;

  HSL:=100*VOL/(FINANCE(7)/100);

  换手率:=MA(HSL,1)《3;

  博弈长阳:=博弈K线收盘差 AND 换手率,COLORMAGENTA;

  STICKLINE(博弈K线收盘差 AND 换手率,0,50,1,1),COLORMAGENTA;

  DRAWTEXT(博弈长阳,博弈长阳+60,‘博弈’),COLORMAGENTA;

  N1:=5;N2:=8;

  RSI11:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;

  RSI21:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;

  准备:=CROSS(RSI11,20) AND CROSS(RSI11,RSI21) AND RSI11《50;

  STICKLINE(准备,0,20,4,0 ),COLOR000099;

  STICKLINE(准备,0,20,4,0 ),COLOR000099;

  STICKLINE(准备,0,20,3,0 ),COLOR0000BB;

  STICKLINE(准备,0,20,1.5,0 ),COLOR0000DD;

  STICKLINE(准备,0,20,0.3,0 ),COLOR0000FF;

  DRAWTEXT(准备,18,‘准’),COLORYELLOW;

  DRAWTEXT(准备,14,‘备’),COLORYELLOW;

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。