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

飞狐变色线指标公式,飞狐顶底背离指标公式

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

    关注√

    牛市通网微信

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

飞狐变色线指标公式,飞狐顶底背离指标公式

飞狐变色线指标公式

变色线:ma((h+l)/2,3),COLORMAGENTA,linethick4;

kcx:=ma(ma((c+h)/2,18),3);

ylx:=hhv((变色线)/1,34),colorwhite,linethick2;

jcx:=llv((变色线+kcx)/2,18),linethick2,COLORred;

dbx:=llv(变色线,26),COLORblue,linethick3;

DRAWTEXT(crOSS(变色线,jcx),L,'<-加仓'),colorYELLOW;

DRAWTEXT(ref(变色线,1)=ref(ylx,1) and ylx>变色线,H*1.06,'->注意风险'),colorred;

PARTLINE(dbx=变色线,dbx),COLORGREEN,linethick3;

PARTLINE(ylx=变色线,变色线),COLORYELLOW,linethick3;

DRAWTEXT(ref(变色线,1)=ref(dbx,1) and 变色线>ref(变色线,1) ,L*0.98,'<-买'),colorindigo,linethick3;

飞狐顶底背离指标公式

A1:=BArslAst(ref(cross("macd.diff"(12,26,9),"macd.dea"(12,26,9)),1));

B1:=ref(c,A1+1)>c and ref("macd.diff"(12,26,9),A1+1)<"macd.diff"(12,26,9) and cross("macd.diff"(12,26,9),"macd.dea"(12,26,9));

MACD底背离:=FILTER(B1>0,5);

STICKLINE(MACD底背离,0,0.75,3,0),COLORGREEN;

DRAWTEXT(MACD底背离,0.57,'MACD底背离'),COLORGREEN;

A2:=BARSLAST(ref(cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)),1));

B2:=ref(c,A2+1)>c and ref("kdj.k"(9,3,3),A2+1)<"kdj.k"(9,3,3) and cross("kdj.k"(9,3,3),"kdj.d"(9,3,3));

KDJ底背离:=FILTER(B2>0,5);

STICKLINE(KDJ底背离,0,1,3,0),COLORYELLOW;

DRAWTEXT(KDJ底背离,0.80,'KDJ底背离'),COLORYELLOW;

