您当前的位置:股票 > 财经资讯 > 财经频道

通达信主力骗线MACD指标公式,通达信天潭趋势主图指标公式

2024-06-15 23:17:50 来源: 作者: admin888
分享到
关注牛市通网在线:
  • 扫描二维码

    关注√

    牛市通网微信

在线咨询:
  • 扫描或点击关注牛市通网在线客服

通达信主力骗线MACD指标公式,通达信天潭趋势主图指标公式

通达信主力骗线MACD指标公式

N:=24;

VAR1:=ema(Ema(CLOSE,13),13);

控盘指数: (VAR1-REF(VAR1,1))/REF(VAR1,1)*1000,POINTDOT,COLORFFCCCC;

stICKLINE(控盘指数<0,控盘指数,0,2,0),COLORGRAY;

无庄控盘: 控盘指数<0,LINETHICK0,COLORGRAY;

STICKLINE(控盘指数>REF(控盘指数,1) AND 控盘指数>0 AND 控盘指数<3,控盘指数,0,2,1),COLORRED;

STICKLINE(控盘指数>REF(控盘指数,1) AND 控盘指数>0 AND 控盘指数>3,控盘指数,0,2,1),COLORRED;

STICKLINE(控盘指数>REF(控盘指数,1) AND 控盘指数>3,控盘指数,3,4,1),COLORFF00FF;

s主力控盘: 控盘指数>REF(控盘指数,1) AND 控盘指数>0,LINETHICK0,COLORRED;

TICKLINE(控盘指数0,控盘指数,0,2,0),COLOR00FF00;

控盘减弱: 控盘指数0,LINETHICK0,COLOR00FF00;

VARA:= EMA(0.667*REF(控盘指数,1)+0.333*控盘指数,2);

STICKLINE(控盘指数>VARA,控盘指数,VARA,2,0),COLORRED;

B2:= 控盘指数>VARA;

准备: B2>REF(B2,1) AND 控盘指数<(-2),COLORYELLOW;

DRAWTEXT(准备,3,'准备'),COLORYELLOW;

B1:= (控盘指数>REF(控盘指数,1) AND 控盘指数>0)=1;

开始控盘: B1>REF(B1,1),COLORMAGENTA,LINETHICK3;

A:=(3*C+L+O+H)/6;

X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/210;

mtm:=C-REF(C,1);

DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(Abs(MTM),6),6);

CB:=EMA(X,13);

买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) ANDcrOSS(DX,MA(DX,2)),1,0);

DRAWICON(FILTER(买=1,5),L*0.11,1);

difF:(EMA(CLOSE,12) - EMA(CLOSE,26))*20,COLORWHITE,LINETHICK1;

DEA:EMA(DIFF,9),COLORYELLOW,LINETHICK1;

macd:2*(DIFF-DEA), COLORSTICK;

MacD1:=2*(DIFF-DEA),COLORRED,NODRAW;

MACD2:=EMA(MACD1,3),COLORCYAN,NODRAW;

STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,2,0),COLORRED;

STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,2,0),COLORYELLOW;

