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

飞狐将军参谋指标公式,飞狐MACD和KDJ主图指标公式

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

    关注√

    牛市通网微信

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

飞狐将军参谋指标公式,飞狐MACD和KDJ主图指标公式

飞狐将军参谋指标公式

Var1:=ma(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;

Var2:=2*Abs(Var1);

Var3:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

Var4:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

Var5:=(HIGH+LOW+CLOSE)/3;

Var6:=(Var5-MA(Var5,14))/(0.015*AVEDEV(Var5,14));

Var7:=(Var5-MA(Var5,70))/(0.015*AVEDEV(Var5,70));

Var8:=IF(Var6>=150 AND Var6<200 AND Var7>=150 AND Var7<200,10,0);

Var9:=IF(Var6<=-150 AND Var6>-200 AND Var7<=-150 AND Var7>-200,-10,Var8);

VarA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;

VarB:=100-ABS(VarA);

VarC:=3*SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1);

VarD:=3*SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1);

VarE:=REF(LOW,1)*0.9;

VarF:=LOW*0.9;

Var10:=(VarF*vol+VarE*(CAPITAL-VOL))/CAPITAL;

Var11:=ema(Var10,30);

Var12:=Var11-CLOSE;

Var13:=REF(CLOSE,1);

Var14:=SMA(MAX(CLOSE-Var13,0),7,1)/SMA(ABS(CLOSE-Var13),7,1)*100;

Var15:=SMA(MAX(CLOSE-Var13,0),13,1)/SMA(ABS(CLOSE-Var13),13,1)*100;

Var16:=BARSCOUNT(CLOSE);

Var17:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;

Var18:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;

Var19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;

Var1A:=(SMA(Var19,4,1)-50)*2;

Var1B:=SMA(Var1A,3,1);

Var1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;

Var1D:=SMA(Var1C,4,1);

Var1E:=SMA(Var1D,3,1);

Var1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;

Var20:=IF(Var17<=25 AND Var18<-95 AND Var1F>20 AND Var1B<-30 AND Var1E<30 AND Var12>=-0.25 AND Var14<22 AND Var15<28 AND Var16>50,80,0);

情报: Var3;

天线: IF(VarB<90,VarB,100);

红军: IF(Var1>0,Var1,0),colorred, LINEstICK;

绿军: IF(Var1<0,Var2,0),colorgreen,LINESTICK;

导弹: Var20;

预警系统: IF(Var7>=200 AND Var6>=150,15,IF(Var7<=-200 AND Var6<=-150,-15,Var9))+60;

STICKLINE(Var3>=REF(Var4,1),Var3,Var4,8,0);

STICKLINE(Var3

Var21:=CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1);

Var22:=CLOSE

Var23:=红军>50 AND 预警系统>60 AND 天线=100;

Var24:=红军>48 AND 预警系统>60 AND 天线<100;

Var25:=绿军>38 AND 预警系统<55;

Var26:=导弹>50 AND 天线<90;

Var27:=Var3REF(VOL,1) AND CLOSE>REF(CLOSE,1);

Var28:=Var3>=REF(Var4,1) AND CLOSE=REF(绿军,1) AND VarC

DRAWTEXT(Var21 AND COUNT(Var21,30)=1,100,'上升通道,持股待长或高抛低吸!');

DRAWTEXT(Var22 AND COUNT(Var22,30)=1,90,'下降通道,小心无量阴跌! ');

DRAWTEXT(Var23 AND COUNT(Var23,30)=1,70,'上涨过急,需要调整,短线先抛出! ');

DRAWTEXT(Var24 AND COUNT(Var24,30)=1,80,'庄家出货,大跌在即,中线抛出! ');

DRAWTEXT(Var25 AND COUNT(Var25,30)=1,50,'不必杀跌,应有小反弹,跌停除外!');

DRAWTEXT(Var26 AND COUNT(Var26,30)=1,30,'坚决抢反弹,但巨量封跌停除外 ');

DRAWTEXT(Var27 AND COUNT(Var27,30)=1,40,'有大资金进场迹象,关注!');