A3:=BARSLAST(ref(cross("rsi.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));

B3:=ref(c,A3+1)>c and ref("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) and cross("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));

RSI底背离:=FILTER(B3>0,5);

STICKLINE(RSI底背离,0,0.5,3,0),COLORFFCC66;

DRAWTEXT(RSI底背离,0.25,'RSI底背离'),COLORFFCC66;

2,COLORRED;

C1:=BARSLAST(ref(cross("macd.dea"(12,26,9),"macd.diff"(12,26,9)),1));

D1:=ref(c,C1+1)"macd.diff"(12,26,9) and cross("macd.dea"(12,26,9),"macd.diff"(12,26,9));

MACD顶背离:=FILTER(D1>0,5);

STICKLINE(MACD顶背离,2,1.25,3,0),COLOR0066FF;

DRAWTEXT(MACD顶背离,1.47,'MACD顶背离'),COLOR0066FF;

C2:=BARSLAST(ref(cross("kdj.d"(9,3,3),"kdj.k"(9,3,3)),1));

D2:=ref(c,C2+1)"kdj.k"(9,3,3) and cross("kdj.d"(9,3,3),"kdj.k"(9,3,3));

KDJ顶背离:=FILTER(D2>0,5);

STICKLINE(KDJ顶背离,2,1,3,0),COLORRED;

DRAWTEXT(KDJ顶背离,1.2,'KDJ顶背离'),COLORRED;

C3:=BARSLAST(ref(cross("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));

D3:=ref(c,C3+1)"RSI.RSI1"(6,12,24) and cross("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24));

RSI顶背离:=FILTER(D3>0,5);

STICKLINE(RSI顶背离,2,1.5,3,0),COLORFF00FF;

DRAWTEXT(RSI顶背离,1.75,'RSI顶背离'),COLORFF00FF;

底背离:MACD底背离 or KDJ底背离 or RSI底背离;

顶背离:MACD顶背离 or KDJ顶背离 or RSI顶背离;

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

责任编辑:admin888 标签:飞狐变色线指标公式,飞狐顶底背离指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

飞狐变色线指标公式,飞狐顶底背离指标公式

admin888

|

飞狐变色线指标公式,飞狐顶底背离指标公式

飞狐变色线指标公式

变色线:ma((h+l)/2,3),COLORMAGENTA,linethick4;

kcx:=ma(ma((c+h)/2,18),3);

ylx:=hhv((变色线)/1,34),colorwhite,linethick2;

jcx:=llv((变色线+kcx)/2,18),linethick2,COLORred;

dbx:=llv(变色线,26),COLORblue,linethick3;

DRAWTEXT(crOSS(变色线,jcx),L,'<-加仓'),colorYELLOW;

DRAWTEXT(ref(变色线,1)=ref(ylx,1) and ylx>变色线,H*1.06,'->注意风险'),colorred;

PARTLINE(dbx=变色线,dbx),COLORGREEN,linethick3;

PARTLINE(ylx=变色线,变色线),COLORYELLOW,linethick3;

DRAWTEXT(ref(变色线,1)=ref(dbx,1) and 变色线>ref(变色线,1) ,L*0.98,'<-买'),colorindigo,linethick3;

飞狐顶底背离指标公式

A1:=BArslAst(ref(cross("macd.diff"(12,26,9),"macd.dea"(12,26,9)),1));

B1:=ref(c,A1+1)>c and ref("macd.diff"(12,26,9),A1+1)<"macd.diff"(12,26,9) and cross("macd.diff"(12,26,9),"macd.dea"(12,26,9));

MACD底背离:=FILTER(B1>0,5);

STICKLINE(MACD底背离,0,0.75,3,0),COLORGREEN;

DRAWTEXT(MACD底背离,0.57,'MACD底背离'),COLORGREEN;

A2:=BARSLAST(ref(cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)),1));

B2:=ref(c,A2+1)>c and ref("kdj.k"(9,3,3),A2+1)<"kdj.k"(9,3,3) and cross("kdj.k"(9,3,3),"kdj.d"(9,3,3));

KDJ底背离:=FILTER(B2>0,5);

STICKLINE(KDJ底背离,0,1,3,0),COLORYELLOW;

DRAWTEXT(KDJ底背离,0.80,'KDJ底背离'),COLORYELLOW;

A3:=BARSLAST(ref(cross("rsi.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));

B3:=ref(c,A3+1)>c and ref("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) and cross("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));

RSI底背离:=FILTER(B3>0,5);

STICKLINE(RSI底背离,0,0.5,3,0),COLORFFCC66;

DRAWTEXT(RSI底背离,0.25,'RSI底背离'),COLORFFCC66;

2,COLORRED;

C1:=BARSLAST(ref(cross("macd.dea"(12,26,9),"macd.diff"(12,26,9)),1));

D1:=ref(c,C1+1)"macd.diff"(12,26,9) and cross("macd.dea"(12,26,9),"macd.diff"(12,26,9));

MACD顶背离:=FILTER(D1>0,5);

STICKLINE(MACD顶背离,2,1.25,3,0),COLOR0066FF;

DRAWTEXT(MACD顶背离,1.47,'MACD顶背离'),COLOR0066FF;

C2:=BARSLAST(ref(cross("kdj.d"(9,3,3),"kdj.k"(9,3,3)),1));

D2:=ref(c,C2+1)"kdj.k"(9,3,3) and cross("kdj.d"(9,3,3),"kdj.k"(9,3,3));

KDJ顶背离:=FILTER(D2>0,5);

STICKLINE(KDJ顶背离,2,1,3,0),COLORRED;

DRAWTEXT(KDJ顶背离,1.2,'KDJ顶背离'),COLORRED;

C3:=BARSLAST(ref(cross("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));

D3:=ref(c,C3+1)"RSI.RSI1"(6,12,24) and cross("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24));

RSI顶背离:=FILTER(D3>0,5);

STICKLINE(RSI顶背离,2,1.5,3,0),COLORFF00FF;

DRAWTEXT(RSI顶背离,1.75,'RSI顶背离'),COLORFF00FF;

底背离:MACD底背离 or KDJ底背离 or RSI底背离;

顶背离:MACD顶背离 or KDJ顶背离 or RSI顶背离;

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


财经频道