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

飞狐进出顶底背离指标公式,飞狐多空黄金底指标公式

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

    关注√

    牛市通网微信

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

飞狐进出顶底背离指标公式,飞狐多空黄金底指标公式

飞狐进出顶底背离指标公式

DRAWGBK(1, COLORRGB(100,50,0), COLORRGB(100,100,0),0);

LC:=REF(CLOSE,1);

rsi1:SMA(maX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100,LINETHICK1,COLORRED;

RSI2:SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100,LINETHICK2,COLORGREEN;

R1:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;

R2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;

VAR1:=4*SMA(R1,5,1)-3*SMA(SMA(R1,5,1),3.2,1),COLORYELLOW,LINETHICK1;

VAR2:=24,COLORGREEN,LINETHICK0;

IF(crOSS(VAR1,VAR2),10,0),stICK,COLORRED;

DRAWTEXT(CROSS(VAR1,VAR2),10,'加'), COLOReeFF00;

VAR3:= 4*SMA(R1,5,1)-3*SMA(SMA(R1,5,1),3,1);

STICKLINE(CROSS(80,VAR3),100,90,3,0),colorfff666;

DRAWTEXT(CROSS(80,VAR3),100,'减'), COLOReeFF00;

VAR4:= 4*SMA(R2,5,1)-3*SMA(SMA(R2,5,1),3,1);

STICKLINE(CROSS(72,VAR4),110,100,3,0),STICK,COLORRED;

DRAWTEXT(CROSS(72,VAR4),110,'出局'), COLOReeFF00;

VAR5:=4*SMA(R2,5,1)-3*SMA(SMA(R2,5,1),3.2,1),COLORYELLOW,LINETHICK1;

VAR6:=38,COLORGREEN,LINETHICK0;

IF(CROSS(VAR5,VAR6),15,0),STICK,COLORRED;

DRAWTEXT(CROSS(VAR5,VAR6),18,'进场), COLOReeFF00;

AA:=REF(RSI1,3)=HHV(RSI1,2*3+1);

BB:=BacKSET(AA,3+1);

CC:=FILTER(BB,3) AND RSI1=HHV(RSI1,3+1);

A1:=BArslAST(REF(CC,1));

顶背离:=REF(CLOSE,A1+1)RSI1 AND CC;

DRAWLINE(CC,RSI1,FILTER(顶背离>0,5),RSI1,0),COLORCYAN,LINETHICK2;

AA2:=REF(RSI1,3)=LLV(RSI1,2*3+1);

BB2:=BACKSET(AA2,3+1);

CC2:=FILTER(BB2,3) AND RSI1=LLV(RSI1,3+1);

AA2A:=BARSLAST(REF(CC2,1));

底背离:=REF(C,AA2A+1)>CLOSE AND REF(RSI1,AA2A+1)

DRAWLINE(CC2,RSI1,FILTER(底背离>0,5),RSI1,0),COLORMAGENTA,LINETHICK2;

DRAWTEXT(顶背离,RSI1*1.02,' -顶背'),COLORMAGENTA;

DRAWTEXT(底背离,RSI1*1.05,' -底背'),COLORMAGENTA;

AA00:=REF(RSI2,3)=HHV(RSI2,2*3+1);

BB00:=BACKSET(AA00,3+1);

CC00:=FILTER(BB00,3) AND RSI2=HHV(RSI2,3+1);

A11:=BARSLAST(REF(CC00,1));

顶背离:=REF(CLOSE,A11+1)RSI2 AND CC00;

DRAWLINE(CC00,RSI2,FILTER(顶背离>0,5),RSI2,0),COLORGREEN,LINETHICK2;

AA22:=REF(RSI2,3)=LLV(RSI2,2*3+1);

BB22:=BACKSET(AA22,3+1);

CC22:=FILTER(BB22,3) AND RSI2=LLV(RSI2,3+1);

AA22A:=BARSLAST(REF(CC22,1));

底背离:=REF(C,AA22A+1)>CLOSE AND REF(RSI2,AA22A+1)

DRAWLINE(CC22,RSI2,FILTER(底背离>0,5),RSI2,0),COLORRED,LINETHICK2;

DRAWTEXT(顶背离,RSI2*1.02,' -顶背'),COLORMAGENTA;

DRAWTEXT(底背离,RSI2*1.05,' -底背'),COLORMAGENTA;

100,LINEDOT;

80,LINEDOT;

50,LINEDOT;

20,LINEDOT;

0,LINEDOT;

飞狐多空黄金底指标公式

VAR1:="dmi.pdi";

VAR2:="DMI.mdi";

VAR3:=VAR1>65 AND VAR1>REF(VAR1,1);

VAR4:=LLV(VAR1,0);

VAR5:=BArslAst(VAR4=VAR1);

VAR6:=(0-REF(VAR2,4))/(VAR4-REF(VAR2,VAR5))>2;

VAR7:=VAR1>REF(VAR1,1);

VAR8:=vol>2*ma(VOL,30);

VAR9:="DMI.ADX"(12,6);

VARA:="DMI.ADXR"(12,6);

VARB:=CLOSE>MA(CLOSE,30) AND CLOSE

VARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);

VARD:=BARSLAST(crOSS(MA(CLOSE,5),MA(CLOSE,10)))

VARE:=0-"macd.dif"(7,21,3);

VARF:=TROUGHBARS(3,15,1)<4;

VAR10:=ema(CLOSE,30)>REF(EMA(CLOSE,30),2);

VAR11:=IF(VARF=1,50,0);

VAR12:=CROSS(VAR2,VAR1) AND CROSS(VARA,VAR9);

VAR13:=CROSS(VAR2,VAR1) AND CROSS(VAR9,VARA);

VAR14:=VARB AND VARC AND VARD AND VAR10 AND VAR6 AND VAR7 AND VAR8*50;

VAR15:=BARSLAST(CROSS(VAR2,VAR1)=1);

VAR16:=BARSLAST(CROSS(VAR1,VAR2)=1);

VAR17:=HHV(VAR1,VAR16);

VAR18:=BARSLAST(VAR1=VAR17);

多空:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE;

0,COLORRED;

STICKLINE(FILTER(VARF=1,5),50,0,15,1),COLORFF00FF;

VAR19:=VAR3 OR VAR12 OR VAR13*100;

VAR1A:=VAR13*100;

DRAWICON(FILTER(VARF=1,3),55,4);

DRAWTEXT(FILTER(VARF=1,3),25,'黄金底'),COLORff00ff;

STICKLINE(多空<-10,0,多空,1,0),COLORYELLOW;

STICKLINE(多空>10,0,多空,1,0),COLORRED;

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

责任编辑:admin888 标签:飞狐进出顶底背离指标公式,飞狐多空黄金底指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

飞狐进出顶底背离指标公式,飞狐多空黄金底指标公式

admin888

|

飞狐进出顶底背离指标公式,飞狐多空黄金底指标公式

飞狐进出顶底背离指标公式

DRAWGBK(1, COLORRGB(100,50,0), COLORRGB(100,100,0),0);

LC:=REF(CLOSE,1);

rsi1:SMA(maX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100,LINETHICK1,COLORRED;

RSI2:SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100,LINETHICK2,COLORGREEN;

R1:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;

R2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;

VAR1:=4*SMA(R1,5,1)-3*SMA(SMA(R1,5,1),3.2,1),COLORYELLOW,LINETHICK1;

VAR2:=24,COLORGREEN,LINETHICK0;

IF(crOSS(VAR1,VAR2),10,0),stICK,COLORRED;

DRAWTEXT(CROSS(VAR1,VAR2),10,'加'), COLOReeFF00;

VAR3:= 4*SMA(R1,5,1)-3*SMA(SMA(R1,5,1),3,1);

STICKLINE(CROSS(80,VAR3),100,90,3,0),colorfff666;

DRAWTEXT(CROSS(80,VAR3),100,'减'), COLOReeFF00;

VAR4:= 4*SMA(R2,5,1)-3*SMA(SMA(R2,5,1),3,1);

STICKLINE(CROSS(72,VAR4),110,100,3,0),STICK,COLORRED;

DRAWTEXT(CROSS(72,VAR4),110,'出局'), COLOReeFF00;

VAR5:=4*SMA(R2,5,1)-3*SMA(SMA(R2,5,1),3.2,1),COLORYELLOW,LINETHICK1;

VAR6:=38,COLORGREEN,LINETHICK0;

IF(CROSS(VAR5,VAR6),15,0),STICK,COLORRED;

DRAWTEXT(CROSS(VAR5,VAR6),18,'进场), COLOReeFF00;

AA:=REF(RSI1,3)=HHV(RSI1,2*3+1);

BB:=BacKSET(AA,3+1);

CC:=FILTER(BB,3) AND RSI1=HHV(RSI1,3+1);

A1:=BArslAST(REF(CC,1));

顶背离:=REF(CLOSE,A1+1)RSI1 AND CC;

DRAWLINE(CC,RSI1,FILTER(顶背离>0,5),RSI1,0),COLORCYAN,LINETHICK2;

AA2:=REF(RSI1,3)=LLV(RSI1,2*3+1);

BB2:=BACKSET(AA2,3+1);

CC2:=FILTER(BB2,3) AND RSI1=LLV(RSI1,3+1);

AA2A:=BARSLAST(REF(CC2,1));

底背离:=REF(C,AA2A+1)>CLOSE AND REF(RSI1,AA2A+1)

DRAWLINE(CC2,RSI1,FILTER(底背离>0,5),RSI1,0),COLORMAGENTA,LINETHICK2;

DRAWTEXT(顶背离,RSI1*1.02,' -顶背'),COLORMAGENTA;

DRAWTEXT(底背离,RSI1*1.05,' -底背'),COLORMAGENTA;

AA00:=REF(RSI2,3)=HHV(RSI2,2*3+1);

BB00:=BACKSET(AA00,3+1);

CC00:=FILTER(BB00,3) AND RSI2=HHV(RSI2,3+1);

A11:=BARSLAST(REF(CC00,1));

顶背离:=REF(CLOSE,A11+1)RSI2 AND CC00;

DRAWLINE(CC00,RSI2,FILTER(顶背离>0,5),RSI2,0),COLORGREEN,LINETHICK2;

AA22:=REF(RSI2,3)=LLV(RSI2,2*3+1);

BB22:=BACKSET(AA22,3+1);

CC22:=FILTER(BB22,3) AND RSI2=LLV(RSI2,3+1);

AA22A:=BARSLAST(REF(CC22,1));

底背离:=REF(C,AA22A+1)>CLOSE AND REF(RSI2,AA22A+1)

DRAWLINE(CC22,RSI2,FILTER(底背离>0,5),RSI2,0),COLORRED,LINETHICK2;

DRAWTEXT(顶背离,RSI2*1.02,' -顶背'),COLORMAGENTA;

DRAWTEXT(底背离,RSI2*1.05,' -底背'),COLORMAGENTA;

100,LINEDOT;

80,LINEDOT;

50,LINEDOT;

20,LINEDOT;

0,LINEDOT;

飞狐多空黄金底指标公式

VAR1:="dmi.pdi";

VAR2:="DMI.mdi";

VAR3:=VAR1>65 AND VAR1>REF(VAR1,1);

VAR4:=LLV(VAR1,0);

VAR5:=BArslAst(VAR4=VAR1);

VAR6:=(0-REF(VAR2,4))/(VAR4-REF(VAR2,VAR5))>2;

VAR7:=VAR1>REF(VAR1,1);

VAR8:=vol>2*ma(VOL,30);

VAR9:="DMI.ADX"(12,6);

VARA:="DMI.ADXR"(12,6);

VARB:=CLOSE>MA(CLOSE,30) AND CLOSE

VARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);

VARD:=BARSLAST(crOSS(MA(CLOSE,5),MA(CLOSE,10)))

VARE:=0-"macd.dif"(7,21,3);

VARF:=TROUGHBARS(3,15,1)<4;

VAR10:=ema(CLOSE,30)>REF(EMA(CLOSE,30),2);

VAR11:=IF(VARF=1,50,0);

VAR12:=CROSS(VAR2,VAR1) AND CROSS(VARA,VAR9);

VAR13:=CROSS(VAR2,VAR1) AND CROSS(VAR9,VARA);

VAR14:=VARB AND VARC AND VARD AND VAR10 AND VAR6 AND VAR7 AND VAR8*50;

VAR15:=BARSLAST(CROSS(VAR2,VAR1)=1);

VAR16:=BARSLAST(CROSS(VAR1,VAR2)=1);

VAR17:=HHV(VAR1,VAR16);

VAR18:=BARSLAST(VAR1=VAR17);

多空:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE;

0,COLORRED;

STICKLINE(FILTER(VARF=1,5),50,0,15,1),COLORFF00FF;

VAR19:=VAR3 OR VAR12 OR VAR13*100;

VAR1A:=VAR13*100;

DRAWICON(FILTER(VARF=1,3),55,4);

DRAWTEXT(FILTER(VARF=1,3),25,'黄金底'),COLORff00ff;

STICKLINE(多空<-10,0,多空,1,0),COLORYELLOW;

STICKLINE(多空>10,0,多空,1,0),COLORRED;

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


财经频道