DRAWTEXT(Var28 AND COUNT(Var28,30)=1,20,'见顶回落');

买入:IF(VAR27 AND COUNT(VAR27,30)=1,100,0),LINETHICK3,COLORBLUE;

飞狐MACD和KDJ主图指标公式

INPUT:N(18),S(26),P(12),M(9);

DRAWGBK(CLOSE=CLOSE,COLORRGB(80,130,130),COLORRGB(30,30,60),1);

A:=ema(CLOSE,S);

T:=Ema(CLOSE,P);

B:=EMA(A,M);

T1:=EMA(T,M);

DEA:=EMA(T-(T1-T),2),COLORFF8866,LINETHICK2;

difF:=DEA-EMA(((A-B)-(T-T1)),1)*6,COLORFFFF66,LINETHICK2;

FILLRGN(DIFF>DEA,DEA,DIFF),COLORBROWN;

FILLRGN(DIFF

RSV1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9));

RSV2:=(RSV1-0.5)/5*EMA(C,20);

RSVK:=SMA(RSV2,3,1);

RSVD:=SMA(RSVK,3,1);

RSVJ:=RSVK*3-RSVD*2;

K:=RSVK+EMA(C,20),COLORWHITE;

D:RSVD+EMA(C,20),COLORYELLOW;

J:RSVJ+EMA(C,20),COLORMAGENTA;

{k线}ICKLINE(CLOSE>OPEN or CLOSE=OPEN and CLOSE>REF(CLOSE,1),LOW,HIGH,0.1,0),colorred;

STICKLINE(CLOSE>OPEN or CLOSE=OPEN and CLOSE>REF(CLOSE,1),OPEN,CLOSE,4,0),colorred;

STICKLINE(CLOSE

STICKLINE(CLOSE

STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0,0 ),COLOR00FF00;

STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLOR008800;

STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3.5,0 ),COLOR009900;

STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLOR00AA00;

STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2.5,0 ),COLOR00BB00;

STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00CC00;

STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1.5,0 ),COLOR00DD00;

STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLOR00EE00;

STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0.5,0 ),COLOR00FF00;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0,0) ,COLORFFBBFF;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLORFF00FF;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.5,0) ,COLORFF22FF;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLORFF44FF;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.5,0) ,COLORFF66FF;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLORFF88FF;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.5,0) ,COLORFF99FF;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLORFFAAFF;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.5,0) ,COLORFFBBFF;

{涨跌停ZDF:=(C-REF(C,1))/REF(C,1)*100;

{STICKLINE(ZDF>9.8,O,C,4,0),COLORFF00FF;

STICKLINE(ZDF<-9.8,O,C,4,0),COLORBLUE;}

STICKLINE(ZDF>9.8,CLOSE,O,2.8,0),COLOR000055;

STICKLINE(ZDF>9.8,CLOSE,O,2,0),COLOR000088;

STICKLINE(ZDF>9.8,CLOSE,O,1.5,0),COLOR0000AA;

STICKLINE(ZDF>9.8,CLOSE,O,1,0),COLOR0000CC;

STICKLINE(ZDF>9.8,CLOSE,O,0.5,0),COLOR0000EE;

STICKLINE(ZDF<-9.8,O,C,2.8,0),COLOR555500;

STICKLINE(ZDF<-9.8,CLOSE,O,2,0),COLOR888800;

STICKLINE(ZDF<-9.8,CLOSE,O,1.5,0),COLORAAAA00;

STICKLINE(ZDF<-9.8,CLOSE,O,0.5,0),COLORCCCC00;

STICKLINE(ZDF<-9.8,CLOSE,O,1,0),COLOREEEE00;

boll:=EMA(C,20);

UPPER:BOLL+2*STD(CLOSE,20),crOSSDOT,COLORRED;

LOWER:BOLL-2*STD(CLOSE,20),CROSSDOT,COLORWHITE;

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

责任编辑:admin888 标签:飞狐将军参谋指标公式,飞狐MACD和KDJ主图指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

飞狐将军参谋指标公式,飞狐MACD和KDJ主图指标公式

admin888

|

飞狐将军参谋指标公式,飞狐MACD和KDJ主图指标公式

飞狐将军参谋指标公式

Var1:=ma(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;

Var2:=2*Abs(Var1);

Var3:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

Var4:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

Var5:=(HIGH+LOW+CLOSE)/3;

Var6:=(Var5-MA(Var5,14))/(0.015*AVEDEV(Var5,14));

Var7:=(Var5-MA(Var5,70))/(0.015*AVEDEV(Var5,70));

Var8:=IF(Var6>=150 AND Var6<200 AND Var7>=150 AND Var7<200,10,0);

Var9:=IF(Var6<=-150 AND Var6>-200 AND Var7<=-150 AND Var7>-200,-10,Var8);

VarA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;

VarB:=100-ABS(VarA);

VarC:=3*SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1);

VarD:=3*SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1);