STICKLINE(MACD1

S1:=MACD<0;

S2:= (MACD>=0);

S3:=BArslAST(CROSS(DIFF,DEA));

S4:=REF(S3,S3+1);

S5:=DEA>REF(DEA,S4);

S6:=DEA;

上成立:=CROSS(DIFF,DEA) AND S5;

下成立:=CROSS(DIFF,DEA) AND S6;

L1:=(EMA(CLOSE,3) - EMA(CLOSE,13));

L2:=EMA(L1,9);

L3:=BARSLAST(CROSS(L1,L2));

L4:=REF(L3,L3+1);

L5:=L2;

变盘:CROSS(L1,L2) AND L5,NODRAW,COLORD6FF9C;

STICKLINE(变盘,5,0,0,1),COLORD6FF9C;

LS:=IF(DIFF>DEA AND DIFF>0,1,0);

加速上扬:IF(REF(LS=0,1) AND LS=1,0.1,0);

XG1:CROSS(MACD1,MACD2) AND MACD1<0,NODRAW;

XG2:CROSS(DIFF,DEA),NODRAW

M1:=MACD>REF(MACD,1) AND DIFF

绿柱短了:M1 AND COUNT(M1,10)=1 AND C>MA(C,55) AND COUNT(MACD<0,5)>=5,NODRAW;

DRAWTEXT(绿柱短了,MACD,'买点来了');

DIFL:=EMA(V,12)-EMA(V,26);

DIF:=EMA(C,12)-EMA(C,26);

BL:=DIFL>REF(DIFL,1) AND DIF

四天: REF(BL,3)=1 AND REF(BL,2)=1 AND REF(BL,1)=1 AND BL;

三天:REF(BL,2)=1 AND REF(BL,1)=1 AND BL;

{VERTLINE(上成立,3),COLORYELLOW;

VERTLINE(下成立,3),COLORRED;

}IF(DIFF>DEA,DIFF,DRAWNULL),COLORFF11CC,LINETHICK1;

IF(DIFF>DEA AND DIFF<0,DIFF,DRAWNULL),COLORRED,LINETHICK1;

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

DRAWTEXT(FILTER(D>80,6),H*1.018,'D>80');

DRAWTEXT(FILTER(CROSS(K,D) AND D<26,6),H*0.95,'kd低位金叉'),COLORFFCCCC;

STICKLINE(FILTER(CROSS(K,D) AND D<26,6),H*0.97,H*0.95,4,0),COLORFFCCCC;

DIFFF:=EMA(CLOSE,12) - EMA(CLOSE,26);

DEAF :=EMA(DIFFF,9);

MACDD:=2*(DIFFF-DEAF);

DRAWTEXT(FILTER(CROSS(DIFFF,DEAF) AND DEAF<0,6),L-0.02,'MACD低位金叉'),COLORRED;

STICKLINE(FILTER(CROSS(DIFFF,DEAF) AND DEAF<0,6),L-0.02,L-0.1,4,0),COLOR00FF00;

DRAWTEXT(FILTER(CROSS(DIFFF,DEAF) AND DEAF>0,13),H+0.25,'MACD下拐点'),COLORYELLOW;

STICKLINE(FILTER(CROSS(DIFFF,DEAF) AND DEAF>0,13),H+0.02,H+0.12,4,0),COLORBLUE;

DRAWTEXT(FILTER(CROSS(MACDD,0),13),L*0.65,'MACD上拐点'),COLORRED;

STICKLINE(FILTER(CROSS(MACDD,0),13),L*0.97,L*0.95,4,0),COLORWHITE;

roc:=(CLOSE-REF(CLOSE,21))/REF(CLOSE,21)*100;

DRAWTEXT(FILTER(CROSS(ROC,0),6),L-2.25,'骗线拐点'),COLORWHITE;

STICKLINE(FILTER(CROSS(ROC,0),6),L-0.02,L-0.15,4,0),COLORFF00FF;

通达信天潭趋势主图指标公式

V1:=(C*2+H+L)/4*10;

VV2:=ema(V1,13)-Ema(V1,34);

VV3:=EMA(VV2,5);

V4:=2*(VV2-VV3)*100;

V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;

V6:=EMA(3*V5-2*SMA(V5,18,1),5);

V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;

V8:=(INDEXC*2+INDEXH+INDEXL)/4;

V9:=EMA(V8,13)-EMA(V8,34);

VA:=EMA(V9,3);

VB1:=(V9-VA)/2;

V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);

趋势线:=EMA(V11,3);

当日成本:=IF(C>REF(C,1),(3*H+4*C+3*OPEN+2*L)/12,(2*H+4*C+3*OPEN+3*L)/12);

疯牛线:EXPMEMA(当日成本,3),LINETHICK1;

龙头线:EXPMEMA(当日成本,8),LINETHICK2;

慢牛线:EXPMEMA(当日成本,25),LINETHICK2;

生命线:EXPMEMA(当日成本,79),LINETHICK3;

