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

飞狐江恩分割主图指标公式,飞狐黄金上升划线主图指标公式

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

    关注√

    牛市通网微信

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

飞狐江恩分割主图指标公式,飞狐黄金上升划线主图指标公式

飞狐江恩分割主图指标公式

input:w(2,1,3);

u1:=sysparam(3);

u:=u1-sysparam(2)+1;

hh:=hhv(H,u);

ll:=llv(L,u);

最高:=hh[u1],COLORYELLOW;

PARTLINE(C and w<>3,最高),COLORYELLOW;

最低:ll[u1],COLORred;

PARTLINE(C and w<>3,最低),COLORred;

PARTLINE(C and w=1,最低+(最高-最低)*0.191),LINEDOT,COLORWHITE;

PARTLINE(C and w=1,最低+(最高-最低)*0.382),LINEDOT,COLORWHITE;

PARTLINE(C and w<>3,最低+(最高-最低)*0.5),COLORGREEN;

PARTLINE(C and w=1,最低+(最高-最低)*0.618),LINEDOT,COLORWHITE;

PARTLINE(C and w=1,最低+(最高-最低)*0.809),LINEDOT,COLORWHITE;

DRAWTEXT(BARSCOUNT(C)=SYSPARAM(3) and w<>3,REF(最低,BArslAst(BARSCOUNT(C)=SYSPARAM(2))),'最低↓'),ALIGN2,COLORred;

DRAWTEXT(BARSCOUNT(C)=SYSPARAM(3) and w<>3,REF(最高,BARSLAST(BARSCOUNT(C)=SYSPARAM(2))),'最高↑'),ALIGN2,COLORYELLOW;

