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

飞狐资金盘解指标公式,飞狐资金进撤指标公式

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

    关注√

    牛市通网微信

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

飞狐资金盘解指标公式,飞狐资金进撤指标公式

飞狐资金盘解指标公式

DRAWGBK(1,colorrgb(0,0,100),colorrgb(0,0,0),1);

VARIABLE:WDAY[7]='星期六';

WDAY[1]:='星期日';

WDAY[2]:='星期一';

WDAY[3]:='星期二';

WDAY[4]:='星期三';

WDAY[5]:='星期四';

WDAY[6]:='星期五';

FY:=YEAR;

FM:=MONTH;

FD:=DAY;

WD:=WEEkdAY;

P:=SYSPARAM(1);

stR1:=''+'今日: '+NUMTOSTR(FY[P],0)+'年'+NUMTOSTR(FM[P],0)+'月'+NUMTOSTR(FD[P],0)+'日 '+WDAY[WD[P]+1];

DRAWTEXTEX(CLOSE,1,480,22,STR1),colorddfF;

AA:=vol/((HIGH-LOW)*2-(Abs(CLOSE-OPEN)));

主动买盘:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE

主动卖盘:=IF(CLOSE>OPEN,-AA*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE

卖盘:=VOL-主动买盘;

V1:=LLV(LOW,10);

V2:=HHV(HIGH,25);

价位线:=ema((CLOSE-V1)/(V2-V1)*4,4);

DRAWTEXT(crOSS(价位线,0.45),AA,'买'),color0000FF;

DRAWTEXT(CROSS(3.1,价位线),AA,'卖'),colorFF00;

VERTLINE(CROSS(价位线,0.45)),color0000FF,LINEDASHDOT;

VERTLINE(CROSS(3.1,价位线)),colorFF00,LINEDASHDOT;

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

VD1:=IF(HIGH=LOW,1,HIGH-maX(OPEN,CLOSE));

VD2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ);

VD3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);

VD4:=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN));

VD5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));

VD6:=VD1*VD5;

VD7:=VD2*VD5;

VD8:=VD3*VD5;

VD9:=VD4*VD5;

买入

量:=VD9+VD8;

卖出量:=VD6+VD7;

卖量:=VOL-买入量;

卖量大:=(卖量-买入量)/卖量>0.4;

买量大:=(买入量-卖量)/买入量>0.4;

买入资金:=买入量*CLOSE/100;

卖出资金:=卖出量*CLOSE/100;

资金进出=买入资金-卖出资金;

十天资金:=SUM(资金进出,10),Color7D9585;

五天资金:=SUM(资金进出,5),ColorC0C0C0;

三天资金:=SUM(资金进出,3),Color00971B;

一天资金:=SUM(资金进出,1),Color4040A6;

量5:=MA(VOL,5),colorred;

量10:=MA(VOL,10);

VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

成交:VOL,POINTDOT,COLORE4C1EE;

主动买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE

主动卖盘:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE

STICKLINE(VOL>0,VOL,0,8,0),ColorA697AF;

STICKLINE(主动买盘>0,0,主动买盘,7,0),color6F41ED;

STICKLINE(主动卖盘>0,0,主动卖盘,5,0),COLOR6CD100;

PARTLINE(MA(VOL,5)>=REF(MA(VOL,5),1),MA(VOL,5)),COLORRED,LINETHICK2;

PARTLINE(MA(VOL,5)<=REF(MA(VOL,5),1),MA(VOL,5)),COLOR00C700,LINETHICK2;

换手率:IF(CAPITAL=0,INDEXV/ESTDATA(12),VOL/FINANCE(7)),PRECISION2,LINETHICK0;

买卖比:=主动买盘/主动卖盘;

买卖资金比:=买入资金/卖出资金;

挂单买盘:=MA(主动买盘,3);

挂单卖盘:=(MA(主动卖盘,3));

yyzq:=(sysparam(3)-sysparam(2));

FILL:=barscount(c)>SYSPARAM(2) and barscount(c)20,SYSPARAM(2)+INTPART(yyzq/2),20);

pich:=refx(hhv(成交,yyzq),yyzq);

picl:=refx(llv(挂单卖盘,yyzq),yyzq);

fillrgn(fill,refx(pich,yyzq),refx(picl,yyzq)),Color000093;