牛熊线:EXPMEMA(当日成本,248),LINETHICK3;

V2:=EMA(当日成本,13)-EMA(当日成本,34);

V3:=EMA(V2,5);

cyc13:=0.01*expma(AMOUNT,13)/EXPMA(vol,13);

CYC34:=0.01*EXPMA(AMOUNT,34)/EXPMA(VOL,34);

CYS13:=(CLOSE-CYC13)/CYC13*100;

cys34:=(CLOSE-CYC34)/CYC34*100;

CYC5:=0.01*EXPMA(AMOUNT,5)/EXPMA(VOL,5);

CYS5:=(CLOSE-CYC5)/CYC5*100;

DIVE:=0.01*EXPMA(AMOUNT,5)/EXPMA(VOL,5);

CYR5:=(DIVE/REF(DIVE,1)-1)*100;

DRAWTEXT((crOSS(EXPMEMA(当日成本,25),L) AND MA(C,5)>MA(C,30) AND HHV(CYS13,15)>10 AND HHV(CYS34,18)>18 AND EXPMEMA(当日成本,8)>EXPMEMA(当日成本,25)),LOW*0.975,'枪B'),COLORYELLOW;

VAR1:=(UPNDAY(慢牛线,4) AND EXPMEMA(当日成本,3)>EXPMEMA(当日成本,5) AND EXPMEMA(当日成本,5)>EXPMEMA(当日成本,7) AND MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7));

VAR2:=(REF(VAR1,2)<0.5 AND REF(VAR1,3)<0.5 AND MA(C,5)>REF(MA(C,5),1) AND CROSS(VAR1,0.5) AND FILTER(CROSS(VAR1,0.5),7)) OR ((REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),3) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),5) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),6) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),4) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),2)) AND NOT(REF(MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7),1)) AND (MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)) AND FILTER((REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),3) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),5) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),6) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),4) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),2)) AND NOT(REF(MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7),1)) AND (MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),7) AND 疯牛线>REF(疯牛线,1)) AND MA(VOL,3)>MA(VOL,10) AND V2>=V3;

DIVE1:=0.01*EXPMA(AMOUNT,13)/EXPMA(VOL,13);

CYR:=(DIVE1/REF(DIVE1,1)-1)*100;

MacYR:=MA(CYR,5);

DRAWTEXT((REF(CLOSE/REF(CLOSE,1),3)>1.099 OR REF(CLOSE/REF(CLOSE,1),6)>1.099 OR REF(CLOSE/REF(CLOSE,1),4)>1.099 OR REF(CLOSE/REF(CLOSE,1),5)>1.099 OR REF(CLOSE/REF(CLOSE,1),2)>1.099) AND CROSS(龙头线,LOW) AND UPNDAY(慢牛线,3),LOW*0.97,'枪A'),COLORMAGENTA;

DPRPY:=(INDEXC-LLV(INDEXC,240 ))/(HHV(INDEXC,240 )-LLV(INDEXC,240 ))*100;

RPY:=(C-LLV(C,240 ))/(HHV(C,240 )-LLV(C,240 ))*100;

CBW:=100*(COst(99.5)-COST(0.5))/COST(99.5);

asr10:=(WINNER(C*1.1)-WINNER(C*0.9))/WINNER(HHV(H,0))*100;

ASR20:=(WINNER(C*1.2)-WINNER(C*0.8))/WINNER(HHV(H,0))*100;

ASR30:=(WINNER(C*1.3)-WINNER(C*0.7))/WINNER(HHV(H,0))*100;

DRAWTEXT((CLOSE/REF(CLOSE,1)>1.03 AND VOL/CAPITAL*100>2.5 AND 疯牛线>龙头线 AND 疯牛线>慢牛线 AND C>疯牛线 AND (WINNER(C-C*0.01/100)-WINNER(C-C*20/100))*100>50 AND CYR>1) OR (CYS>11 AND CYS<30 AND CYR>1 AND CLOSE/REF(CLOSE,1)>1.03),LOW,'营'),COLORWHITE;

