布林张囗,无未来,一直在用,有图有源码的,拿出来与大家分享,觉得可以的不忘回复啊
布林张口
中轨: 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
G0:=(YA/YB-1)*100 5.1AND 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;
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;