网站首页 > 飞狐公式 正文
飞狐VMACD指标公式
N:=1;
DRAWGBK(DATE>900101,COLORRGB(110,95,0),COLORRGB(0,20,0),1);
STICKLINE(C>0,0,0,10,0),COLORGRAY;
zxj:=if((H-MAX(C,O))>((MIN(C,O)-L)) AND C>L,((H+2*L)/3+3*C+2*O)/6,
IF((H-MAX(C,O))<((MIN(C,O)-L)) AND C
均价:=if(DATATYPE>=6 AND DATATYPE<10,AMOUNT/(VOL*100),zxj);
重心:=if(STKTYPE=0,zxj,(zxj+均价)/2);
VV:=AMOUNT/100000000;
LB:=(MA(VV,1)/HHV(VV,0)+MA(VV,1)/HHV(VV,IF(N=0,0,IF(n=1,738,if(N=2,369,184)))))/2;
XS:=2;
s:=if((H-MAX(C,O))>ABS(C-O)AND (MIN(C,O)-L)
x:=IF((MIN(C,O)-L)>ABS(C-O)AND (H-MAX(C,O))
sx:=IF(c>REF(C,1)and H>REF(H,1)AND 重心>REF(重心,1),S,IF(c
qr:=(0.809*C+0.191*sx);
obv:=SUM(IF(qr>REF(qr,1),vv,IF(qr
wobv:=(WMA(obv,2)+WMA(obv,4)+WMA(obv,8))/3;
sAobv:=(WMA(wobv,24)+WMA(wobv,6)+WMA(wobv,12))/3,LINEDOT,COLORFAABEC;
sbobv:=(WMA(sAobv,24)+WMA(sAobv,6)+WMA(sAobv,12))/3,LINEDOT;
skobv:=(WMA(sbobv,24)+WMA(sbobv,6)+WMA(sbobv,12))/3,LINEDOT;
soobv:=(WMA(skobv,24)+WMA(skobv,6)+WMA(skobv,12))/3,LINEDOT;
Swobv:=((wobv+SBobv)/2+SAobv)/2,LINETHICK2;
DLv21:=EMA(Swobv,13);
DLv36:=EMA(Swobv,34);
DLv60:=EMA(Swobv,55);
rOBY:=DMA(Swobv,LB/xs);
sOBV:=DMA(Swobv,LB/XS/xs);
YOBV:=DMA(Swobv,LB/XS/XS/xs);
SSOBC:=DMA(Swobv,LB/XS/XS/XS/xs),COLORFAABEC,COLORRED,LINETHICK2;
LOBV:=DMA(Swobv,LB/XS/XS/XS/XS/xs),COLOR00bb00;
QROBV:(((sOBV-SSOBC)/2+(YOBV-SSOBC))/2+(((wobv-sbobv)/2+sAobv-sbobv)/2+(Swobv-DLv21)+((DLv21-DLv60)/2+DLv36-DLv60)/2))/4,COLOR00CCCC;
MQR:MA(qrobv,8),COLORGRAY;
FILLRGN(QROBV>=MQR,QROBV,MQR),COLORBROWN;
FILLRGN(QROBV
OBc:((sOBV-SSOBC+rOBY-YOBV)/2+(wobv-sbobv+(wobv-soobv)/2+sAobv-skobv)/3+DLv21-DLv60)/3,COLOR7F00FF,LINETHICK2;
MOBv:MA(OBC,4),COLORCYAN;
PARTLINE(OBc
KOBV:=2*(obc-MOBV);
DOBV:2*(QROBV-MQR),COLORSTICK;
MACDOBV:(KOBV+DOBV)/2,COLORSTICK,COLORRED;
STICKLINE(MACDOBV>=0,0,MACDOBV,5,1),COLORRED;
STICKLINE(MACDOBV<0,0,MACDOBV,5,1),COLOR00bb00;
STICKLINE(DOBV>=0,0,DOBV,0,0),COLOR00CCCC;
STICKLINE(DOBV<0,0,DOBV,0,0),COLORCYAN;
OBVH1:=REF(MACDOBV/2,BARSLAST(MACDOBV=HHV(MACDOBV,34))),COLOR0099FF,LINETHICK1;
OBVH2:REF(MACDOBV/2,BARSLAST(MACDOBV=HHV(MACDOBV,72))),COLORWHITE,LINETHICK1;
OBVL1:=REF(MACDOBV/2,BARSLAST(MACDOBV=LLV(MACDOBV,34))),COLORGRAY,LINETHICK2;
OBVL2:=REF(MACDOBV/2,BARSLAST(MACDOBV=LLV(MACDOBV,144))),COLOR0099FF,LINETHICK2;
大行情:=NOT(REF(OBVH1,1)=REF(OBVH2,1)) AND OBVH1=OBVH2;
DRAWTEXT(MACDOBV>OBVH1,OBVL2*2,*),COLORWHITE,ALIGN0;
DRAWTEXT(大行情,OBVH2*4,★),COLORRED,ALIGN0;
QGOBV:=REF(HHV(mobv,9),1),COLORFAABEC,LINEDOT;
QDOBV:=REF(LLV(mobv,9),1),COLORAAAA00,LINEDOT;
资金粘:=(MAX(obc,MAX(mobv,qrobv))-MIN(obc,MIN(mobv,qrobv)))/ABS(MIN(obc,MIN(mobv,qrobv)))*10;
ZJGL:=(((obc-MOBV)/ABS(MobV)+(QRobV-MQR)/ABS(MQR)+((obc-qrobv)/ABS(QROBV)+(MOBV-MQR)/ABS(MQR))/2)/3)*10;
DSGL:=(((obc-MOBV)/ABS(MobV)+(obc-QgOBV)/ABS(QgobV)+(MobV-QDOBV)/ABS(QDobV))/3)*10;
SGL:=(ZJGL+DSGL)/2;
DRAWTEXT(CROSS(ZJGL,0)AND OBC>REF(OBC,1),QROBV*0.8,★),COLORYELLOW,ALIGN0;
DRAWTEXT(CROSS(DSGL,0)AND OBC>REF(OBC,1) AND OBC>QROBV,QROBV*1.25,★),COLORWHITE,ALIGN0; >股票指标网更多精彩内容,请关注公众号:实盘操手
其他说明
1、在下载过程遇到问题,请您 联系客服:QQ:2180737354 或 微信:xxs008000(常用) 备用微信:bsqj88886(常用号不能用的情况再加),我们会在第一时间修复和反馈。
2、本站所提供的股票指标等资源请细看说明,适合自己再购买下载,指标不包安装,不懂的人切勿购买,新手勿扰。所有指标仅供参考学习交流,没稳赚的指标,赢亏自负,如果觉着指标好用请支持正版,否则产生的一切后果将由下载用户自行承担,有部分股票指标资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来联系我们,我们会及时删除,给您带来的不便,我们深表歉意!
⇒⇒⇒点击加入通达信指标公式交流群QQ群
- 上一篇: 招商公路(001965):公路行业旗舰平台、23H1业绩再创新高
- 下一篇: 大智慧柱形换手率指标公式
猜你喜欢
- 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 熊市好用的选股(飞狐)