STICKLINE(REF(COUNT(CMA(REF(HHV((C+L+O+H)/4,40),1),3) AND C>O,C,O,1.3,0),COLORYELLOW;

TYX2:=MA(REF(HHV((C+L+O+H)/4,10),1),3);

STICKLINE(REF(COUNT(CTYX2 AND C>O,C,O,1.3,0),COLORBLUE;

D1:=C=HHV(C,89);

D2:=BArslAST(D1);

D3:=IF(D2>0,REF(C,D2),REF(C,D2));

D4:=CROSS(C,REF(D3,1));

红旗:=D4 AND COUNT(D4,5)=1;

DRAWTEXT(红旗=1,LOW*0.95,'五面八面彩旗'),COLORRED;

XX:=EMA(CLOSE,30)-EMA(CLOSE,17);

AA:=EMA(XX,5);

YY:=EMA(XX,13);

短:=TROUGHBARS(3,10,1)<1 AND CROSS(XX,AA);

枪:=TROUGHBARS(3,5,1)<1 AND XX

短1:=IF(枪>0,0.4,0),STICK,COLORF0F000,LINETHICK4;

短2:=CROSS(XX,AA) AND TROUGHBARS(3,7,1)<1;

狙击:=短 OR 短1 OR 短2,COLORWHITE,LINETHICK2;

DRAWTEXT(狙击,LOW*0.95,'套'),COLORWHITE;

下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);

RRRSV:=SMA(下档线,3,1);

KKK:=SMA(RRRSV,3,1);

DDDDD:=((3 * RRRSV) - (2 * KKK));

JJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);

RSV24:=SMA(JJ12,3,1);

K24:=SMA(RSV24,3,1);

D24:=((3 * RSV24) - (2 * K24));

压力:IF(CROSS(D24,DDDDD),HIGH,REF(HIGH,BARSLAST(CROSS(D24,DDDDD)))),POINTDOT,COLORGREEN,LINETHICK4;

牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。

责任编辑:admin888 标签:通达信主力骗线MACD指标公式,通达信天潭趋势主图指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

通达信主力骗线MACD指标公式,通达信天潭趋势主图指标公式

admin888

|

通达信主力骗线MACD指标公式,通达信天潭趋势主图指标公式

通达信主力骗线MACD指标公式

N:=24;

VAR1:=ema(Ema(CLOSE,13),13);

控盘指数: (VAR1-REF(VAR1,1))/REF(VAR1,1)*1000,POINTDOT,COLORFFCCCC;

stICKLINE(控盘指数<0,控盘指数,0,2,0),COLORGRAY;

无庄控盘: 控盘指数<0,LINETHICK0,COLORGRAY;

STICKLINE(控盘指数>REF(控盘指数,1) AND 控盘指数>0 AND 控盘指数<3,控盘指数,0,2,1),COLORRED;

STICKLINE(控盘指数>REF(控盘指数,1) AND 控盘指数>0 AND 控盘指数>3,控盘指数,0,2,1),COLORRED;

STICKLINE(控盘指数>REF(控盘指数,1) AND 控盘指数>3,控盘指数,3,4,1),COLORFF00FF;

s主力控盘: 控盘指数>REF(控盘指数,1) AND 控盘指数>0,LINETHICK0,COLORRED;

TICKLINE(控盘指数0,控盘指数,0,2,0),COLOR00FF00;

控盘减弱: 控盘指数0,LINETHICK0,COLOR00FF00;

VARA:= EMA(0.667*REF(控盘指数,1)+0.333*控盘指数,2);

STICKLINE(控盘指数>VARA,控盘指数,VARA,2,0),COLORRED;

B2:= 控盘指数>VARA;

准备: B2>REF(B2,1) AND 控盘指数<(-2),COLORYELLOW;

DRAWTEXT(准备,3,'准备'),COLORYELLOW;

B1:= (控盘指数>REF(控盘指数,1) AND 控盘指数>0)=1;

开始控盘: B1>REF(B1,1),COLORMAGENTA,LINETHICK3;

A:=(3*C+L+O+H)/6;

X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/210;

mtm:=C-REF(C,1);

DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(Abs(MTM),6),6);

CB:=EMA(X,13);

买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) ANDcrOSS(DX,MA(DX,2)),1,0);

