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

同花顺能量柱形指标公式,同花顺加减反弹指标公式

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

    关注√

    牛市通网微信

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

同花顺能量柱形指标公式,同花顺加减反弹指标公式

同花顺能量柱形指标公式

N:=3;

M:=5;

柱:SUM(IF(C>REF(C,1),VOL,IF(C

短:EMA(柱,1),colorred;

中:EMA(EMA(EMA(EMA(柱,1),2),1),2),colorgreen;

长:EMA(EMA(EMA(柱,3),6),9),colorcyan;

UPT3:=TROUGHBARS(3,N,M)

UPT2:=TROUGHBARS(2,N,M)

UPT1:=TROUGHBARS(1,N,M)

DNP3:=PEAKBARS(3,N,M)

DNP2:=PEAKBARS(2,N,M)

DNP1:=PEAKBARS(1,N,M)

DRAWTEXT(UPT3 OR UPT2 OR UPT1,短,'B'),colorgreen;

DRAWTEXT(DNP3 OR DNP2 OR DNP1,短,'S'),colorred;

同花顺加减反弹指标公式

B:ZIG(3,10),coloryellow;

G:=MA(B,2),colorred;

D:=EMA(B,34),colorgreen;

J:=EMA(B,144),colorligreen;

DRAWICON(CROSS(B,G),B-0.1,1);

DRAWICON(CROSS(G,B),G+0.1,2);

//DRAWTEXT(CROSS(B,G),B*0.85,"建"),coloryellow;

//DRAWTEXT(CROSS(G,B),G,"清"),colorgreen;

F:=100*(C-REF(C,1))/REF(C,1);

JD:=IF(C

S1:=JD;

MR:=IF(C

S2:=MR;

A1:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1));

A2:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,5) ,REF(ZIG(3 ,5),1));

//DRAWTEXT(A1 AND A2 OR D<0,B,'加仓'),coloryellow;

//加仓买//DRAWICON(A1 AND A2,B-0.2,1);

VAR3:=PEAKBARS(3,5,1)<10;

VAR5:=IF(VAR3=1,2,0);

顶:= IF(VAR5=2,2,0);顶A:=IF(顶>REF(顶,1),1,0),STICK,colorcyan, LINETHICK2;

////DRAWTEXT(顶A=1,B*1.1,'减仓'),colorgreen;

DRAWICON(顶A=1,B,2);

A11:LLV(LOW,144),colormagenta;

//DRAWICON(A11==REF(A11,1) AND REF(A11,1)

//DRAWICON(A11

//DRAWICON(A11>REF(A11,1) AND REF(A11,1)==REF(A11,2),A11,1);

MID:=MA(CLOSE,26);UPPER:=MID + 2*STD(CLOSE,26),colorwhite;

//上轨UPPER1:=MID + 1.618*STD(CLOSE,26),colorred;

//上轨LOWER:=MID - 2*STD(CLOSE,26),coloryellow;

//下轨LOWER1:=MID - 1.618*STD(CLOSE,26),colorgreen;

//下轨//DRAWTEXT(CROSS(CLOSE,LOWER),J*1.05,"L"),coloryellow;;

//DRAWTEXT(CROSS(CLOSE,UPPER),J*1.05,"L"),colorgreen;

DRAWICON(CROSS(B,A11),B,1);

DRAWICON(CROSS(A11,B),B,2);

VERLINE(CROSS(B,G) AND (A1 AND A2 OR D<0),1),colorlimagenta;

//画加仓建仓垂线VERLINE(CROSS(G,B),1),colorcyan;

//画清仓垂线STICKLINE(A11REF(B,1),B,A11,0.8,0),colorred;

STICKLINE(A11

DRAWTEXT((CROSS(B,G) AND (A1 AND A2 OR D<0)) OR CROSS(B,G),A11*0.95,'B'),coloryellow;

//建仓加仓买STICKLINE(A11>B AND B>REF(B,1),B,A11,0.8,0),colorred;

STICKLINE(A11>B AND B

A34:=LLV(B,34),coloryellow;

A55:=LLV(B,55),coloryellow;

A144:=LLV(B,144),coloryellow;

AA:=(CROSS(B,G) AND (A1 AND A2 OR D<0)) OR CROSS(B,G);

POLYLINE(AA==1,REF(B,1)),coloryellow;

CC:=CLOSE,colorwhite;

DD7:DYNAINFO(7),nodraw;

DD1:=DYNAINFO(1),nodraw;

DD2:=DYNAINFO(2),nodraw;

DD3:=DYNAINFO(3),nodraw;

DD4:=DYNAINFO(4),nodraw;

DD5:=DYNAINFO(5),nodraw;

DD6:=DYNAINFO(6),nodraw;

DD7:=DYNAINFO(7),nodraw;

DD9:=DYNAINFO(9),nodraw;

DD11:=DYNAINFO(11),nodraw;

DD20:=DYNAINFO(20),nodraw;

DD21:=DYNAINFO(21),nodraw;

DD28:=DYNAINFO(28),nodraw;

DD29:=DYNAINFO(29),nodraw;

DD30:=DYNAINFO(30),nodraw;

//MACDDIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);

DEA:=EMA(DIFF,9);

MACD:=2*(DIFF-DEA);

DRAWTEXT(CROSS(DIFF,DEA),A11,"M"),coloryellow;

DRAWTEXT(CROSS(DEA,DIFF),A11,"M"),colorgreen;

H1:HOD(H,144),nodraw;

L1:LOD(L,144),nodraw;

DRAWTEXT(H1=144 AND L1=1 AND B>A11,A11*0.95,"HL"),colorred;

LLV1:LLVBARS(L,21),nodraw;

DRAWNUMBER(REF((CROSS(B,G) AND (A1 AND A2 OR D<0)) OR CROSS(B,G),1),A11*0.95,TOSTRING(A11,2));

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

责任编辑:admin888 标签:同花顺能量柱形指标公式,同花顺加减反弹指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

同花顺能量柱形指标公式,同花顺加减反弹指标公式

admin888

|

同花顺能量柱形指标公式,同花顺加减反弹指标公式

同花顺能量柱形指标公式

N:=3;

M:=5;

柱:SUM(IF(C>REF(C,1),VOL,IF(C

短:EMA(柱,1),colorred;

中:EMA(EMA(EMA(EMA(柱,1),2),1),2),colorgreen;

长:EMA(EMA(EMA(柱,3),6),9),colorcyan;

UPT3:=TROUGHBARS(3,N,M)

UPT2:=TROUGHBARS(2,N,M)

UPT1:=TROUGHBARS(1,N,M)

DNP3:=PEAKBARS(3,N,M)

DNP2:=PEAKBARS(2,N,M)

DNP1:=PEAKBARS(1,N,M)

DRAWTEXT(UPT3 OR UPT2 OR UPT1,短,'B'),colorgreen;

DRAWTEXT(DNP3 OR DNP2 OR DNP1,短,'S'),colorred;

同花顺加减反弹指标公式

B:ZIG(3,10),coloryellow;

G:=MA(B,2),colorred;

D:=EMA(B,34),colorgreen;

J:=EMA(B,144),colorligreen;

DRAWICON(CROSS(B,G),B-0.1,1);

DRAWICON(CROSS(G,B),G+0.1,2);

//DRAWTEXT(CROSS(B,G),B*0.85,"建"),coloryellow;

//DRAWTEXT(CROSS(G,B),G,"清"),colorgreen;

F:=100*(C-REF(C,1))/REF(C,1);

JD:=IF(C

S1:=JD;

MR:=IF(C

S2:=MR;

A1:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1));

A2:=S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,5) ,REF(ZIG(3 ,5),1));

//DRAWTEXT(A1 AND A2 OR D<0,B,'加仓'),coloryellow;

//加仓买//DRAWICON(A1 AND A2,B-0.2,1);

VAR3:=PEAKBARS(3,5,1)<10;

VAR5:=IF(VAR3=1,2,0);

顶:= IF(VAR5=2,2,0);顶A:=IF(顶>REF(顶,1),1,0),STICK,colorcyan, LINETHICK2;

////DRAWTEXT(顶A=1,B*1.1,'减仓'),colorgreen;

DRAWICON(顶A=1,B,2);

A11:LLV(LOW,144),colormagenta;

//DRAWICON(A11==REF(A11,1) AND REF(A11,1)

//DRAWICON(A11

//DRAWICON(A11>REF(A11,1) AND REF(A11,1)==REF(A11,2),A11,1);

MID:=MA(CLOSE,26);UPPER:=MID + 2*STD(CLOSE,26),colorwhite;

//上轨UPPER1:=MID + 1.618*STD(CLOSE,26),colorred;

//上轨LOWER:=MID - 2*STD(CLOSE,26),coloryellow;

//下轨LOWER1:=MID - 1.618*STD(CLOSE,26),colorgreen;

//下轨//DRAWTEXT(CROSS(CLOSE,LOWER),J*1.05,"L"),coloryellow;;

//DRAWTEXT(CROSS(CLOSE,UPPER),J*1.05,"L"),colorgreen;

DRAWICON(CROSS(B,A11),B,1);

DRAWICON(CROSS(A11,B),B,2);

VERLINE(CROSS(B,G) AND (A1 AND A2 OR D<0),1),colorlimagenta;

//画加仓建仓垂线VERLINE(CROSS(G,B),1),colorcyan;

//画清仓垂线STICKLINE(A11REF(B,1),B,A11,0.8,0),colorred;

STICKLINE(A11

DRAWTEXT((CROSS(B,G) AND (A1 AND A2 OR D<0)) OR CROSS(B,G),A11*0.95,'B'),coloryellow;

//建仓加仓买STICKLINE(A11>B AND B>REF(B,1),B,A11,0.8,0),colorred;

STICKLINE(A11>B AND B

A34:=LLV(B,34),coloryellow;

A55:=LLV(B,55),coloryellow;

A144:=LLV(B,144),coloryellow;

AA:=(CROSS(B,G) AND (A1 AND A2 OR D<0)) OR CROSS(B,G);

POLYLINE(AA==1,REF(B,1)),coloryellow;

CC:=CLOSE,colorwhite;

DD7:DYNAINFO(7),nodraw;

DD1:=DYNAINFO(1),nodraw;

DD2:=DYNAINFO(2),nodraw;

DD3:=DYNAINFO(3),nodraw;

DD4:=DYNAINFO(4),nodraw;

DD5:=DYNAINFO(5),nodraw;

DD6:=DYNAINFO(6),nodraw;

DD7:=DYNAINFO(7),nodraw;

DD9:=DYNAINFO(9),nodraw;

DD11:=DYNAINFO(11),nodraw;

DD20:=DYNAINFO(20),nodraw;

DD21:=DYNAINFO(21),nodraw;

DD28:=DYNAINFO(28),nodraw;

DD29:=DYNAINFO(29),nodraw;

DD30:=DYNAINFO(30),nodraw;

//MACDDIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);

DEA:=EMA(DIFF,9);

MACD:=2*(DIFF-DEA);

DRAWTEXT(CROSS(DIFF,DEA),A11,"M"),coloryellow;

DRAWTEXT(CROSS(DEA,DIFF),A11,"M"),colorgreen;

H1:HOD(H,144),nodraw;

L1:LOD(L,144),nodraw;

DRAWTEXT(H1=144 AND L1=1 AND B>A11,A11*0.95,"HL"),colorred;

LLV1:LLVBARS(L,21),nodraw;

DRAWNUMBER(REF((CROSS(B,G) AND (A1 AND A2 OR D<0)) OR CROSS(B,G),1),A11*0.95,TOSTRING(A11,2));

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


财经频道