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

飞狐成交量判顶指标公式,飞狐过滤高低点主图指标公式

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

    关注√

    牛市通网微信

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

飞狐成交量判顶指标公式,飞狐过滤高低点主图指标公式

飞狐成交量判顶指标公式

m1:=5;

m2:=35;

m3:=135;

volUME:=VOL;

量:vol,VOLstICK;

启:ma(VOLUME,m1),colorwhite,LINETHICK2;

m20:MA(VOLUME,20),colorgreen;

洗:MA(VOLUME,m2),COLORYELLOW,LINETHICK2;

异:MA(VOLUME,m3),COLORRED,LINETHICK2;

{股价多头排列}Tjq:=ma(c,20)>ref(ma(c,20),1) and ma(c,60)>ref(ma(c,60),1) and ma(c,120)>ref(ma(c,120),1) and ma(c,20)> ma(c,60) and ma(c,60)> ma(c,120) and ma(c,10)> ma(c,20) and ma(c,5)> ma(c,10) and c> ma(c,5);

{成交量异常1}Tjq1:=ma(vol,35)

{5日内大成交量阴线数量}dysl:=count(v>ma(vol,35) and c

{ 5日内大成交量阳线数量}dhsl:=count(v>ma(vol,35) and c>ref(c,1),5);

{ 10日内大成交量阴线数量}DysL2:=count(v>ma(vol,35) and c

{ 10日内大成交量阳线数量}Dhsl2:=count(v>ma(vol,35) and c>ref(c,1),10);

{成交量异常2}Tjq2:=Dysl>dhsl or dysl2>dhsl2;

Tjqq:=tjq and tjq1 and tjq2;

Drawicon(tjqq,0.95*hhv(vol,40),3);

Drawtext(tjqq,0.95*hhv(vol,40),'顶'),colorcyan,linethick3;

飞狐过滤高低点主图指标公式

A1:=REF(HIGH,3)=HHV(HIGH,2*3+1); B1:=FILTER(A1,3); C1:=B

acKSET(B1,3+1); D1:=FILTER(C1,3);{高点}

A2:=REF(LOW,3)=LLV(LOW,2*3+1); B2:=FILTER(A2,3); C2:=BACKSET(B2,3+1); D2:=FILTER(C2,3);{

低点}E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2; E2:=(HIGH+LOW)/2;{高低点出现在同一

k线上时可作取舍}H1:=(D1 AND NOT(D2 AND E1>=E2)) OR barstatus=2 OR BARSCOUNT(CLOSE)=1;

L1:=(D2 AND NOT(D1 AND E1=E2);

X1:=REF(BArslAST(H1),1)+1; F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1));

G1:=F1>REF(F1,1); I1:=BACKSET(G1,2); LD:=I1>REF(I1,1);{过滤后低点}

L2:=LD OR barstatus=2 OR BARSCOUNT(CLOSE)=1;

X2:=REF(BARSLAST(L2),1)+1; F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2));

G2:=F2>REF(F2,1); I2:=BACKSET(G2,2); HD:=I2>REF(I2,1);{过滤后高点}

DRAWLINE(LD,L,HD,H,0),COLORWHITE{,LINETHICK3},POINTDOT;

DRAWLINE(HD,H,LD,L,0),COLORWHITE{,PLINETHICK3},POINTDOT;

J1:=BACKSET(barstatus=2 ,MIN(BARSLAST(HD),BARSLAST(LD))+1); J2:=J1>REF(J1,1);

DRAWLINE(J2,IF(HD,H,L),barstatus=2 ,IF(BARSLAST(HD)>BARSLAST(LD),H,L),0),COLORWHITE,POINTDOT;

{以下是两条趋势线原码}UU:=BACKSET(barstatus=2 ,BARSLAST(LD)+1);

VV:=UU>REF(UU,1);

WW:=BACKSET(VV,REF(BARSLAST(LD),1)+2);

XX:=WW>REF(WW,1);

DRAWLINE(XX,L,VV,L,1),COLORmaGENTA{,LINETHICK2};

UU2:=BACKSET(barstatus=2 ,BARSLAST(HD)+1);

VV2:=UU2>REF(UU2,1);

WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2);

XX2:=WW2>REF(WW2,1);

前一低:=REF(L,BARSLAST(VV)){,COLOR99FF66,POINTDOT,LINETHICK1};

前二低:=REF(L,BARSLAST(XX)){,COLORFF66FF,POINTDOT,LINETHICK1};

前一高:=REF(H,BARSLAST(VV2)){,COLOR99FF66,POINTDOT,LINETHICK1};

前二高:=REF(H,BARSLAST(XX2)){,COLORFF66FF,POINTDOT,LINETHICK1};

求4看空:h*前一低/if(前一高=h,前二高,前一高);

求4看多:l*前一高/if(前一低=l,前二低,前一低);

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

