正点财经首页     加入收藏
指标首页 通达信指标 同花顺指标 大智慧指标 飞狐指标 指标教程 指标实战 指标百科 股市学院
指标源码搜索: 热词:买卖  黑马  K线  牛股  量能  波段  顶底  抄底  成本  逃顶  MACD  涨停  换手率
你的位置: > 正点财经 > 炒股指标公式 > 通达信指标公式 > 正文

通达信逍遥主力资金波段指标公式

通达信指标公式源码概况:
  • 指标类别: 通达信指标公式
  • 授权方式: 免费版
  • 指标评级: ★★★★★
  • 指标分类: 趋势
  • 画线方法: 副图
  • 日期:2020-07-15 来源:互联网
通达信指标公式源码介绍:

通达信逍遥主力资金波段指标公式:

Z_J1:=EMA(C,2)-EMA(C,150);
Z_J2:=EMA(Z_J1,100);
Z_J3:=2*(Z_J1-Z_J2);
Z_J4:=POW(Z_J3,3)*0.1+POW(Z_J3,1);
主力资金: IF(Z_J3>0.1,Z_J4,0)*10,COLORGREEN;
G_J1:=EMA(C,2)-EMA(C,89);
G_J2:=EMA(G_J1,30);
G_J3:=2*(G_J1-G_J2)*9.8;
G_J4:=POW(G_J3,3)*0.1+POW(G_J3,2);
攻击资金:IF(G_J3>0.015,G_J4,0)/28,COLORRED;
{中长趋势}
V8:=600*(EMA(C,3)-EMA(L,30))/EMA(L,30);
V9:=EMA(V8,7);
VA:=(WINNER(120*C/100)-WINNER(100*C/100))*100;
VB:=(-100)*(WINNER(120*C/100)-WINNER(100*C/100))+5;
VC:=(2*C+H+L)/4;
VD:=LLV(L,34);
VE:=HHV(H,34);
VF:=LLV(L,21);
V10:=HHV(H,21);
V11:=EMA((VC-VF)/(V10-VD)*100,5);
V12:=EMA((VC-VD)/(VE-VD)*100,8);
X:V11,COLORWHITE;
顶区:V12,COLORMAGENTA;
V13:=EMA(V12,5);
STICKLINE((V12>V13),V12,V13,6,0),COLOR0000A8;
STICKLINE((V12>V13),V12,V13,5,0),COLOR0000C0;
STICKLINE((V12>V13),V12,V13,4,0),COLOR0000E0;
STICKLINE((V12>V13),V12,V13,3,0),COLOR0000F0;
STICKLINE((V12>V13),V12,V13,2,0),COLOR0000D0;
STICKLINE((V12>V13),V12,V13,1,0),COLOR8080FF;
DRAWTEXT(CROSS(X,顶区),(X,顶区),'★曙光现'),COLOR00FFFF;
RSV2:=(CLOSE-LLV(LOW,65))/(HHV(HIGH,65)-LLV(LOW,65))*100;
K2:=SMA(RSV2,12,1);
D2:=SMA(K2,12,1);
STICKLINE(EMA(D2,6)>REF(EMA(D2,6),1) ,EMA(D2,6) ,REF(EMA(D2,6),1) ,3 ,0),COLORMAGENTA;
STICKLINE(EMA(D2,6)<REF(EMA(D2,6),1) ,EMA(D2,6) ,REF(EMA(D2,6),1) ,3 ,0 ),COLORGREEN;
{主要部分}
趋势:=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),LINETHICK2,COLORWHITE;
买警: IF(趋势<=30,-20,-6),LINETHICK1,COLORGREEN;
买警1: IF(趋势<=25,-16,-4),LINETHICK2,COLORYELLOW;
买警2: IF(趋势<=15,-12,-2),LINETHICK2,COLORMAGENTA;
买警3: IF(趋势<=10,-10,0),LINETHICK3,COLORRED;
卖1: IF(趋势>=95,100,110),LINETHICK2,COLORRED;
卖2: IF(趋势>=88,95,107),LINETHICK2,COLORLIMAGENTA;
卖3: IF(趋势>=81,90,104),LINETHICK2,COLORMAGENTA;
卖4: IF(趋势>=74,85,101),LINETHICK2,COLORBLUE;
{短中长牛}
N1:=5;N2:=10;
LC:=REF(CLOSE,1);
RSI5:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*10,COLORFF00FF,LINETHICK1;
RSI10:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*10,COLOR00FFFF;
VAR1:=C-REF(C,1);
VAR2:=100*EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6);
MA5:=EMA(C,5);
MA13:=EMA(C,13);
UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS
(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS
(MA5,MA13))+1),0),COLOR0000FF;
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS
(MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS
(MA13,MA5))+1),0),COLOR00FF00;
BT:(LLV(VAR2,2)=LLV(VAR2,7) AND COUNT(VAR2<0,2) AND CROSS(VAR2,MA(VAR2,2))) AND
REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1);
STICKLINE(UP,-50,-45,3,0),COLOR0000FF;
STICKLINE(DOWN,-50,-45,3,0),COLOR00FF00;
STICKLINE(BT,-50,-20,2,0),COLOR000088;
STICKLINE(BT,-50,-20,1,0),COLOR0000CC;
STICKLINE(BT,-50,-20,0.22,0),COLOR0000FF;
DRAWTEXT(BT,-21,'短牛'),COLOR0000FF;
TJ1:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HHV(H,21)*0.82;
STICKLINE(TJ1,-50,-30,4,0),COLOR880088;
STICKLINE(TJ1,-50,-30,2.5,0),COLORAA00AA;
STICKLINE(TJ1,-50,-30,1.8,0),COLORCC00CC;
STICKLINE(TJ1,-50,-30,0.8,0),COLORFF00FF;
DRAWTEXT(TJ1,-31,'中牛'),COLORFF00FF;
HR:=HHV(HIGH,55);
HRY:=LLV(LOW,55);
HRY11:=HR*HRY;
HRY33:=SQRT(HRY11);
TJ2:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY33;
STICKLINE(TJ2,-50,-40,6,0),COLOR008888;
STICKLINE(TJ2,-50,-40,3,0),COLOR00AAAA;
STICKLINE(TJ2,-50,-40,2,0),COLOR00CCCC;
STICKLINE(TJ2,-50,-40,0.5,0),COLOR00FFFF;
DRAWTEXT(TJ2,-41,'大牛'),COLOR00FFFF;
ST:=REF(UP,1)>REF(UP,2) AND DOWN<REF(UP,1);
STICKLINE(ST,130,121,5,0),COLOR008800;
STICKLINE(ST,130,121,2,0),COLOR00AA00;
STICKLINE(ST,130,121,1,0),COLOR00CC00;
STICKLINE(ST,130,121,0.2,0),COLOR00FF00;
DRAWTEXT(ST,115,'别贪了!'),COLOR00FF00;
DRAWTEXT(CURRBARSCOUNT=130,-65,'★抄底及波段特征明显个股,暴跌
慎用,结合RSI低位时用更加可靠!!★'),COLOR00FF00;

通达信逍遥主力资金波段指标公式实例图解:

通达信逍遥主力资金波段指标公式

通达信逍遥主力资金波段指标公式

  • 风云榜
  • 总点击榜
  • 最新指标
月点击榜指标公式
更多指标百科
关于我们 | 商务合作 | 联系投稿 | 联系删稿 | 合作伙伴 | 法律声明 | 网站地图