DRAWICON(FILTER(买=1,5),L*0.11,1);

difF:(EMA(CLOSE,12) - EMA(CLOSE,26))*20,COLORWHITE,LINETHICK1;

DEA:EMA(DIFF,9),COLORYELLOW,LINETHICK1;

macd:2*(DIFF-DEA), COLORSTICK;

MacD1:=2*(DIFF-DEA),COLORRED,NODRAW;

MACD2:=EMA(MACD1,3),COLORCYAN,NODRAW;

STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,2,0),COLORRED;

STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,2,0),COLORYELLOW;

STICKLINE(MACD1

S1:=MACD<0;

S2:= (MACD>=0);

S3:=BArslAST(CROSS(DIFF,DEA));

S4:=REF(S3,S3+1);

S5:=DEA>REF(DEA,S4);

S6:=DEA;

上成立:=CROSS(DIFF,DEA) AND S5;

下成立:=CROSS(DIFF,DEA) AND S6;

L1:=(EMA(CLOSE,3) - EMA(CLOSE,13));

L2:=EMA(L1,9);

L3:=BARSLAST(CROSS(L1,L2));

L4:=REF(L3,L3+1);

L5:=L2;

变盘:CROSS(L1,L2) AND L5,NODRAW,COLORD6FF9C;

STICKLINE(变盘,5,0,0,1),COLORD6FF9C;

LS:=IF(DIFF>DEA AND DIFF>0,1,0);

加速上扬:IF(REF(LS=0,1) AND LS=1,0.1,0);

XG1:CROSS(MACD1,MACD2) AND MACD1<0,NODRAW;

XG2:CROSS(DIFF,DEA),NODRAW

M1:=MACD>REF(MACD,1) AND DIFF

绿柱短了:M1 AND COUNT(M1,10)=1 AND C>MA(C,55) AND COUNT(MACD<0,5)>=5,NODRAW;

DRAWTEXT(绿柱短了,MACD,'买点来了');

DIFL:=EMA(V,12)-EMA(V,26);

DIF:=EMA(C,12)-EMA(C,26);

BL:=DIFL>REF(DIFL,1) AND DIF

四天: REF(BL,3)=1 AND REF(BL,2)=1 AND REF(BL,1)=1 AND BL;

三天:REF(BL,2)=1 AND REF(BL,1)=1 AND BL;

{VERTLINE(上成立,3),COLORYELLOW;

VERTLINE(下成立,3),COLORRED;

}IF(DIFF>DEA,DIFF,DRAWNULL),COLORFF11CC,LINETHICK1;

IF(DIFF>DEA AND DIFF<0,DIFF,DRAWNULL),COLORRED,LINETHICK1;

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

DRAWTEXT(FILTER(D>80,6),H*1.018,'D>80');

DRAWTEXT(FILTER(CROSS(K,D) AND D<26,6),H*0.95,'kd低位金叉'),COLORFFCCCC;

STICKLINE(FILTER(CROSS(K,D) AND D<26,6),H*0.97,H*0.95,4,0),COLORFFCCCC;

DIFFF:=EMA(CLOSE,12) - EMA(CLOSE,26);

DEAF :=EMA(DIFFF,9);

MACDD:=2*(DIFFF-DEAF);

DRAWTEXT(FILTER(CROSS(DIFFF,DEAF) AND DEAF<0,6),L-0.02,'MACD低位金叉'),COLORRED;

STICKLINE(FILTER(CROSS(DIFFF,DEAF) AND DEAF<0,6),L-0.02,L-0.1,4,0),COLOR00FF00;

DRAWTEXT(FILTER(CROSS(DIFFF,DEAF) AND DEAF>0,13),H+0.25,'MACD下拐点'),COLORYELLOW;

STICKLINE(FILTER(CROSS(DIFFF,DEAF) AND DEAF>0,13),H+0.02,H+0.12,4,0),COLORBLUE;

DRAWTEXT(FILTER(CROSS(MACDD,0),13),L*0.65,'MACD上拐点'),COLORRED;

STICKLINE(FILTER(CROSS(MACDD,0),13),L*0.97,L*0.95,4,0),COLORWHITE;

roc:=(CLOSE-REF(CLOSE,21))/REF(CLOSE,21)*100;

DRAWTEXT(FILTER(CROSS(ROC,0),6),L-2.25,'骗线拐点'),COLORWHITE;

STICKLINE(FILTER(CROSS(ROC,0),6),L-0.02,L-0.15,4,0),COLORFF00FF;

通达信天潭趋势主图指标公式

V1:=(C*2+H+L)/4*10;

VV2:=ema(V1,13)-Ema(V1,34);

VV3:=EMA(VV2,5);

V4:=2*(VV2-VV3)*100;

V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;

V6:=EMA(3*V5-2*SMA(V5,18,1),5);

V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;

V8:=(INDEXC*2+INDEXH+INDEXL)/4;

V9:=EMA(V8,13)-EMA(V8,34);

VA:=EMA(V9,3);

VB1:=(V9-VA)/2;

V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);