DRAWTEXTEX(CLOSE,1,230,80,'■一天资金:'+NUMTOSTR(一天资金[SYSPARAM(1)],2)+'\n'+'■三天资金:'+NUMTOSTR(三天资金[SYSPARAM(1)],2)+'\n'+'■五天资金:'+NUMTOSTR(五天资金[SYSPARAM(1)],2)+'\n'+'■十天资金:'+NUMTOSTR(十天资金[SYSPARAM(1)],2)),ALIGN4,colorCCFFCC;

DRAWTEXTEX(c,100,1,120,'┃当日买卖总量 = '+NUMTOSTR(VOL,2)),ColorA6B7F3;

DRAWTEXTEX(c,100,1,200,'┃当日主动买量 = '+NUMTOSTR(主动买盘,2)),Color0000FF;

DRAWTEXTEX(c,100,1,280,'┃当日主动卖量 = '+NUMTOSTR(主动卖盘,2)),Color00FF00;

DRAWTEXTEX(c,100,1,360,'┃当日买卖比 : '+NUMTOSTR(买卖比,2)),ColorFF00FF;

DRAWTEXTEX(c,100,1,440,'┃买入资金累计万元 : '+NUMTOSTR(买入资金,2)),Colorred,LINETHICK1;

DRAWTEXTEX(c,100,1,520,'┃卖出资金累计万元 : '+NUMTOSTR(卖出资金,2)),Color00ff00,LINETHICK1;

DRAWTEXTEX(c,100,1,600,'┃资金进出万元 : '+NUMTOSTR(资金进出,2)),Coloryellow,LINETHICK1;

DRAWTEXTEX(c,100,1,680,'┃买卖资金比 : '+NUMTOSTR(买卖资金比,2)),Coloryellow,LINETHICK1;

DRAWTEXTEX(c,100,1,760,'┃当日挂单买盘 : '+NUMTOSTR(挂单买盘,2)),Colorred,LINETHICK1;

DRAWTEXTEX(c,100,1,840,'┃当日挂单卖盘 : '+NUMTOSTR(挂单卖盘,2)),Color00ff00,LINETHICK1;

飞狐资金进撤指标公式

VAR0:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;

VAR3:=SMA(VAR0,3,1);

VAR1:=Sma(VAR3,4,1)-10;

VAR4:=(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100;

VAR5:=SMA(VAR4,3,1);

VAR2:=SMA(VAR5,4,1)-90;

stICKLINE(REF(VAR1,1)

0, CIRCLEDOT;

STICKLINE(REF(VAR1,1)>VAR1,VAR1,REF(VAR1,1),5,0),COLORBLUE;

STICKLINE(REF(VAR2,1)>VAR2,VAR2,REF(VAR2,1),10,0),COLOR0000FF;

STICKLINE(REF(VAR2,1)

0,COLOR0000FF; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

J:=5*K-2*D;

ZJ:=ema("kdj.J#WEEK"(9,3,3) ,5);

YJ:=EMA("kdJ.J#WEEK"(9,3,3) ,20);

STICKLINE(ZJ>=60 AND ZJ<80,0,-3,2,0),COLORFF00FF;

STICKLINE(ZJ>=80,6,0.2,2,0),COLORYELLOW;

STICKLINE(YJ>=80,5,10,2,0),COLORYELLOW;

买: (zig(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)

卖: (ZIG(3,10)REF(ZIG(3,10),2))*-10,STICK,COLORWHITE,LINETHICK3;

V1:=(C*2+H+L)/4*10;

V2:=EMA(V1,13)-EMA(V1,21);

V3:=EMA(V2,5);

V4:=2*(V2-V3)*20;

资金撤: IF(V4<=0,V4,0),COLORBLUE,LINETHICK1;

资金进: IF(V4>=0,V4,0),COLORYELLOW,LINETHICK1;X:=SMA(((HHV(CLOSE,13) - CLOSE) / (HHV(CLOSE,13) - LLV(CLOSE,13))),4,1);Y:=CLOSE/REF(CLOSE,3)>1.05;

走牛:=Y AND X;

追:IF(走牛,20,0),STICK,COLORWHITE;B:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));●追牛:FILTER(B,28)*50,STICK,COLORYELLOW LINETHICK1;抄低: (ZIG(3,35)>REF(ZIG(3,35),1) AND REF(ZIG(3,35),1)

*50,STICK,COLOR990066,LINETHICK1;

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

责任编辑:admin888 标签:飞狐资金盘解指标公式,飞狐资金进撤指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

飞狐资金盘解指标公式,飞狐资金进撤指标公式

admin888

|

飞狐资金盘解指标公式,飞狐资金进撤指标公式

飞狐资金盘解指标公式

DRAWGBK(1,colorrgb(0,0,100),colorrgb(0,0,0),1);

VARIABLE:WDAY[7]='星期六';

WDAY[1]:='星期日';

WDAY[2]:='星期一';

WDAY[3]:='星期二';

WDAY[4]:='星期三';

WDAY[5]:='星期四';

WDAY[6]:='星期五';

FY:=YEAR;

FM:=MONTH;

FD:=DAY;

WD:=WEEkdAY;

P:=SYSPARAM(1);

stR1:=''+'今日: '+NUMTOSTR(FY[P],0)+'年'+NUMTOSTR(FM[P],0)+'月'+NUMTOSTR(FD[P],0)+'日 '+WDAY[WD[P]+1];

DRAWTEXTEX(CLOSE,1,480,22,STR1),colorddfF;

AA:=vol/((HIGH-LOW)*2-(Abs(CLOSE-OPEN)));

主动买盘:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE

主动卖盘:=IF(CLOSE>OPEN,-AA*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE

卖盘:=VOL-主动买盘;

V1:=LLV(LOW,10);

V2:=HHV(HIGH,25);

价位线:=ema((CLOSE-V1)/(V2-V1)*4,4);

DRAWTEXT(crOSS(价位线,0.45),AA,'买'),color0000FF;

DRAWTEXT(CROSS(3.1,价位线),AA,'卖'),colorFF00;

VERTLINE(CROSS(价位线,0.45)),color0000FF,LINEDASHDOT;

VERTLINE(CROSS(3.1,价位线)),colorFF00,LINEDASHDOT;

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

VD1:=IF(HIGH=LOW,1,HIGH-maX(OPEN,CLOSE));

VD2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ);

VD3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);

VD4:=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN));