VarE:=REF(LOW,1)*0.9;

VarF:=LOW*0.9;

Var10:=(VarF*vol+VarE*(CAPITAL-VOL))/CAPITAL;

Var11:=ema(Var10,30);

Var12:=Var11-CLOSE;

Var13:=REF(CLOSE,1);

Var14:=SMA(MAX(CLOSE-Var13,0),7,1)/SMA(ABS(CLOSE-Var13),7,1)*100;

Var15:=SMA(MAX(CLOSE-Var13,0),13,1)/SMA(ABS(CLOSE-Var13),13,1)*100;

Var16:=BARSCOUNT(CLOSE);

Var17:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;

Var18:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;

Var19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;

Var1A:=(SMA(Var19,4,1)-50)*2;

Var1B:=SMA(Var1A,3,1);

Var1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;

Var1D:=SMA(Var1C,4,1);

Var1E:=SMA(Var1D,3,1);

Var1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;

Var20:=IF(Var17<=25 AND Var18<-95 AND Var1F>20 AND Var1B<-30 AND Var1E<30 AND Var12>=-0.25 AND Var14<22 AND Var15<28 AND Var16>50,80,0);

情报: Var3;

天线: IF(VarB<90,VarB,100);

红军: IF(Var1>0,Var1,0),colorred, LINEstICK;

绿军: IF(Var1<0,Var2,0),colorgreen,LINESTICK;

导弹: Var20;

预警系统: IF(Var7>=200 AND Var6>=150,15,IF(Var7<=-200 AND Var6<=-150,-15,Var9))+60;

STICKLINE(Var3>=REF(Var4,1),Var3,Var4,8,0);

STICKLINE(Var3

Var21:=CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1);

Var22:=CLOSE

Var23:=红军>50 AND 预警系统>60 AND 天线=100;

Var24:=红军>48 AND 预警系统>60 AND 天线<100;

Var25:=绿军>38 AND 预警系统<55;

Var26:=导弹>50 AND 天线<90;

Var27:=Var3REF(VOL,1) AND CLOSE>REF(CLOSE,1);

Var28:=Var3>=REF(Var4,1) AND CLOSE=REF(绿军,1) AND VarC

DRAWTEXT(Var21 AND COUNT(Var21,30)=1,100,'上升通道,持股待长或高抛低吸!');

DRAWTEXT(Var22 AND COUNT(Var22,30)=1,90,'下降通道,小心无量阴跌! ');

DRAWTEXT(Var23 AND COUNT(Var23,30)=1,70,'上涨过急,需要调整,短线先抛出! ');

DRAWTEXT(Var24 AND COUNT(Var24,30)=1,80,'庄家出货,大跌在即,中线抛出! ');

DRAWTEXT(Var25 AND COUNT(Var25,30)=1,50,'不必杀跌,应有小反弹,跌停除外!');

DRAWTEXT(Var26 AND COUNT(Var26,30)=1,30,'坚决抢反弹,但巨量封跌停除外 ');