趋势线:=EMA(V11,3);

当日成本:=IF(C>REF(C,1),(3*H+4*C+3*OPEN+2*L)/12,(2*H+4*C+3*OPEN+3*L)/12);

疯牛线:EXPMEMA(当日成本,3),LINETHICK1;

龙头线:EXPMEMA(当日成本,8),LINETHICK2;

慢牛线:EXPMEMA(当日成本,25),LINETHICK2;

生命线:EXPMEMA(当日成本,79),LINETHICK3;

牛熊线:EXPMEMA(当日成本,248),LINETHICK3;

V2:=EMA(当日成本,13)-EMA(当日成本,34);

V3:=EMA(V2,5);

cyc13:=0.01*expma(AMOUNT,13)/EXPMA(vol,13);

CYC34:=0.01*EXPMA(AMOUNT,34)/EXPMA(VOL,34);

CYS13:=(CLOSE-CYC13)/CYC13*100;

cys34:=(CLOSE-CYC34)/CYC34*100;

CYC5:=0.01*EXPMA(AMOUNT,5)/EXPMA(VOL,5);

CYS5:=(CLOSE-CYC5)/CYC5*100;

DIVE:=0.01*EXPMA(AMOUNT,5)/EXPMA(VOL,5);

CYR5:=(DIVE/REF(DIVE,1)-1)*100;

DRAWTEXT((crOSS(EXPMEMA(当日成本,25),L) AND MA(C,5)>MA(C,30) AND HHV(CYS13,15)>10 AND HHV(CYS34,18)>18 AND EXPMEMA(当日成本,8)>EXPMEMA(当日成本,25)),LOW*0.975,'枪B'),COLORYELLOW;

VAR1:=(UPNDAY(慢牛线,4) AND EXPMEMA(当日成本,3)>EXPMEMA(当日成本,5) AND EXPMEMA(当日成本,5)>EXPMEMA(当日成本,7) AND MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7));

VAR2:=(REF(VAR1,2)<0.5 AND REF(VAR1,3)<0.5 AND MA(C,5)>REF(MA(C,5),1) AND CROSS(VAR1,0.5) AND FILTER(CROSS(VAR1,0.5),7)) OR ((REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),3) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),5) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),6) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),4) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),2)) AND NOT(REF(MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7),1)) AND (MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)) AND FILTER((REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),3) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),5) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),6) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),4) OR REF((MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),2)) AND NOT(REF(MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7),1)) AND (MA(CLOSE,3)>MA(CLOSE,5) AND MA(CLOSE,5)>MA(CLOSE,7)),7) AND 疯牛线>REF(疯牛线,1)) AND MA(VOL,3)>MA(VOL,10) AND V2>=V3;