VD5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));

VD6:=VD1*VD5;

VD7:=VD2*VD5;

VD8:=VD3*VD5;

VD9:=VD4*VD5;

买入

量:=VD9+VD8;

卖出量:=VD6+VD7;

卖量:=VOL-买入量;

卖量大:=(卖量-买入量)/卖量>0.4;

买量大:=(买入量-卖量)/买入量>0.4;

买入资金:=买入量*CLOSE/100;

卖出资金:=卖出量*CLOSE/100;

资金进出=买入资金-卖出资金;

十天资金:=SUM(资金进出,10),Color7D9585;

五天资金:=SUM(资金进出,5),ColorC0C0C0;

三天资金:=SUM(资金进出,3),Color00971B;

一天资金:=SUM(资金进出,1),Color4040A6;

量5:=MA(VOL,5),colorred;

量10:=MA(VOL,10);

VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

成交:VOL,POINTDOT,COLORE4C1EE;

主动买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE

主动卖盘:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE

STICKLINE(VOL>0,VOL,0,8,0),ColorA697AF;

STICKLINE(主动买盘>0,0,主动买盘,7,0),color6F41ED;

STICKLINE(主动卖盘>0,0,主动卖盘,5,0),COLOR6CD100;

PARTLINE(MA(VOL,5)>=REF(MA(VOL,5),1),MA(VOL,5)),COLORRED,LINETHICK2;

PARTLINE(MA(VOL,5)<=REF(MA(VOL,5),1),MA(VOL,5)),COLOR00C700,LINETHICK2;

换手率:IF(CAPITAL=0,INDEXV/ESTDATA(12),VOL/FINANCE(7)),PRECISION2,LINETHICK0;

买卖比:=主动买盘/主动卖盘;

买卖资金比:=买入资金/卖出资金;

挂单买盘:=MA(主动买盘,3);

挂单卖盘:=(MA(主动卖盘,3));

yyzq:=(sysparam(3)-sysparam(2));

FILL:=barscount(c)>SYSPARAM(2) and barscount(c)20,SYSPARAM(2)+INTPART(yyzq/2),20);

pich:=refx(hhv(成交,yyzq),yyzq);

picl:=refx(llv(挂单卖盘,yyzq),yyzq);

fillrgn(fill,refx(pich,yyzq),refx(picl,yyzq)),Color000093;