DRAWTEXT(BARPOS=SYSPARAM(2) and w=1,REF((最低+(最高-最低)*0.191)*0.996,BARSLAST(BARSCOUNT(C)=SYSPARAM(2))),'

黄金0.191↑'+NUMTOSTR(最低+(最高-最低)*0.191,2)),COLORWHITE;

DRAWTEXT(BARPOS=SYSPARAM(2) and w=1,REF((最低+(最高-最低)*0.382)*0.996,BARSLAST(BARSCOUNT(C)=SYSPARAM(2))),'黄金 0.382↑'+NUMTOSTR(最低+(最高-最低)*0.382,2)),COLORWHITE;

DRAWTEXT(BARPOS=SYSPARAM(2) and w<>3,REF((最低+(最高-最低)*0.5)*0.996,BARSLAST(BARSCOUNT(C)=SYSPARAM (2))),' 50% ↑'+NUMTOSTR(最低+(最高-最低)*0.5,2)),COLORGREEN;

DRAWTEXT(BARPOS=SYSPARAM(2) and w=1,REF((最低+(最高-最低)*0.618)*0.996,BARSLAST(BARSCOUNT(C)=SYSPARAM(2))),'黄金 0.618↑'+NUMTOSTR(最低+(最高-最低)*0.618,2)),COLORWHITE;

DRAWTEXT(BARPOS=SYSPARAM(2) and w=1,REF((最低+(最高-最低)*0.809)*0.996,BARSLAST(BARSCOUNT(C)=SYSPARAM(2))),'黄金 0.809↑'+NUMTOSTR(最低+(最高-最低)*0.809,2)),COLORWHITE;

PARTLINE(C and w=2,最低+(最高-最低)*1/8),LINEDOT,Color0095BC;

PARTLINE(C and w=2,最低+(最高-最低)*1/4),LINEDOT,Color0095BC;

PARTLINE(C and w=2,最低+(最高-最低)*3/8),LINEDOT,Color0095BC;

PARTLINE(C and w=2,最低+(最高-最低)*5/8),LINEDOT,Color0095BC;

PARTLINE(C and w=2,最低+(最高-最低)*7/8),LINEDOT,Color0095BC;

PARTLINE(C and w=2,最低+(最高-最低)*3/4),LINEDOT,Color0095BC;

DRAWTEXT(BARPOS=SYSPARAM(2) and w=2,REF((最低+(最高-最低)*1/8)*0.996,BARSLAST(BARSCOUNT(C)=SYSPARAM(2))),'

江恩1/8↑'+NUMTOSTR(最低+(最高-最低)*1/8,2)),Color0095BC;

DRAWTEXT(BARPOS=SYSPARAM(2) and w=2,REF((最低+(最高-最低)*1/4)*0.996,BARSLAST(BARSCOUNT(C)=SYSPARAM(2))),'江恩 1/4↑'+NUMTOSTR(最低+(最高-最低)*1/4,2)),Color0095BC;

DRAWTEXT(BARPOS=SYSPARAM(2) and w=2,REF((最低+(最高-最低)*3/8)*0.996,BARSLAST(BARSCOUNT(C)=SYSPARAM(2))),'江恩 3/8↑'+NUMTOSTR(最低+(最高-最低)*3/8,2)),Color0095BC;

DRAWTEXT(BARPOS=SYSPARAM(2) and w=2,REF((最低+(最高-最低)*5/8)*0.996,BARSLAST(BARSCOUNT(C)=SYSPARAM(2))),'江恩 5/8↑'+NUMTOSTR(最低+(最高-最低)*5/8,2)),Color0095BC;

DRAWTEXT(BARPOS=SYSPARAM(2) and w=2,REF((最低+(最高-最低)*7/8)*0.996,BARSLAST(BARSCOUNT(C)=SYSPARAM(2))),'江恩 7/8↑'+NUMTOSTR(最低+(最高-最低)*7/8,2)),Color0095BC;

DRAWTEXT(BARPOS=SYSPARAM(2) and w=2,REF((最低+(最高-最低)*3/4)*0.996,BARSLAST(BARSCOUNT(C)=SYSPARAM(2))),'江恩 3/4↑'+NUMTOSTR(最低+(最高-最低)*3/4,2)),Color0095BC;

飞狐黄金上升划线主图指标公式

input:n(999,1,10000),p1(1,1,1000);

HH:=HHV(H,N)COLORWHITE;

LL:LLV(L,N)COLORWHITE;

<%VH=FFL.VARDATA("HH")

VL=FFL.VARDATA("LL")

VN=FFL.VARDATA("N")

LAst=UBOUND(VH)

IF VN>LAST THEN VN=LAST+1

FOR I=LAST TO LAST-VN+1 STEP-1

VH(I)=VH(LAST)

VL(I)=VL(LAST)NEXT

FFL.VARDATA("HH")=VH

FFL.VARDATA("LL")=VL

FFL.VARSTARTINDEX("HH")=LAST-VN+1

FFL.VARSTARTINDEX("LL")=LAST-VN+1%>

TJ:=BARSCOUNT(LL)=N-(N-p1);

DRAWTEXT(ISLASTBAR,LL,' 0↑');

DRAWNUMBER(TJ,LL,LL,2),ALIGN2;

M1:LL*1.0625,COLORYELLOW;

DRAWTEXT(ISLASTBAR,M1,' 6.25%↑ 22.5')COLORYELLOW;

DRAWNUMBER(TJ,M1,M1,2),ALIGN2,COLORYELLOW;

M2:LL*1.125,COLORRED;

DRAWTEXT(c>0 and ISLASTBAR=1,M2,' 12.5%↑ 45')COLORRED;

DRAWNUMBER(TJ,M2,M2,2),ALIGN2,COLORRED;

M3:LL*1.1875,COLORGREEN;

DRAWTEXT(ISLASTBAR,M3,' 18.75%↑ 67.5')COLORGREEN;

DRAWNUMBER(TJ,M3,M3,2)ALIGN2,COLORGREEN;

M4:LL*1.25,COLORCYAN;

DRAWTEXT(c>0 and ISLASTBAR=1,M4,' 25%↑ 90')COLORCYAN;

DRAWNUMBER(TJ,M4,M4,2),ALIGN2,COLORCYAN;

M5:LL*1.3125,COLOR00808000;

DRAWTEXT(c>0 and ISLASTBAR=1,M5,' 31.25%↑112.5')COLOR00808000;

DRAWNUMBER(TJ,M5,M5,2)ALIGN2,COLOR00808000;

M6:LL*1.3333,COLORmaGENTA;

DRAWTEXT(c>0 and ISLASTBAR=1,M6,' 33.3%↑120')COLORMAGENTA;

DRAWNUMBER(TJ,M6,M6,2),ALIGN2,COLORMAGENTA;

M7:LL*1.375,COLORGRAY;

DRAWTEXT(c>0 and ISLASTBAR=1,M7,' 37.5%↑135')COLORGRAY;

DRAWNUMBER(TJ,M7,M7,2),ALIGN2,COLORGRAY;

M8:LL*1.4375,COLORBLUE;

DRAWTEXT(c>0 and ISLASTBAR=1,M8,' 43.75%↑157.5')COLORBLUE;

DRAWNUMBER(TJ,M8,M8,2)ALIGN2,COLORBLUE;

M9:LL*1.5,COLORYELLOW;

DRAWTEXT(c>0 and ISLASTBAR=1,M9,' 50%↑ 180')COLORYELLOW;

DRAWNUMBER(TJ,M9,M9,2),ALIGN2,COLORYELLOW;

M10:LL*1.5625,COLORRED;

DRAWTEXT(c>0 and ISLASTBAR=1,M10,' 56.25%↑202.5')COLORRED;

DRAWNUMBR(TJ,M10,M10,2),ALIGN2,COLORRED;

M11:LL*1.625,COLORGREEN;

DRAWTEXT(c>0 and ISLASTBAR=1,M11,' 62.5%↑ 225')COLORGREEN;

DRAWNUMBER(TJ,M11,M11,2),ALIGN2,COLORGREEN;

M12:LL*1.6667,COLOR00808000;

DRAWTEXT(c>0 and ISLASTBAR=1,M12,' 66.6%↑ 240')COLOR00808000;

DRAWNUMBER(TJ,M12,M12,2),ALIGN2,COLOR00808000;

M13:LL*1.6875,COLORMAGENTA;

DRAWTEXT(c>0 and ISLASTBAR=1,M13,' 68.75%↑247.5')COLORMAGENTA;

DRAWNUMBER(TJ,M13,M13,2),ALIGN2,COLORMAGENTA;

M14:LL*1.75,COLORGRAY;

DRAWTEXT(c>0 and ISLASTBAR=1,M14,' 75%↑ 270')COLORGRAY;

DRAWNUMBER(TJ,M14,M14,2),ALIGN2,COLORGRAY;

M15:LL*1.8125,COLORBLUE;

DRAWTEXT(c>0 and ISLASTBAR=1,M15,' 81.25%↑292.5')COLORBLUE;

DRAWNUMBER(TJ,M15,M15,2),ALIGN2,COLORBLUE;

M16:LL*1.875,COLORYELLOW;

DRAWTEXT(c>0 and ISLASTBAR=1,M16,' 87.5%↑ 315')COLORYELLOW;

DRAWNUMBER(TJ,M16,M16,2),ALIGN2,COLORYELLOW;

M17:LL*1.9375,COLORRED;

DRAWTEXT(c>0 and ISLASTBAR=1,M17,' 93.75%↑337.5')COLORRED;

DRAWNUMBER(TJ,M17,M17,2),ALIGN2,COLORRED;

M18:LL*2,COLORGREEN;

DRAWTEXT(c>0 and ISLASTBAR=1,M18,' 100%↑ 360')COLORGREEN;

DRAWNUMBER(TJ,M18,M18,2),ALIGN2,COLORGREEN;

M19:LL*2.0625,COLORCYAN;

DRAWTEXT(c>0 and ISLASTBAR=1,M19,'106.25%↑382.5')COLORCYAN;

DRAWNUMBER(TJ,M19,M19,2),ALIGN2,COLORCYAN;

M20:LL*2.125,COLOR00808000;

DRAWTEXT(c>0 and ISLASTBAR=1,M20,' 112.5%↑ 405')COLOR00808000;

DRAWNUMBER(TJ,M20,M20,2),ALIGN2,COLOR00808000;

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

责任编辑:admin888 标签:飞狐江恩分割主图指标公式,飞狐黄金上升划线主图指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

飞狐江恩分割主图指标公式,飞狐黄金上升划线主图指标公式

admin888

|

飞狐江恩分割主图指标公式,飞狐黄金上升划线主图指标公式

飞狐江恩分割主图指标公式

input:w(2,1,3);

u1:=sysparam(3);

u:=u1-sysparam(2)+1;

hh:=hhv(H,u);

ll:=llv(L,u);

最高:=hh[u1],COLORYELLOW;

PARTLINE(C and w<>3,最高),COLORYELLOW;

最低:ll[u1],COLORred;

PARTLINE(C and w<>3,最低),COLORred;

PARTLINE(C and w=1,最低+(最高-最低)*0.191),LINEDOT,COLORWHITE;

PARTLINE(C and w=1,最低+(最高-最低)*0.382),LINEDOT,COLORWHITE;

PARTLINE(C and w<>3,最低+(最高-最低)*0.5),COLORGREEN;

PARTLINE(C and w=1,最低+(最高-最低)*0.618),LINEDOT,COLORWHITE;

PARTLINE(C and w=1,最低+(最高-最低)*0.809),LINEDOT,COLORWHITE;

DRAWTEXT(BARSCOUNT(C)=SYSPARAM(3) and w<>3,REF(最低,BArslAst(BARSCOUNT(C)=SYSPARAM(2))),'最低↓'),ALIGN2,COLORred;

DRAWTEXT(BARSCOUNT(C)=SYSPARAM(3) and w<>3,REF(最高,BARSLAST(BARSCOUNT(C)=SYSPARAM(2))),'最高↑'),ALIGN2,COLORYELLOW;

DRAWTEXT(BARPOS=SYSPARAM(2) and w=1,REF((最低+(最高-最低)*0.191)*0.996,BARSLAST(BARSCOUNT(C)=SYSPARAM(2))),'

黄金0.191↑'+NUMTOSTR(最低+(最高-最低)*0.191,2)),COLORWHITE;

DRAWTEXT(BARPOS=SYSPARAM(2) and w=1,REF((最低+(最高-最低)*0.382)*0.996,BARSLAST(BARSCOUNT(C)=SYSPARAM(2))),'黄金 0.382↑'+NUMTOSTR(最低+(最高-最低)*0.382,2)),COLORWHITE;

DRAWTEXT(BARPOS=SYSPARAM(2) and w<>3,REF((最低+(最高-最低)*0.5)*0.996,BARSLAST(BARSCOUNT(C)=SYSPARAM (2))),' 50% ↑'+NUMTOSTR(最低+(最高-最低)*0.5,2)),COLORGREEN;

DRAWTEXT(BARPOS=SYSPARAM(2) and w=1,REF((最低+(最高-最低)*0.618)*0.996,BARSLAST(BARSCOUNT(C)=SYSPARAM(2))),'黄金 0.618↑'+NUMTOSTR(最低+(最高-最低)*0.618,2)),COLORWHITE;

DRAWTEXT(BARPOS=SYSPARAM(2) and w=1,REF((最低+(最高-最低)*0.809)*0.996,BARSLAST(BARSCOUNT(C)=SYSPARAM(2))),'黄金 0.809↑'+NUMTOSTR(最低+(最高-最低)*0.809,2)),COLORWHITE;

PARTLINE(C and w=2,最低+(最高-最低)*1/8),LINEDOT,Color0095BC;

PARTLINE(C and w=2,最低+(最高-最低)*1/4),LINEDOT,Color0095BC;

PARTLINE(C and w=2,最低+(最高-最低)*3/8),LINEDOT,Color0095BC;

PARTLINE(C and w=2,最低+(最高-最低)*5/8),LINEDOT,Color0095BC;

PARTLINE(C and w=2,最低+(最高-最低)*7/8),LINEDOT,Color0095BC;

PARTLINE(C and w=2,最低+(最高-最低)*3/4),LINEDOT,Color0095BC;

DRAWTEXT(BARPOS=SYSPARAM(2) and w=2,REF((最低+(最高-最低)*1/8)*0.996,BARSLAST(BARSCOUNT(C)=SYSPARAM(2))),'

江恩1/8↑'+NUMTOSTR(最低+(最高-最低)*1/8,2)),Color0095BC;

DRAWTEXT(BARPOS=SYSPARAM(2) and w=2,REF((最低+(最高-最低)*1/4)*0.996,BARSLAST(BARSCOUNT(C)=SYSPARAM(2))),'江恩 1/4↑'+NUMTOSTR(最低+(最高-最低)*1/4,2)),Color0095BC;

DRAWTEXT(BARPOS=SYSPARAM(2) and w=2,REF((最低+(最高-最低)*3/8)*0.996,BARSLAST(BARSCOUNT(C)=SYSPARAM(2))),'江恩 3/8↑'+NUMTOSTR(最低+(最高-最低)*3/8,2)),Color0095BC;

DRAWTEXT(BARPOS=SYSPARAM(2) and w=2,REF((最低+(最高-最低)*5/8)*0.996,BARSLAST(BARSCOUNT(C)=SYSPARAM(2))),'江恩 5/8↑'+NUMTOSTR(最低+(最高-最低)*5/8,2)),Color0095BC;

DRAWTEXT(BARPOS=SYSPARAM(2) and w=2,REF((最低+(最高-最低)*7/8)*0.996,BARSLAST(BARSCOUNT(C)=SYSPARAM(2))),'江恩 7/8↑'+NUMTOSTR(最低+(最高-最低)*7/8,2)),Color0095BC;

DRAWTEXT(BARPOS=SYSPARAM(2) and w=2,REF((最低+(最高-最低)*3/4)*0.996,BARSLAST(BARSCOUNT(C)=SYSPARAM(2))),'江恩 3/4↑'+NUMTOSTR(最低+(最高-最低)*3/4,2)),Color0095BC;

飞狐黄金上升划线主图指标公式

input:n(999,1,10000),p1(1,1,1000);

HH:=HHV(H,N)COLORWHITE;

LL:LLV(L,N)COLORWHITE;

<%VH=FFL.VARDATA("HH")

VL=FFL.VARDATA("LL")

VN=FFL.VARDATA("N")

LAst=UBOUND(VH)

IF VN>LAST THEN VN=LAST+1

FOR I=LAST TO LAST-VN+1 STEP-1

VH(I)=VH(LAST)

VL(I)=VL(LAST)NEXT

FFL.VARDATA("HH")=VH

FFL.VARDATA("LL")=VL

FFL.VARSTARTINDEX("HH")=LAST-VN+1

FFL.VARSTARTINDEX("LL")=LAST-VN+1%>

TJ:=BARSCOUNT(LL)=N-(N-p1);

DRAWTEXT(ISLASTBAR,LL,' 0↑');

DRAWNUMBER(TJ,LL,LL,2),ALIGN2;

M1:LL*1.0625,COLORYELLOW;

DRAWTEXT(ISLASTBAR,M1,' 6.25%↑ 22.5')COLORYELLOW;

DRAWNUMBER(TJ,M1,M1,2),ALIGN2,COLORYELLOW;

M2:LL*1.125,COLORRED;

DRAWTEXT(c>0 and ISLASTBAR=1,M2,' 12.5%↑ 45')COLORRED;

DRAWNUMBER(TJ,M2,M2,2),ALIGN2,COLORRED;

M3:LL*1.1875,COLORGREEN;

DRAWTEXT(ISLASTBAR,M3,' 18.75%↑ 67.5')COLORGREEN;

DRAWNUMBER(TJ,M3,M3,2)ALIGN2,COLORGREEN;

M4:LL*1.25,COLORCYAN;

DRAWTEXT(c>0 and ISLASTBAR=1,M4,' 25%↑ 90')COLORCYAN;

DRAWNUMBER(TJ,M4,M4,2),ALIGN2,COLORCYAN;

M5:LL*1.3125,COLOR00808000;

DRAWTEXT(c>0 and ISLASTBAR=1,M5,' 31.25%↑112.5')COLOR00808000;

DRAWNUMBER(TJ,M5,M5,2)ALIGN2,COLOR00808000;

M6:LL*1.3333,COLORmaGENTA;

DRAWTEXT(c>0 and ISLASTBAR=1,M6,' 33.3%↑120')COLORMAGENTA;

DRAWNUMBER(TJ,M6,M6,2),ALIGN2,COLORMAGENTA;

M7:LL*1.375,COLORGRAY;

DRAWTEXT(c>0 and ISLASTBAR=1,M7,' 37.5%↑135')COLORGRAY;

DRAWNUMBER(TJ,M7,M7,2),ALIGN2,COLORGRAY;

M8:LL*1.4375,COLORBLUE;

DRAWTEXT(c>0 and ISLASTBAR=1,M8,' 43.75%↑157.5')COLORBLUE;

DRAWNUMBER(TJ,M8,M8,2)ALIGN2,COLORBLUE;

M9:LL*1.5,COLORYELLOW;

DRAWTEXT(c>0 and ISLASTBAR=1,M9,' 50%↑ 180')COLORYELLOW;

DRAWNUMBER(TJ,M9,M9,2),ALIGN2,COLORYELLOW;

M10:LL*1.5625,COLORRED;

DRAWTEXT(c>0 and ISLASTBAR=1,M10,' 56.25%↑202.5')COLORRED;

DRAWNUMBR(TJ,M10,M10,2),ALIGN2,COLORRED;

M11:LL*1.625,COLORGREEN;

DRAWTEXT(c>0 and ISLASTBAR=1,M11,' 62.5%↑ 225')COLORGREEN;

DRAWNUMBER(TJ,M11,M11,2),ALIGN2,COLORGREEN;

M12:LL*1.6667,COLOR00808000;

DRAWTEXT(c>0 and ISLASTBAR=1,M12,' 66.6%↑ 240')COLOR00808000;

DRAWNUMBER(TJ,M12,M12,2),ALIGN2,COLOR00808000;

M13:LL*1.6875,COLORMAGENTA;

DRAWTEXT(c>0 and ISLASTBAR=1,M13,' 68.75%↑247.5')COLORMAGENTA;

DRAWNUMBER(TJ,M13,M13,2),ALIGN2,COLORMAGENTA;

M14:LL*1.75,COLORGRAY;

DRAWTEXT(c>0 and ISLASTBAR=1,M14,' 75%↑ 270')COLORGRAY;

DRAWNUMBER(TJ,M14,M14,2),ALIGN2,COLORGRAY;

M15:LL*1.8125,COLORBLUE;

DRAWTEXT(c>0 and ISLASTBAR=1,M15,' 81.25%↑292.5')COLORBLUE;

DRAWNUMBER(TJ,M15,M15,2),ALIGN2,COLORBLUE;

M16:LL*1.875,COLORYELLOW;

DRAWTEXT(c>0 and ISLASTBAR=1,M16,' 87.5%↑ 315')COLORYELLOW;

DRAWNUMBER(TJ,M16,M16,2),ALIGN2,COLORYELLOW;

M17:LL*1.9375,COLORRED;

DRAWTEXT(c>0 and ISLASTBAR=1,M17,' 93.75%↑337.5')COLORRED;

DRAWNUMBER(TJ,M17,M17,2),ALIGN2,COLORRED;

M18:LL*2,COLORGREEN;

DRAWTEXT(c>0 and ISLASTBAR=1,M18,' 100%↑ 360')COLORGREEN;

DRAWNUMBER(TJ,M18,M18,2),ALIGN2,COLORGREEN;

M19:LL*2.0625,COLORCYAN;

DRAWTEXT(c>0 and ISLASTBAR=1,M19,'106.25%↑382.5')COLORCYAN;

DRAWNUMBER(TJ,M19,M19,2),ALIGN2,COLORCYAN;

M20:LL*2.125,COLOR00808000;

DRAWTEXT(c>0 and ISLASTBAR=1,M20,' 112.5%↑ 405')COLOR00808000;

DRAWNUMBER(TJ,M20,M20,2),ALIGN2,COLOR00808000;

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


财经频道