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

飞狐主力量指标公式,飞狐买卖量比指标公式

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

    关注√

    牛市通网微信

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

飞狐主力量指标公式,飞狐买卖量比指标公式

飞狐主力量指标公式

ma5:MA(vol,5),LINETHICK2;

MA10:MA(VOL,10),LINETHICK2;

成交:VOL,LINETHICK0,COLORYELLOW;

VAR2:=(HIGH - LOW);

VAR3:=Abs((OPEN - CLOSE));

VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));

VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);

VAR6:=((VAR3 / VAR2) * VOL);

VAR7:=((VAR4 / VAR2) * VOL);

VAR8:=((VAR5 / VAR2) * VOL);

VAR9:=IF(((VOL / CAPITAL) > 0.001),1,EXP(ABS(LOG(((VOL / CAPITAL) * 100)))));

VARA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);

VARB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60)));

VARC:=((MA(CLOSE,5) < MA(CLOSE,10)) AND (MA(CLOSE,10) < MA(CLOSE,30)));

多头成交:stICKLINE((CLOSE > MA(CLOSE,30)),0,VOL,3,1),COLOR0000FF;

空头成交:STICKLINE((CLOSE < MA(CLOSE,30)),0,VOL,3,1),,COLOR00FF00;

上攻量:STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)),0,VAR6,3,0),,COLOR0000FF;

下攻量:STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)),0,VAR6,3,0),,COLOR00FF00;

上探量:STICKLINE(((VAR7 > VAR6) AND (VAR7 > VAR8)),0,VAR7,3,0),,COLORCCCC66;

下探量:STICKLINE(((VAR8 > VAR6) AND (VAR8 > VAR7)),0,VAR8,3,0),,COLORFF6633;

相对地量:STICKLINE(((VAR9 > 2) AND (VOL < (MA(VOL,5) / 2))),0,VOL,2.2,0),,COLOR00FFFF;

地量:DRAWTEXT(((VAR9 > 2) AND (VOL < (MA(VOL,5) / 2))),VOL,'地量'),,COLOR00FFFF;

放量:STICKLINE((VOL > (MA(VOL,5) * 2.5)),0,VOL,2.2,0),,COLORFFFFFF;

高出:DRAWTEXT(((((((((VAR7 > VAR6) AND (VARA > 2)) AND (VAR7 > VAR8)) AND (CLOSE > MA(CLOSE,5))) AND (CLOSE > MA(CLOSE,30))) AND (HIGH > MA(CLOSE,60))) AND (VOL > MA(VOL,5))) AND (VAR7 >= MA(VOL,5))),VOL,'高出'),COLOR00FF00;

低进:DRAWTEXT(((((((VAR8 > VAR6) AND (VAR8 > VAR7)) AND (VARA < (0 - 2))) AND (CLOSE < MA(CLOSE,30))) AND (VAR8 < (MA(VOL,5) / 2))) AND (MA(VOL,5) < MA(VOL,10))),VOL,'低进'),,COLOR00FFFF;

强势参与:DRAWTEXT((((((VAR6 > (MA(VOL,5) * 2)) AND (VAR6 >= VAR7)) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)) OR ((VOL > (MA(VOL,5) * 3)) AND VARB)),VOL,'参与'),,COLOR00FF00;

空头释放:DRAWTEXT(((((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)) AND ((VAR6 / VOL) > 0.7)) AND VARC) AND (VAR6 > MA(VOL,5))),(VAR6 * 2),'空头释放'),,COLOR00FF00;

飞狐买卖量比指标公式

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;

量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

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

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;

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

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);

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

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

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

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

挂单买盘:=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)),Color026C1D;}

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

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

{DRAWTEXTEX(c,1,240,200,'┃当日主动卖量 = '+NUMTOSTR(主动卖盘,2)),Color00FF00;}

{DRAWTEXTEX(c,1,2,320,'┃当日买卖比 : '+NUMTOSTR(买卖比,2)),ColorFFFFFF;}

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

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

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

{DRAWTEXTEX(c,1,440,320,'┃买卖资金比 : '+NUMTOSTR(买卖资金比,2)),Coloryellow,LINETHICK1;}

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

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

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

