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

飞狐同向波自动测幅主图指标公式,飞狐逆向波自动测幅主图指标公式

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

    关注√

    牛市通网微信

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

飞狐同向波自动测幅主图指标公式,飞狐逆向波自动测幅主图指标公式

飞狐同向波自动测幅主图指标公式

KG1:=9;F1:=10;

KG:=IF(DATATYPE<=1,1,IF(DATATYPE<=3,5,IF(DATATYPE<=5,10,KG1)));

F:=IF(DATATYPE<=3,1,IF(DATATYPE=4,3,IF(DATATYPE=5,5,F1)));

ZX:=zig(4,KG);

CCH:=PEAK(4,KG,1);

CCY:=TROUGH(4,KG,1);

CCHh:=PEAK(4,KG,2);

CCYy:=TROUGH(4,KG,2);

CC:=IF(ZX

DD:=IF(ZX

CCc:=IF(ZX

DDd:=IF(ZX

W1:=crOSS(CCH-0.02,ZX);

W2:=CROSS(ZX,CCY+0.02);

FD:=F/100;

YS:=IF(ZX

W:=IF(ZX

H1:if(ZX

H2:if(ZX

H3:if(ZX

H4:if(ZX

H5:if(ZX

H6:if(ZX

H7:if(ZX

H8:if(ZX

H9:if(ZX

H10:if(ZX

H11:if(ZX

H12:if(ZX

H13:if(ZX

H14:if(ZX

H15:if(ZX

H16:if(ZX

H17:if(ZX

H18:if(ZX

H19:if(ZX

H20:if(ZX

H1h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*0.5,BARSLAST(W)),0),LINETHICK0;

H2h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*0.618,BARSLAST(W)),0),LINETHICK0;

H3h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*1.618,BARSLAST(W)),0),LINETHICK0;

H4h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*1.272,BARSLAST(W)),0),LINETHICK0;

H5h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*1.5,BARSLAST(W)),0),LINETHICK0;

H6h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*1.382,BARSLAST(W)),0),LINETHICK0;

H7h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*2,BARSLAST(W)),0),LINETHICK0;

H8h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*2.5,BARSLAST(W)),0),LINETHICK0;

H9h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*2.618,BARSLAST(W)),0),LINETHICK0;

H10h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*4.236,BARSLAST(W)),0),LINETHICK0;

H11h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*0.382,BARSLAST(W)),0),LINETHICK0;

H12h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*0.764,BARSLAST(W)),0),LINETHICK0;

H13h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*0.809,BARSLAST(W)),0),LINETHICK0;

H14h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*3.236,BARSLAST(W)),0),LINETHICK0;

H15h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*3.618,BARSLAST(W)),0),LINETHICK0;

H16h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*3,BARSLAST(W)),0),LINETHICK0;

H17h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*1,BARSLAST(W)),0),LINETHICK0;

H18h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*4,BARSLAST(W)),0),LINETHICK0;

H19h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*0.191,BARSLAST(W)),0),LINETHICK0;

H20h:if(ZX>REF(ZX,1),REF(cc+(dd-ccc)*cc/ccc,BARSLAST(W)),0),LINETHICK0;

HHD:=SYSPARAM(4);

LLD:=SYSPARAM(5);

系数:=IF(DATATYPE=2,1.00005,IF(DATATYPE<6,1.0005,1.002));

STICKLINE(CC>=LLD AND CC<=HHD,CC,CC*系数,20,0),colorFF;

STICKLINE(CC>=LLD AND CC<=HHD,H1,H1,5,0),colorA0A0A0;

