大智慧布林张口主图指标公式

[复制链接]
查看228 | 回复0 | 2021-8-21 13:56:29 | 显示全部楼层 |阅读模式

中轨: MA(CLOSE,20);
上轨: 中轨+STD(CLOSE,20);
下轨: 中轨-STD(CLOSE,20);
上极限: 中轨+2*STD(CLOSE,20);
下极限: 中轨-2*STD(CLOSE,20);
YA:=MAX(上轨,上极限);
YB:=MIN(上轨,上极限);
XL:=(上极限-REF(上极限,1))/REF(上极限,1)*100>0.5;
G0:=(YA/YB-1)*100<5.1 AND CROSS(C,上极限) AND XL;
DRAWICON(G0,L-0.20,1);{显示红脸}
V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
HY1:=REF(EMA(V1,3),1);
实时线:MA(CLOSE,1),Color006400;
神秘线:HY1,Color400080;
stickline(C>HY1,low,high,1,0),colorred;
stickline(C>HY1,close,open,4.5,0),colorred;
stickline(C>HY1,close,open,4,0),colorred;
stickline(C>HY1,close,open,3,0),colorred;
stickline(C>HY1,close,open,2,0),colorred;
{股旁网-股票公式网站 www.gupang.com}
stickline(C<=HY1,close,open,4.5,0),ColorFF4242;
stickline(C<=HY1,close,open,4,0),ColorFF4242;
stickline(C<=HY1,close,open,3,0),ColorFF4242;
stickline(C<=HY1,close,open,2,0),ColorFF4242;
stickline(C<=HY1,low,high,1,0),ColorFF4242;
DRAWtext(CROSS(CLOSE,HY1),LOW,'▲'),LINETHICK2,ColorYELLOW;
DRAWtext(CROSS(HY1,CLOSE),HIGH*1.08,'▼'),LINETHICK3,colorwhite;
APP:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
ZL:=IF((CLOSE > OPEN),(APP * (HIGH - LOW)),IF((CLOSE < OPEN),(APP * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));
SF:=IF((CLOSE > OPEN),(0 - (APP * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (APP * (HIGH - LOW))),(0 - (VOL / 2))));
库存能量:=MA((ZL + SF),2);
库存平均:=MA((ZL + SF),5);
DRAWTEXT(cross(库存能量,库存平均),L*0.97,''),ColorFF00FF,linethick4;

202108211256.jpg

202108211256.jpg

 

回复

使用道具 举报

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

本版积分规则