责任编辑:admin888 标签:飞狐主力量指标公式,飞狐买卖量比指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

飞狐主力量指标公式,飞狐买卖量比指标公式

admin888

|

飞狐主力量指标公式,飞狐买卖量比指标公式

飞狐主力量指标公式

ma5:MA(vol,5),LINETHICK2;

MA10:MA(VOL,10),LINETHICK2;

成交:VOL,LINETHICK0,COLORYELLOW;

VAR2:=(HIGH - LOW);

VAR3:=Abs((OPEN - CLOSE));

VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));

VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);

VAR6:=((VAR3 / VAR2) * VOL);

VAR7:=((VAR4 / VAR2) * VOL);

VAR8:=((VAR5 / VAR2) * VOL);

VAR9:=IF(((VOL / CAPITAL) > 0.001),1,EXP(ABS(LOG(((VOL / CAPITAL) * 100)))));

VARA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);

VARB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60)));

VARC:=((MA(CLOSE,5) < MA(CLOSE,10)) AND (MA(CLOSE,10) < MA(CLOSE,30)));

多头成交:stICKLINE((CLOSE > MA(CLOSE,30)),0,VOL,3,1),COLOR0000FF;

空头成交:STICKLINE((CLOSE < MA(CLOSE,30)),0,VOL,3,1),,COLOR00FF00;

上攻量:STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)),0,VAR6,3,0),,COLOR0000FF;

下攻量:STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)),0,VAR6,3,0),,COLOR00FF00;

上探量:STICKLINE(((VAR7 > VAR6) AND (VAR7 > VAR8)),0,VAR7,3,0),,COLORCCCC66;

下探量:STICKLINE(((VAR8 > VAR6) AND (VAR8 > VAR7)),0,VAR8,3,0),,COLORFF6633;

相对地量:STICKLINE(((VAR9 > 2) AND (VOL < (MA(VOL,5) / 2))),0,VOL,2.2,0),,COLOR00FFFF;

地量:DRAWTEXT(((VAR9 > 2) AND (VOL < (MA(VOL,5) / 2))),VOL,'地量'),,COLOR00FFFF;

放量:STICKLINE((VOL > (MA(VOL,5) * 2.5)),0,VOL,2.2,0),,COLORFFFFFF;

高出:DRAWTEXT(((((((((VAR7 > VAR6) AND (VARA > 2)) AND (VAR7 > VAR8)) AND (CLOSE > MA(CLOSE,5))) AND (CLOSE > MA(CLOSE,30))) AND (HIGH > MA(CLOSE,60))) AND (VOL > MA(VOL,5))) AND (VAR7 >= MA(VOL,5))),VOL,'高出'),COLOR00FF00;

低进:DRAWTEXT(((((((VAR8 > VAR6) AND (VAR8 > VAR7)) AND (VARA < (0 - 2))) AND (CLOSE < MA(CLOSE,30))) AND (VAR8 < (MA(VOL,5) / 2))) AND (MA(VOL,5) < MA(VOL,10))),VOL,'低进'),,COLOR00FFFF;

强势参与:DRAWTEXT((((((VAR6 > (MA(VOL,5) * 2)) AND (VAR6 >= VAR7)) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)) OR ((VOL > (MA(VOL,5) * 3)) AND VARB)),VOL,'参与'),,COLOR00FF00;

空头释放:DRAWTEXT(((((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)) AND ((VAR6 / VOL) > 0.7)) AND VARC) AND (VAR6 > MA(VOL,5))),(VAR6 * 2),'空头释放'),,COLOR00FF00;

飞狐买卖量比指标公式

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;

量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

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

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;

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

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);

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

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

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

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

挂单买盘:=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)),Color026C1D;}

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

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

{DRAWTEXTEX(c,1,240,200,'┃当日主动卖量 = '+NUMTOSTR(主动卖盘,2)),Color00FF00;}

{DRAWTEXTEX(c,1,2,320,'┃当日买卖比 : '+NUMTOSTR(买卖比,2)),ColorFFFFFF;}

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

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

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

{DRAWTEXTEX(c,1,440,320,'┃买卖资金比 : '+NUMTOSTR(买卖资金比,2)),Coloryellow,LINETHICK1;}

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

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

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


财经频道