STICKLINE(H1>LLD AND H1

STICKLINE(H2>LLD AND H2

STICKLINE(H3>LLD AND H3

STICKLINE(H4>LLD AND H4

STICKLINE(H5>LLD AND H5

STICKLINE(H6>LLD AND H6

STICKLINE(H7>LLD AND H7

STICKLINE(H8>LLD AND H8

STICKLINE(H9>LLD AND H9

STICKLINE(H10>LLD AND H10

STICKLINE(H11>LLD AND H11

STICKLINE(H12>LLD AND H12

STICKLINE(H13>LLD AND H13

STICKLINE(H14>LLD AND H14

STICKLINE(H15>LLD AND H15

STICKLINE(H16>LLD AND H16

STICKLINE(H17>LLD AND H17

STICKLINE(H18>LLD AND H18

STICKLINE(H19>LLD AND H19

STICKLINE(CC>=LLD AND CC<=HHD,H1h,H1h,5,0),colorA0A0A0;

STICKLINE(H1h>LLD AND H1h

STICKLINE(H2h>LLD AND H2h

STICKLINE(H3h>LLD AND H3h

STICKLINE(H4h>LLD AND H4h

STICKLINE(H5h>LLD AND H5h

STICKLINE(H6h>LLD AND H6h

STICKLINE(H7h>LLD AND H7h

STICKLINE(H8h>LLD AND H8h

STICKLINE(H9h>LLD AND H9h

STICKLINE(H10h>LLD AND H10h

STICKLINE(H11h>LLD AND H11h

STICKLINE(H12h>LLD AND H12h

STICKLINE(H13h>LLD AND H13h

STICKLINE(H14h>LLD AND H14h

STICKLINE(H15h>LLD AND H15h

STICKLINE(H16h>LLD AND H16h

STICKLINE(H17h>LLD AND H17h

STICKLINE(H18h>LLD AND H18h

STICKLINE(H19h>LLD AND H19h

DRAWTEXT(W AND CC>=LLD AND CC<=HHD,H1,''+NUMTOSTR(F*0.5/10,3)+'%'),PXDN5,colorA0A0A0;

DRAWTEXT(W AND H1>LLD AND H1

DRAWTEXT(W AND H2>LLD AND H2

DRAWTEXT(W AND H3>LLD AND H3

DRAWTEXT(W AND H4>LLD AND H4

DRAWTEXT(W AND H5>LLD AND H5

DRAWTEXT(W AND H6>LLD AND H6

DRAWTEXT(W AND H7>LLD AND H7

DRAWTEXT(W AND H8>LLD AND H8

DRAWTEXT(W AND H9>LLD AND H9

DRAWTEXT(W AND H10>LLD AND H10

DRAWTEXT(W AND H11>LLD AND H11

DRAWTEXT(W AND H12>LLD AND H12

DRAWTEXT(W AND H13>LLD AND H13

DRAWTEXT(W AND H14>LLD AND H14

DRAWTEXT(W AND H15>LLD AND H15

DRAWTEXT(W AND H16>LLD AND H16

DRAWTEXT(W AND H17>LLD AND H17

DRAWTEXT(W AND H18>LLD AND H18

DRAWTEXT(W AND CC>=LLD AND CC<=HHD,H1h,''+NUMTOSTR(F*0.5/10,3)+'%'),PXDN5,colorA0A0A0;

DRAWTEXT(W AND H1h>LLD AND H1h

DRAWTEXT(W AND H2h>LLD AND H2h

DRAWTEXT(W AND H3h>LLD AND H3h

DRAWTEXT(W AND H4h>LLD AND H4h

DRAWTEXT(W AND H5h>LLD AND H5h

DRAWTEXT(W AND H6h>LLD AND H6h

DRAWTEXT(W AND H7h>LLD AND H7h

DRAWTEXT(W AND H8h>LLD AND H8h

DRAWTEXT(W AND H9h>LLD AND H9h

DRAWTEXT(W AND H10h>LLD AND H10h

DRAWTEXT(W AND H11h>LLD AND H11h

DRAWTEXT(W AND H12h>LLD AND H12h

DRAWTEXT(W AND H13h>LLD AND H13h

DRAWTEXT(W AND H14h>LLD AND H14h

DRAWTEXT(W AND H15h>LLD AND H15h

DRAWTEXT(W AND H16h>LLD AND H16h

DRAWTEXT(W AND H17h>LLD AND H17h

DRAWTEXT(W AND H18h>LLD AND H18h

AK1:=BARSLAST(W1)+1;

BK1:=BARSLAST(W2)+1;

目前:=IF(BK1>AK1,AK1,BK1);

DRAWNUMBER(W1,CC,REF(目前,1)+1,0),ALIGN2,PXUP30,colorFF00FF;

DRAWNUMBER(W2,CC,REF(目前,1)+1,0),ALIGN2,PXDN10,coloryellow;

方向:=IF(CC=CCH,'下行 ','上升');

周期:=IF(DATATYPE=6,'天 ',IF(DATATYPE=7,'周 ',IF(DATATYPE=8,'月 ','单位')));

DRAWTEXTEX(CLOSE>0,0,2,5,'目前波段'+方向+NUMTOSTR(目前+1,0)+周期),colorRED;

DRAWTEXT(W1,CC,''+周期),PXUP30,colorFF00FF;

DRAWTEXT(W2,CC,''+周期),PXDN10,coloryellow;

a:=FLATZIG(4,KG);

z:zig(4,KG),PRECISION2,LINEDOT,COLORWHITE;

aa:=a=0 or a=1 or 是否最后周期;

wq:=barslast(aa);

F:(z/ref(z,ref(wq,1)+1)-1)*100,LINETHICK;

w2:=sumbars(aa,2)-1;

fb:=f/ref(f,ref(w2,1)+1);

显示数字(aa,z,fb,2);

飞狐逆向波自动测幅主图指标公式

KG1:=9;F1:=10;

KG:=IF(DATATYPE<=1,1,IF(DATATYPE<=3,5,IF(DATATYPE<=5,10,KG1)));

F:=IF(DATATYPE<=3,1,IF(DATATYPE=4,3,IF(DATATYPE=5,5,F1)));

ZX:=zig(4,KG);

CCH:=PEAK(4,KG,1);

CCY:=TROUGH(4,KG,1);

CC:=IF(ZX

DD:=IF(ZX

W1:=crOSS(CCH-0.02,ZX);

W2:=CROSS(ZX,CCY+0.02);

FD:=F/100;

YS:=IF(ZX

W:=IF(ZX

H1:if(ZX

H2:if(ZX

H3:if(ZX

H4:if(ZX

H5:if(ZX

H6:if(ZX

H7:if(ZX

H8:if(ZX

H9:if(ZX

H10:if(ZX

H11:if(ZX

H12:if(ZX

H13:if(ZX

H14:if(ZX

H15:if(ZX

H16:if(ZX

H17:if(ZX

H18:if(ZX

H19:if(ZX

H1h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*0.5,BARSLAST(W)),0),LINETHICK0;

H2h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*0.618,BARSLAST(W)),0),LINETHICK0;

H3h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*1.618,BARSLAST(W)),0),LINETHICK0;

H4h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*1.272,BARSLAST(W)),0),LINETHICK0;

H5h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*1.5,BARSLAST(W)),0),LINETHICK0;

H6h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*1.382,BARSLAST(W)),0),LINETHICK0;

H7h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*2,BARSLAST(W)),0),LINETHICK0;

H8h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*2.5,BARSLAST(W)),0),LINETHICK0;

H9h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*2.618,BARSLAST(W)),0),LINETHICK0;

H10h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*4.236,BARSLAST(W)),0),LINETHICK0;

H11h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*0.382,BARSLAST(W)),0),LINETHICK0;

H12h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*0.764,BARSLAST(W)),0),LINETHICK0;

H13h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*0.809,BARSLAST(W)),0),LINETHICK0;

H14h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*3.326,BARSLAST(W)),0),LINETHICK0;

H15h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*3.618,BARSLAST(W)),0),LINETHICK0;

H16h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*3,BARSLAST(W)),0),LINETHICK0;

H17h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*1,BARSLAST(W)),0),LINETHICK0;

H18h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*4,BARSLAST(W)),0),LINETHICK0;

H19h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*0.191,BARSLAST(W)),0),LINETHICK0;

HHD:=SYSPARAM(4);

LLD:=SYSPARAM(5);

系数:=IF(DATATYPE=2,1.00005,IF(DATATYPE<6,1.0005,1.002));

STICKLINE(CC>=LLD AND CC<=HHD,CC,CC*系数,20,0),colorFF;

STICKLINE(CC>=LLD AND CC<=HHD,H1,H1,5,0),colorA0A0A0;

STICKLINE(H1>LLD AND H1

STICKLINE(H2>LLD AND H2

STICKLINE(H3>LLD AND H3

STICKLINE(H4>LLD AND H4

STICKLINE(H5>LLD AND H5

STICKLINE(H6>LLD AND H6

STICKLINE(H7>LLD AND H7

STICKLINE(H8>LLD AND H8

STICKLINE(H9>LLD AND H9

STICKLINE(H10>LLD AND H10

STICKLINE(H11>LLD AND H11

STICKLINE(H12>LLD AND H12

STICKLINE(H13>LLD AND H13

STICKLINE(H14>LLD AND H14

STICKLINE(H15>LLD AND H15

STICKLINE(H16>LLD AND H16

STICKLINE(H17>LLD AND H17

STICKLINE(H18>LLD AND H18

STICKLINE(CC>=LLD AND CC<=HHD,H1h,H1h,5,0),colorA0A0A0;

STICKLINE(H1h>LLD AND H1h

STICKLINE(H2h>LLD AND H2h

STICKLINE(H3h>LLD AND H3h

STICKLINE(H4h>LLD AND H4h

STICKLINE(H5h>LLD AND H5h

STICKLINE(H6h>LLD AND H6h

STICKLINE(H7h>LLD AND H7h

STICKLINE(H8h>LLD AND H8h

STICKLINE(H9h>LLD AND H9h

STICKLINE(H10h>LLD AND H10h

STICKLINE(H11h>LLD AND H11h

STICKLINE(H12h>LLD AND H12h

STICKLINE(H13h>LLD AND H13h

STICKLINE(H14h>LLD AND H14h

STICKLINE(H15h>LLD AND H15h

STICKLINE(H16h>LLD AND H16h

STICKLINE(H17h>LLD AND H17h

STICKLINE(H18h>LLD AND H18h

DRAWTEXT(W AND CC>=LLD AND CC<=HHD,H1,''+NUMTOSTR(F*0.5/10,3)+'%'),PXDN5,colorA0A0A0;

DRAWTEXT(W AND H1>LLD AND H1

DRAWTEXT(W AND H2>LLD AND H2

DRAWTEXT(W AND H3>LLD AND H3

DRAWTEXT(W AND H4>LLD AND H4

DRAWTEXT(W AND H5>LLD AND H5

DRAWTEXT(W AND H6>LLD AND H6

DRAWTEXT(W AND H7>LLD AND H7

DRAWTEXT(W AND H8>LLD AND H8

DRAWTEXT(W AND H9>LLD AND H9

DRAWTEXT(W AND H10>LLD AND H10

DRAWTEXT(W AND H11>LLD AND H11

DRAWTEXT(W AND H12>LLD AND H12

DRAWTEXT(W AND H13>LLD AND H13

DRAWTEXT(W AND H14>LLD AND H14

DRAWTEXT(W AND H15>LLD AND H15

DRAWTEXT(W AND H16>LLD AND H16

DRAWTEXT(W AND H17>LLD AND H17

DRAWTEXT(W AND H18>LLD AND H18

DRAWTEXT(W AND CC>=LLD AND CC<=HHD,H1h,''+NUMTOSTR(F*0.5/10,3)+'%'),PXDN5,colorA0A0A0;

DRAWTEXT(W AND H1h>LLD AND H1h

DRAWTEXT(W AND H2h>LLD AND H2h

DRAWTEXT(W AND H3h>LLD AND H3h

DRAWTEXT(W AND H4h>LLD AND H4h

DRAWTEXT(W AND H5h>LLD AND H5h

DRAWTEXT(W AND H6h>LLD AND H6h

DRAWTEXT(W AND H7h>LLD AND H7h

DRAWTEXT(W AND H8h>LLD AND H8h

DRAWTEXT(W AND H9h>LLD AND H9h

DRAWTEXT(W AND H10h>LLD AND H10h

DRAWTEXT(W AND H11h>LLD AND H11h

DRAWTEXT(W AND H12h>LLD AND H12h

DRAWTEXT(W AND H13h>LLD AND H13h

DRAWTEXT(W AND H14h>LLD AND H14h

DRAWTEXT(W AND H15h>LLD AND H15h

DRAWTEXT(W AND H16h>LLD AND H16h

DRAWTEXT(W AND H17h>LLD AND H17h

DRAWTEXT(W AND H18h>LLD AND H18h

AK1:=BARSLAST(W1)+1;

BK1:=BARSLAST(W2)+1;

目前:=IF(BK1>AK1,AK1,BK1);

DRAWNUMBER(W1,CC,REF(目前,1)+1,0),ALIGN2,PXUP30,colorFF00FF;

DRAWNUMBER(W2,CC,REF(目前,1)+1,0),ALIGN2,PXDN10,coloryellow;

方向:=IF(CC=CCH,'下行 ','上升');

周期:=IF(DATATYPE=6,'天 ',IF(DATATYPE=7,'周 ',IF(DATATYPE=8,'月 ','单位')));

DRAWTEXTEX(CLOSE>0,0,2,5,'目前波段'+方向+NUMTOSTR(目前+1,0)+周期),colorRED;

DRAWTEXT(W1,CC,''+周期),PXUP30,colorFF00FF;

DRAWTEXT(W2,CC,''+周期),PXDN10,coloryellow;

a:=FLATZIG(4,KG1);

z:zig(4,KG1),PRECISION2,LINEDOT,COLORWHITE;

aa:=a=0 or a=1 or 是否最后周期;

wq:=barslast(aa);

F:(z/ref(z,ref(wq,1)+1)-1)*100,LINETHICK;

w2:=sumbars(aa,2)-1;

fb:=f/ref(f,ref(w2,1)+1);

显示数字(aa,z,fb,2);

显示数字(aa,z*0.99,f/ref(f,ref(wq,1)+1),2);

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

责任编辑:admin888 标签:飞狐同向波自动测幅主图指标公式,飞狐逆向波自动测幅主图指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

飞狐同向波自动测幅主图指标公式,飞狐逆向波自动测幅主图指标公式

admin888

|

飞狐同向波自动测幅主图指标公式,飞狐逆向波自动测幅主图指标公式

飞狐同向波自动测幅主图指标公式

KG1:=9;F1:=10;

KG:=IF(DATATYPE<=1,1,IF(DATATYPE<=3,5,IF(DATATYPE<=5,10,KG1)));

F:=IF(DATATYPE<=3,1,IF(DATATYPE=4,3,IF(DATATYPE=5,5,F1)));

ZX:=zig(4,KG);

CCH:=PEAK(4,KG,1);

CCY:=TROUGH(4,KG,1);

CCHh:=PEAK(4,KG,2);

CCYy:=TROUGH(4,KG,2);

CC:=IF(ZX

DD:=IF(ZX

CCc:=IF(ZX

DDd:=IF(ZX

W1:=crOSS(CCH-0.02,ZX);

W2:=CROSS(ZX,CCY+0.02);

FD:=F/100;

YS:=IF(ZX

W:=IF(ZX

H1:if(ZX

H2:if(ZX

H3:if(ZX

H4:if(ZX

H5:if(ZX

H6:if(ZX

H7:if(ZX

H8:if(ZX

H9:if(ZX

H10:if(ZX

H11:if(ZX

H12:if(ZX

H13:if(ZX

H14:if(ZX

H15:if(ZX

H16:if(ZX

H17:if(ZX

H18:if(ZX

H19:if(ZX

H20:if(ZX

H1h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*0.5,BARSLAST(W)),0),LINETHICK0;

H2h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*0.618,BARSLAST(W)),0),LINETHICK0;

H3h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*1.618,BARSLAST(W)),0),LINETHICK0;

H4h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*1.272,BARSLAST(W)),0),LINETHICK0;

H5h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*1.5,BARSLAST(W)),0),LINETHICK0;

H6h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*1.382,BARSLAST(W)),0),LINETHICK0;

H7h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*2,BARSLAST(W)),0),LINETHICK0;

H8h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*2.5,BARSLAST(W)),0),LINETHICK0;

H9h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*2.618,BARSLAST(W)),0),LINETHICK0;

H10h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*4.236,BARSLAST(W)),0),LINETHICK0;

H11h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*0.382,BARSLAST(W)),0),LINETHICK0;

H12h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*0.764,BARSLAST(W)),0),LINETHICK0;

H13h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*0.809,BARSLAST(W)),0),LINETHICK0;

H14h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*3.236,BARSLAST(W)),0),LINETHICK0;

H15h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*3.618,BARSLAST(W)),0),LINETHICK0;

H16h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*3,BARSLAST(W)),0),LINETHICK0;

H17h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*1,BARSLAST(W)),0),LINETHICK0;

H18h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*4,BARSLAST(W)),0),LINETHICK0;

H19h:if(ZX>REF(ZX,1),REF(CC+(dd-ccc)*0.191,BARSLAST(W)),0),LINETHICK0;

H20h:if(ZX>REF(ZX,1),REF(cc+(dd-ccc)*cc/ccc,BARSLAST(W)),0),LINETHICK0;

HHD:=SYSPARAM(4);

LLD:=SYSPARAM(5);

系数:=IF(DATATYPE=2,1.00005,IF(DATATYPE<6,1.0005,1.002));

STICKLINE(CC>=LLD AND CC<=HHD,CC,CC*系数,20,0),colorFF;

STICKLINE(CC>=LLD AND CC<=HHD,H1,H1,5,0),colorA0A0A0;

STICKLINE(H1>LLD AND H1

STICKLINE(H2>LLD AND H2

STICKLINE(H3>LLD AND H3

STICKLINE(H4>LLD AND H4

STICKLINE(H5>LLD AND H5

STICKLINE(H6>LLD AND H6

STICKLINE(H7>LLD AND H7

STICKLINE(H8>LLD AND H8

STICKLINE(H9>LLD AND H9

STICKLINE(H10>LLD AND H10

STICKLINE(H11>LLD AND H11

STICKLINE(H12>LLD AND H12

STICKLINE(H13>LLD AND H13

STICKLINE(H14>LLD AND H14

STICKLINE(H15>LLD AND H15

STICKLINE(H16>LLD AND H16

STICKLINE(H17>LLD AND H17

STICKLINE(H18>LLD AND H18

STICKLINE(H19>LLD AND H19

STICKLINE(CC>=LLD AND CC<=HHD,H1h,H1h,5,0),colorA0A0A0;

STICKLINE(H1h>LLD AND H1h

STICKLINE(H2h>LLD AND H2h

STICKLINE(H3h>LLD AND H3h

STICKLINE(H4h>LLD AND H4h

STICKLINE(H5h>LLD AND H5h

STICKLINE(H6h>LLD AND H6h

STICKLINE(H7h>LLD AND H7h

STICKLINE(H8h>LLD AND H8h

STICKLINE(H9h>LLD AND H9h

STICKLINE(H10h>LLD AND H10h

STICKLINE(H11h>LLD AND H11h

STICKLINE(H12h>LLD AND H12h

STICKLINE(H13h>LLD AND H13h

STICKLINE(H14h>LLD AND H14h

STICKLINE(H15h>LLD AND H15h

STICKLINE(H16h>LLD AND H16h

STICKLINE(H17h>LLD AND H17h

STICKLINE(H18h>LLD AND H18h

STICKLINE(H19h>LLD AND H19h

DRAWTEXT(W AND CC>=LLD AND CC<=HHD,H1,''+NUMTOSTR(F*0.5/10,3)+'%'),PXDN5,colorA0A0A0;

DRAWTEXT(W AND H1>LLD AND H1

DRAWTEXT(W AND H2>LLD AND H2

DRAWTEXT(W AND H3>LLD AND H3

DRAWTEXT(W AND H4>LLD AND H4

DRAWTEXT(W AND H5>LLD AND H5

DRAWTEXT(W AND H6>LLD AND H6

DRAWTEXT(W AND H7>LLD AND H7

DRAWTEXT(W AND H8>LLD AND H8

DRAWTEXT(W AND H9>LLD AND H9

DRAWTEXT(W AND H10>LLD AND H10

DRAWTEXT(W AND H11>LLD AND H11

DRAWTEXT(W AND H12>LLD AND H12

DRAWTEXT(W AND H13>LLD AND H13

DRAWTEXT(W AND H14>LLD AND H14

DRAWTEXT(W AND H15>LLD AND H15

DRAWTEXT(W AND H16>LLD AND H16

DRAWTEXT(W AND H17>LLD AND H17

DRAWTEXT(W AND H18>LLD AND H18

DRAWTEXT(W AND CC>=LLD AND CC<=HHD,H1h,''+NUMTOSTR(F*0.5/10,3)+'%'),PXDN5,colorA0A0A0;

DRAWTEXT(W AND H1h>LLD AND H1h

DRAWTEXT(W AND H2h>LLD AND H2h

DRAWTEXT(W AND H3h>LLD AND H3h

DRAWTEXT(W AND H4h>LLD AND H4h

DRAWTEXT(W AND H5h>LLD AND H5h

DRAWTEXT(W AND H6h>LLD AND H6h

DRAWTEXT(W AND H7h>LLD AND H7h

DRAWTEXT(W AND H8h>LLD AND H8h

DRAWTEXT(W AND H9h>LLD AND H9h

DRAWTEXT(W AND H10h>LLD AND H10h

DRAWTEXT(W AND H11h>LLD AND H11h

DRAWTEXT(W AND H12h>LLD AND H12h

DRAWTEXT(W AND H13h>LLD AND H13h

DRAWTEXT(W AND H14h>LLD AND H14h

DRAWTEXT(W AND H15h>LLD AND H15h

DRAWTEXT(W AND H16h>LLD AND H16h

DRAWTEXT(W AND H17h>LLD AND H17h

DRAWTEXT(W AND H18h>LLD AND H18h

AK1:=BARSLAST(W1)+1;

BK1:=BARSLAST(W2)+1;

目前:=IF(BK1>AK1,AK1,BK1);

DRAWNUMBER(W1,CC,REF(目前,1)+1,0),ALIGN2,PXUP30,colorFF00FF;

DRAWNUMBER(W2,CC,REF(目前,1)+1,0),ALIGN2,PXDN10,coloryellow;

方向:=IF(CC=CCH,'下行 ','上升');

周期:=IF(DATATYPE=6,'天 ',IF(DATATYPE=7,'周 ',IF(DATATYPE=8,'月 ','单位')));

DRAWTEXTEX(CLOSE>0,0,2,5,'目前波段'+方向+NUMTOSTR(目前+1,0)+周期),colorRED;

DRAWTEXT(W1,CC,''+周期),PXUP30,colorFF00FF;

DRAWTEXT(W2,CC,''+周期),PXDN10,coloryellow;

a:=FLATZIG(4,KG);

z:zig(4,KG),PRECISION2,LINEDOT,COLORWHITE;

aa:=a=0 or a=1 or 是否最后周期;

wq:=barslast(aa);

F:(z/ref(z,ref(wq,1)+1)-1)*100,LINETHICK;

w2:=sumbars(aa,2)-1;

fb:=f/ref(f,ref(w2,1)+1);

显示数字(aa,z,fb,2);

飞狐逆向波自动测幅主图指标公式

KG1:=9;F1:=10;

KG:=IF(DATATYPE<=1,1,IF(DATATYPE<=3,5,IF(DATATYPE<=5,10,KG1)));

F:=IF(DATATYPE<=3,1,IF(DATATYPE=4,3,IF(DATATYPE=5,5,F1)));

ZX:=zig(4,KG);

CCH:=PEAK(4,KG,1);

CCY:=TROUGH(4,KG,1);

CC:=IF(ZX

DD:=IF(ZX

W1:=crOSS(CCH-0.02,ZX);

W2:=CROSS(ZX,CCY+0.02);

FD:=F/100;

YS:=IF(ZX

W:=IF(ZX

H1:if(ZX

H2:if(ZX

H3:if(ZX

H4:if(ZX

H5:if(ZX

H6:if(ZX

H7:if(ZX

H8:if(ZX

H9:if(ZX

H10:if(ZX

H11:if(ZX

H12:if(ZX

H13:if(ZX

H14:if(ZX

H15:if(ZX

H16:if(ZX

H17:if(ZX

H18:if(ZX

H19:if(ZX

H1h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*0.5,BARSLAST(W)),0),LINETHICK0;

H2h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*0.618,BARSLAST(W)),0),LINETHICK0;

H3h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*1.618,BARSLAST(W)),0),LINETHICK0;

H4h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*1.272,BARSLAST(W)),0),LINETHICK0;

H5h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*1.5,BARSLAST(W)),0),LINETHICK0;

H6h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*1.382,BARSLAST(W)),0),LINETHICK0;

H7h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*2,BARSLAST(W)),0),LINETHICK0;

H8h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*2.5,BARSLAST(W)),0),LINETHICK0;

H9h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*2.618,BARSLAST(W)),0),LINETHICK0;

H10h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*4.236,BARSLAST(W)),0),LINETHICK0;

H11h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*0.382,BARSLAST(W)),0),LINETHICK0;

H12h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*0.764,BARSLAST(W)),0),LINETHICK0;

H13h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*0.809,BARSLAST(W)),0),LINETHICK0;

H14h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*3.326,BARSLAST(W)),0),LINETHICK0;

H15h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*3.618,BARSLAST(W)),0),LINETHICK0;

H16h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*3,BARSLAST(W)),0),LINETHICK0;

H17h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*1,BARSLAST(W)),0),LINETHICK0;

H18h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*4,BARSLAST(W)),0),LINETHICK0;

H19h:if(ZX>REF(ZX,1),REF(CC+(dd-cc)*0.191,BARSLAST(W)),0),LINETHICK0;

HHD:=SYSPARAM(4);

LLD:=SYSPARAM(5);

系数:=IF(DATATYPE=2,1.00005,IF(DATATYPE<6,1.0005,1.002));

STICKLINE(CC>=LLD AND CC<=HHD,CC,CC*系数,20,0),colorFF;

STICKLINE(CC>=LLD AND CC<=HHD,H1,H1,5,0),colorA0A0A0;

STICKLINE(H1>LLD AND H1

STICKLINE(H2>LLD AND H2

STICKLINE(H3>LLD AND H3

STICKLINE(H4>LLD AND H4

STICKLINE(H5>LLD AND H5

STICKLINE(H6>LLD AND H6

STICKLINE(H7>LLD AND H7

STICKLINE(H8>LLD AND H8

STICKLINE(H9>LLD AND H9

STICKLINE(H10>LLD AND H10

STICKLINE(H11>LLD AND H11

STICKLINE(H12>LLD AND H12

STICKLINE(H13>LLD AND H13

STICKLINE(H14>LLD AND H14

STICKLINE(H15>LLD AND H15

STICKLINE(H16>LLD AND H16

STICKLINE(H17>LLD AND H17

STICKLINE(H18>LLD AND H18

STICKLINE(CC>=LLD AND CC<=HHD,H1h,H1h,5,0),colorA0A0A0;

STICKLINE(H1h>LLD AND H1h

STICKLINE(H2h>LLD AND H2h

STICKLINE(H3h>LLD AND H3h

STICKLINE(H4h>LLD AND H4h

STICKLINE(H5h>LLD AND H5h

STICKLINE(H6h>LLD AND H6h

STICKLINE(H7h>LLD AND H7h

STICKLINE(H8h>LLD AND H8h

STICKLINE(H9h>LLD AND H9h

STICKLINE(H10h>LLD AND H10h

STICKLINE(H11h>LLD AND H11h

STICKLINE(H12h>LLD AND H12h

STICKLINE(H13h>LLD AND H13h

STICKLINE(H14h>LLD AND H14h

STICKLINE(H15h>LLD AND H15h

STICKLINE(H16h>LLD AND H16h

STICKLINE(H17h>LLD AND H17h

STICKLINE(H18h>LLD AND H18h

DRAWTEXT(W AND CC>=LLD AND CC<=HHD,H1,''+NUMTOSTR(F*0.5/10,3)+'%'),PXDN5,colorA0A0A0;

DRAWTEXT(W AND H1>LLD AND H1

DRAWTEXT(W AND H2>LLD AND H2

DRAWTEXT(W AND H3>LLD AND H3

DRAWTEXT(W AND H4>LLD AND H4

DRAWTEXT(W AND H5>LLD AND H5

DRAWTEXT(W AND H6>LLD AND H6

DRAWTEXT(W AND H7>LLD AND H7

DRAWTEXT(W AND H8>LLD AND H8

DRAWTEXT(W AND H9>LLD AND H9

DRAWTEXT(W AND H10>LLD AND H10

DRAWTEXT(W AND H11>LLD AND H11

DRAWTEXT(W AND H12>LLD AND H12

DRAWTEXT(W AND H13>LLD AND H13

DRAWTEXT(W AND H14>LLD AND H14

DRAWTEXT(W AND H15>LLD AND H15

DRAWTEXT(W AND H16>LLD AND H16

DRAWTEXT(W AND H17>LLD AND H17

DRAWTEXT(W AND H18>LLD AND H18

DRAWTEXT(W AND CC>=LLD AND CC<=HHD,H1h,''+NUMTOSTR(F*0.5/10,3)+'%'),PXDN5,colorA0A0A0;

DRAWTEXT(W AND H1h>LLD AND H1h

DRAWTEXT(W AND H2h>LLD AND H2h

DRAWTEXT(W AND H3h>LLD AND H3h

DRAWTEXT(W AND H4h>LLD AND H4h

DRAWTEXT(W AND H5h>LLD AND H5h

DRAWTEXT(W AND H6h>LLD AND H6h

DRAWTEXT(W AND H7h>LLD AND H7h

DRAWTEXT(W AND H8h>LLD AND H8h

DRAWTEXT(W AND H9h>LLD AND H9h

DRAWTEXT(W AND H10h>LLD AND H10h

DRAWTEXT(W AND H11h>LLD AND H11h

DRAWTEXT(W AND H12h>LLD AND H12h

DRAWTEXT(W AND H13h>LLD AND H13h

DRAWTEXT(W AND H14h>LLD AND H14h

DRAWTEXT(W AND H15h>LLD AND H15h

DRAWTEXT(W AND H16h>LLD AND H16h

DRAWTEXT(W AND H17h>LLD AND H17h

DRAWTEXT(W AND H18h>LLD AND H18h

AK1:=BARSLAST(W1)+1;

BK1:=BARSLAST(W2)+1;

目前:=IF(BK1>AK1,AK1,BK1);

DRAWNUMBER(W1,CC,REF(目前,1)+1,0),ALIGN2,PXUP30,colorFF00FF;

DRAWNUMBER(W2,CC,REF(目前,1)+1,0),ALIGN2,PXDN10,coloryellow;

方向:=IF(CC=CCH,'下行 ','上升');

周期:=IF(DATATYPE=6,'天 ',IF(DATATYPE=7,'周 ',IF(DATATYPE=8,'月 ','单位')));

DRAWTEXTEX(CLOSE>0,0,2,5,'目前波段'+方向+NUMTOSTR(目前+1,0)+周期),colorRED;

DRAWTEXT(W1,CC,''+周期),PXUP30,colorFF00FF;

DRAWTEXT(W2,CC,''+周期),PXDN10,coloryellow;

a:=FLATZIG(4,KG1);

z:zig(4,KG1),PRECISION2,LINEDOT,COLORWHITE;

aa:=a=0 or a=1 or 是否最后周期;

wq:=barslast(aa);

F:(z/ref(z,ref(wq,1)+1)-1)*100,LINETHICK;

w2:=sumbars(aa,2)-1;

fb:=f/ref(f,ref(w2,1)+1);

显示数字(aa,z,fb,2);

显示数字(aa,z*0.99,f/ref(f,ref(wq,1)+1),2);

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


财经频道