飞狐立体买卖量指标公式

[复制链接]
查看148 | 回复0 | 2021-8-21 12:33:51 | 显示全部楼层 |阅读模式

VOL,LINETHICK0;
STICKLINE(VOL>0,VOL,0,6,1),COLORgreen;
ye:=(high+low+close)/3;
ye1:=if(high=low,1,HIGH-Max(OPEN,CLOSE));
ye2:=if(high=low,1,max(CLOSE,OPEN)-ye);
ye3:=if(high=low,1,Min(OPEN,CLOSE)-LOW);
ye4:=if(high=low,1,ye-min(close,open));
ye5:=vol/if(high=low,4,HIGH-LOW);
YE6:=SUM((ye1*ye5),1);
YE7:=SUM((ye2*ye5),1);
YE8:=SUM((ye3*ye5),1);
YE9:=SUM((ye4*ye5),1);
买:(ye9+ye8),LINETHICK0,COLORRED;
STICKLINE((ye9+ye8)>0,(YE9+YE8),0,8,0),COLOR0000AA;
STICKLINE((ye6+ye7)>0,(ye6+ye7)+(YE9+YE8),(YE9+YE8),8,0),COLOR998855;
STICKLINE((ye9+ye8)>0,(YE9+YE8),0,5,0),COLOR0000CC;
STICKLINE((ye9+ye8)>0,(YE9+YE8),0,3,0),COLOR0000DD;
STICKLINE((ye9+ye8)>0,(YE9+YE8),0,1,0),COLOR0000FF;
STICKLINE((ye6+ye7)>0,(ye6+ye7)+(YE9+YE8),(YE9+YE8),5,0),COLORBBAA77;
STICKLINE((ye6+ye7)>0,(ye6+ye7)+(YE9+YE8),(YE9+YE8),3,0),COLORDDCC99;
STICKLINE((ye6+ye7)>0,(ye6+ye7)+(YE9+YE8),(YE9+YE8),1,0),COLORFFEEBB;
卖:(ye6+ye7)*(-1),LINETHICK0,COLORGREEN;
换:vol/capital*100,linethick0;
流通【亿】:CAPITAL/1000000,linethick0;
MA5:MA(V,5),COLORWHITE;
MA10:MA(V,10),COLORYELLOW;
MA30:MA(V,30),COLORMAGENTA;

202108211145.jpg

202108211145.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则