DRAWTEXT(Var27 AND COUNT(Var27,30)=1,40,'有大资金进场迹象,关注!');

DRAWTEXT(Var28 AND COUNT(Var28,30)=1,20,'见顶回落');

买入:IF(VAR27 AND COUNT(VAR27,30)=1,100,0),LINETHICK3,COLORBLUE;

飞狐MACD和KDJ主图指标公式

INPUT:N(18),S(26),P(12),M(9);

DRAWGBK(CLOSE=CLOSE,COLORRGB(80,130,130),COLORRGB(30,30,60),1);

A:=ema(CLOSE,S);

T:=Ema(CLOSE,P);

B:=EMA(A,M);

T1:=EMA(T,M);

DEA:=EMA(T-(T1-T),2),COLORFF8866,LINETHICK2;

difF:=DEA-EMA(((A-B)-(T-T1)),1)*6,COLORFFFF66,LINETHICK2;

FILLRGN(DIFF>DEA,DEA,DIFF),COLORBROWN;

FILLRGN(DIFF

RSV1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9));

RSV2:=(RSV1-0.5)/5*EMA(C,20);

RSVK:=SMA(RSV2,3,1);

RSVD:=SMA(RSVK,3,1);

RSVJ:=RSVK*3-RSVD*2;

K:=RSVK+EMA(C,20),COLORWHITE;

D:RSVD+EMA(C,20),COLORYELLOW;

J:RSVJ+EMA(C,20),COLORMAGENTA;

{k线}ICKLINE(CLOSE>OPEN or CLOSE=OPEN and CLOSE>REF(CLOSE,1),LOW,HIGH,0.1,0),colorred;

STICKLINE(CLOSE>OPEN or CLOSE=OPEN and CLOSE>REF(CLOSE,1),OPEN,CLOSE,4,0),colorred;

STICKLINE(CLOSE

STICKLINE(CLOSE

STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0,0 ),COLOR00FF00;

STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLOR008800;

STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3.5,0 ),COLOR009900;

STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLOR00AA00;

STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2.5,0 ),COLOR00BB00;

STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00CC00;

STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1.5,0 ),COLOR00DD00;

STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLOR00EE00;

STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0.5,0 ),COLOR00FF00;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0,0) ,COLORFFBBFF;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLORFF00FF;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.5,0) ,COLORFF22FF;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLORFF44FF;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.5,0) ,COLORFF66FF;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLORFF88FF;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.5,0) ,COLORFF99FF;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLORFFAAFF;

STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.5,0) ,COLORFFBBFF;

{涨跌停ZDF:=(C-REF(C,1))/REF(C,1)*100;

{STICKLINE(ZDF>9.8,O,C,4,0),COLORFF00FF;

STICKLINE(ZDF<-9.8,O,C,4,0),COLORBLUE;}

STICKLINE(ZDF>9.8,CLOSE,O,2.8,0),COLOR000055;

STICKLINE(ZDF>9.8,CLOSE,O,2,0),COLOR000088;

STICKLINE(ZDF>9.8,CLOSE,O,1.5,0),COLOR0000AA;

STICKLINE(ZDF>9.8,CLOSE,O,1,0),COLOR0000CC;

STICKLINE(ZDF>9.8,CLOSE,O,0.5,0),COLOR0000EE;

STICKLINE(ZDF<-9.8,O,C,2.8,0),COLOR555500;

STICKLINE(ZDF<-9.8,CLOSE,O,2,0),COLOR888800;

STICKLINE(ZDF<-9.8,CLOSE,O,1.5,0),COLORAAAA00;

STICKLINE(ZDF<-9.8,CLOSE,O,0.5,0),COLORCCCC00;

STICKLINE(ZDF<-9.8,CLOSE,O,1,0),COLOREEEE00;

boll:=EMA(C,20);

UPPER:BOLL+2*STD(CLOSE,20),crOSSDOT,COLORRED;

LOWER:BOLL-2*STD(CLOSE,20),CROSSDOT,COLORWHITE;

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


财经频道