责任编辑:admin888 标签:飞狐成交量判顶指标公式,飞狐过滤高低点主图指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

飞狐成交量判顶指标公式,飞狐过滤高低点主图指标公式

admin888

|

飞狐成交量判顶指标公式,飞狐过滤高低点主图指标公式

飞狐成交量判顶指标公式

m1:=5;

m2:=35;

m3:=135;

volUME:=VOL;

量:vol,VOLstICK;

启:ma(VOLUME,m1),colorwhite,LINETHICK2;

m20:MA(VOLUME,20),colorgreen;

洗:MA(VOLUME,m2),COLORYELLOW,LINETHICK2;

异:MA(VOLUME,m3),COLORRED,LINETHICK2;

{股价多头排列}Tjq:=ma(c,20)>ref(ma(c,20),1) and ma(c,60)>ref(ma(c,60),1) and ma(c,120)>ref(ma(c,120),1) and ma(c,20)> ma(c,60) and ma(c,60)> ma(c,120) and ma(c,10)> ma(c,20) and ma(c,5)> ma(c,10) and c> ma(c,5);

{成交量异常1}Tjq1:=ma(vol,35)

{5日内大成交量阴线数量}dysl:=count(v>ma(vol,35) and c

{ 5日内大成交量阳线数量}dhsl:=count(v>ma(vol,35) and c>ref(c,1),5);

{ 10日内大成交量阴线数量}DysL2:=count(v>ma(vol,35) and c

{ 10日内大成交量阳线数量}Dhsl2:=count(v>ma(vol,35) and c>ref(c,1),10);

{成交量异常2}Tjq2:=Dysl>dhsl or dysl2>dhsl2;

Tjqq:=tjq and tjq1 and tjq2;

Drawicon(tjqq,0.95*hhv(vol,40),3);

Drawtext(tjqq,0.95*hhv(vol,40),'顶'),colorcyan,linethick3;

飞狐过滤高低点主图指标公式

A1:=REF(HIGH,3)=HHV(HIGH,2*3+1); B1:=FILTER(A1,3); C1:=B

acKSET(B1,3+1); D1:=FILTER(C1,3);{高点}

A2:=REF(LOW,3)=LLV(LOW,2*3+1); B2:=FILTER(A2,3); C2:=BACKSET(B2,3+1); D2:=FILTER(C2,3);{

低点}E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2; E2:=(HIGH+LOW)/2;{高低点出现在同一

k线上时可作取舍}H1:=(D1 AND NOT(D2 AND E1>=E2)) OR barstatus=2 OR BARSCOUNT(CLOSE)=1;

L1:=(D2 AND NOT(D1 AND E1=E2);

X1:=REF(BArslAST(H1),1)+1; F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1));

G1:=F1>REF(F1,1); I1:=BACKSET(G1,2); LD:=I1>REF(I1,1);{过滤后低点}

L2:=LD OR barstatus=2 OR BARSCOUNT(CLOSE)=1;

X2:=REF(BARSLAST(L2),1)+1; F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2));

G2:=F2>REF(F2,1); I2:=BACKSET(G2,2); HD:=I2>REF(I2,1);{过滤后高点}

DRAWLINE(LD,L,HD,H,0),COLORWHITE{,LINETHICK3},POINTDOT;

DRAWLINE(HD,H,LD,L,0),COLORWHITE{,PLINETHICK3},POINTDOT;

J1:=BACKSET(barstatus=2 ,MIN(BARSLAST(HD),BARSLAST(LD))+1); J2:=J1>REF(J1,1);

DRAWLINE(J2,IF(HD,H,L),barstatus=2 ,IF(BARSLAST(HD)>BARSLAST(LD),H,L),0),COLORWHITE,POINTDOT;

{以下是两条趋势线原码}UU:=BACKSET(barstatus=2 ,BARSLAST(LD)+1);

VV:=UU>REF(UU,1);

WW:=BACKSET(VV,REF(BARSLAST(LD),1)+2);

XX:=WW>REF(WW,1);

DRAWLINE(XX,L,VV,L,1),COLORmaGENTA{,LINETHICK2};

UU2:=BACKSET(barstatus=2 ,BARSLAST(HD)+1);

VV2:=UU2>REF(UU2,1);

WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2);

XX2:=WW2>REF(WW2,1);

前一低:=REF(L,BARSLAST(VV)){,COLOR99FF66,POINTDOT,LINETHICK1};

前二低:=REF(L,BARSLAST(XX)){,COLORFF66FF,POINTDOT,LINETHICK1};

前一高:=REF(H,BARSLAST(VV2)){,COLOR99FF66,POINTDOT,LINETHICK1};

前二高:=REF(H,BARSLAST(XX2)){,COLORFF66FF,POINTDOT,LINETHICK1};

求4看空:h*前一低/if(前一高=h,前二高,前一高);

求4看多:l*前一高/if(前一低=l,前二低,前一低);

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


财经频道