DRAWTEXTEX(CLOSE,1,230,80,'■一天资金:'+NUMTOSTR(一天资金[SYSPARAM(1)],2)+'\n'+'■三天资金:'+NUMTOSTR(三天资金[SYSPARAM(1)],2)+'\n'+'■五天资金:'+NUMTOSTR(五天资金[SYSPARAM(1)],2)+'\n'+'■十天资金:'+NUMTOSTR(十天资金[SYSPARAM(1)],2)),ALIGN4,colorCCFFCC;

DRAWTEXTEX(c,100,1,120,'┃当日买卖总量 = '+NUMTOSTR(VOL,2)),ColorA6B7F3;

DRAWTEXTEX(c,100,1,200,'┃当日主动买量 = '+NUMTOSTR(主动买盘,2)),Color0000FF;

DRAWTEXTEX(c,100,1,280,'┃当日主动卖量 = '+NUMTOSTR(主动卖盘,2)),Color00FF00;

DRAWTEXTEX(c,100,1,360,'┃当日买卖比 : '+NUMTOSTR(买卖比,2)),ColorFF00FF;

DRAWTEXTEX(c,100,1,440,'┃买入资金累计万元 : '+NUMTOSTR(买入资金,2)),Colorred,LINETHICK1;

DRAWTEXTEX(c,100,1,520,'┃卖出资金累计万元 : '+NUMTOSTR(卖出资金,2)),Color00ff00,LINETHICK1;

DRAWTEXTEX(c,100,1,600,'┃资金进出万元 : '+NUMTOSTR(资金进出,2)),Coloryellow,LINETHICK1;

DRAWTEXTEX(c,100,1,680,'┃买卖资金比 : '+NUMTOSTR(买卖资金比,2)),Coloryellow,LINETHICK1;

DRAWTEXTEX(c,100,1,760,'┃当日挂单买盘 : '+NUMTOSTR(挂单买盘,2)),Colorred,LINETHICK1;

DRAWTEXTEX(c,100,1,840,'┃当日挂单卖盘 : '+NUMTOSTR(挂单卖盘,2)),Color00ff00,LINETHICK1;

飞狐资金进撤指标公式

VAR0:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;

VAR3:=SMA(VAR0,3,1);

VAR1:=Sma(VAR3,4,1)-10;

VAR4:=(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100;

VAR5:=SMA(VAR4,3,1);

VAR2:=SMA(VAR5,4,1)-90;

stICKLINE(REF(VAR1,1)

0, CIRCLEDOT;

STICKLINE(REF(VAR1,1)>VAR1,VAR1,REF(VAR1,1),5,0),COLORBLUE;

STICKLINE(REF(VAR2,1)>VAR2,VAR2,REF(VAR2,1),10,0),COLOR0000FF;

STICKLINE(REF(VAR2,1)

0,COLOR0000FF; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

J:=5*K-2*D;

ZJ:=ema("kdj.J#WEEK"(9,3,3) ,5);

YJ:=EMA("kdJ.J#WEEK"(9,3,3) ,20);

STICKLINE(ZJ>=60 AND ZJ<80,0,-3,2,0),COLORFF00FF;

STICKLINE(ZJ>=80,6,0.2,2,0),COLORYELLOW;

STICKLINE(YJ>=80,5,10,2,0),COLORYELLOW;

买: (zig(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)

卖: (ZIG(3,10)REF(ZIG(3,10),2))*-10,STICK,COLORWHITE,LINETHICK3;

V1:=(C*2+H+L)/4*10;

V2:=EMA(V1,13)-EMA(V1,21);

V3:=EMA(V2,5);

V4:=2*(V2-V3)*20;

资金撤: IF(V4<=0,V4,0),COLORBLUE,LINETHICK1;

资金进: IF(V4>=0,V4,0),COLORYELLOW,LINETHICK1;X:=SMA(((HHV(CLOSE,13) - CLOSE) / (HHV(CLOSE,13) - LLV(CLOSE,13))),4,1);Y:=CLOSE/REF(CLOSE,3)>1.05;

走牛:=Y AND X;

追:IF(走牛,20,0),STICK,COLORWHITE;B:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));●追牛:FILTER(B,28)*50,STICK,COLORYELLOW LINETHICK1;抄低: (ZIG(3,35)>REF(ZIG(3,35),1) AND REF(ZIG(3,35),1)

*50,STICK,COLOR990066,LINETHICK1;

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


财经频道