网站首页 > 飞狐公式 正文
飞狐资金解盘指标公式
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; >股票指标网更多精彩内容,请关注公众号:实盘操手
其他说明
1、在下载过程遇到问题,请您 联系客服:QQ:2180737354 或 微信:xxs008000(常用) 备用微信:bsqj88886(常用号不能用的情况再加),我们会在第一时间修复和反馈。
2、本站所提供的股票指标等资源请细看说明,适合自己再购买下载,指标不包安装,不懂的人切勿购买,新手勿扰。所有指标仅供参考学习交流,没稳赚的指标,赢亏自负,如果觉着指标好用请支持正版,否则产生的一切后果将由下载用户自行承担,有部分股票指标资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来联系我们,我们会及时删除,给您带来的不便,我们深表歉意!
⇒⇒⇒点击加入通达信指标公式交流群QQ群
- 上一篇: 大智慧抄底追买指标公式
- 下一篇: 大智慧头部卖底部买指标公式
猜你喜欢
- 2023-10-17 屏幕自适应定点均线(飞狐)
- 2023-10-17 主力轨迹+庄家出现+XG(飞狐)
- 2023-10-17 安全投机(飞狐)
- 2023-10-17 共振买卖(飞狐)
- 2023-10-17 江恩轮中轮(新画法)(飞狐)
- 2023-10-17 新版KDJ飞升马(飞狐)
- 2023-10-17 七剑下天山(飞狐)
- 2023-10-17 OSC (艾略特震荡器)(飞狐)
- 2023-10-17 买入安全区远离危险区(飞狐)
- 2023-10-17 熊市好用的选股(飞狐)