DIVE1:=0.01*EXPMA(AMOUNT,13)/EXPMA(VOL,13);

CYR:=(DIVE1/REF(DIVE1,1)-1)*100;

MacYR:=MA(CYR,5);

DRAWTEXT((REF(CLOSE/REF(CLOSE,1),3)>1.099 OR REF(CLOSE/REF(CLOSE,1),6)>1.099 OR REF(CLOSE/REF(CLOSE,1),4)>1.099 OR REF(CLOSE/REF(CLOSE,1),5)>1.099 OR REF(CLOSE/REF(CLOSE,1),2)>1.099) AND CROSS(龙头线,LOW) AND UPNDAY(慢牛线,3),LOW*0.97,'枪A'),COLORMAGENTA;

DPRPY:=(INDEXC-LLV(INDEXC,240 ))/(HHV(INDEXC,240 )-LLV(INDEXC,240 ))*100;

RPY:=(C-LLV(C,240 ))/(HHV(C,240 )-LLV(C,240 ))*100;

CBW:=100*(COst(99.5)-COST(0.5))/COST(99.5);

asr10:=(WINNER(C*1.1)-WINNER(C*0.9))/WINNER(HHV(H,0))*100;

ASR20:=(WINNER(C*1.2)-WINNER(C*0.8))/WINNER(HHV(H,0))*100;

ASR30:=(WINNER(C*1.3)-WINNER(C*0.7))/WINNER(HHV(H,0))*100;

DRAWTEXT((CLOSE/REF(CLOSE,1)>1.03 AND VOL/CAPITAL*100>2.5 AND 疯牛线>龙头线 AND 疯牛线>慢牛线 AND C>疯牛线 AND (WINNER(C-C*0.01/100)-WINNER(C-C*20/100))*100>50 AND CYR>1) OR (CYS>11 AND CYS<30 AND CYR>1 AND CLOSE/REF(CLOSE,1)>1.03),LOW,'营'),COLORWHITE;

STICKLINE(REF(COUNT(CMA(REF(HHV((C+L+O+H)/4,40),1),3) AND C>O,C,O,1.3,0),COLORYELLOW;

TYX2:=MA(REF(HHV((C+L+O+H)/4,10),1),3);

STICKLINE(REF(COUNT(CTYX2 AND C>O,C,O,1.3,0),COLORBLUE;

D1:=C=HHV(C,89);

D2:=BArslAST(D1);

D3:=IF(D2>0,REF(C,D2),REF(C,D2));

D4:=CROSS(C,REF(D3,1));

红旗:=D4 AND COUNT(D4,5)=1;

DRAWTEXT(红旗=1,LOW*0.95,'五面八面彩旗'),COLORRED;

XX:=EMA(CLOSE,30)-EMA(CLOSE,17);

AA:=EMA(XX,5);

YY:=EMA(XX,13);

短:=TROUGHBARS(3,10,1)<1 AND CROSS(XX,AA);

枪:=TROUGHBARS(3,5,1)<1 AND XX

短1:=IF(枪>0,0.4,0),STICK,COLORF0F000,LINETHICK4;

短2:=CROSS(XX,AA) AND TROUGHBARS(3,7,1)<1;

狙击:=短 OR 短1 OR 短2,COLORWHITE,LINETHICK2;

DRAWTEXT(狙击,LOW*0.95,'套'),COLORWHITE;

下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);

RRRSV:=SMA(下档线,3,1);

KKK:=SMA(RRRSV,3,1);

DDDDD:=((3 * RRRSV) - (2 * KKK));

JJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);

RSV24:=SMA(JJ12,3,1);

K24:=SMA(RSV24,3,1);

D24:=((3 * RSV24) - (2 * K24));

压力:IF(CROSS(D24,DDDDD),HIGH,REF(HIGH,BARSLAST(CROSS(D24,DDDDD)))),POINTDOT,COLORGREEN,LINETHICK4;

牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。


财经频道