此公式可同时选出7日-12日间的所以凹口平量柱。}
{使用副图指标,可以显示出各平量柱的时间段的长度}
XGX7:=ABS((VOL-REF(VOL,7))/REF(VOL,7)) 0.04 AND
VOL 1.8*REF(VOL,2) AND
REF(VOL,1) REF(VOL,7) AND
REF(VOL,2) REF(VOL,7) AND
REF(VOL,3) REF(VOL,7) AND
REF(VOL,(7-3)) REF(VOL,7) AND
REF(VOL,(7-2)) REF(VOL,7) AND
REF(VOL,(7-1)) REF(VOL,7);
XGX8:=ABS((VOL-REF(VOL,8))/REF(VOL,8)) 0.04 AND
VOL 1.8*REF(VOL,2) AND
REF(VOL,1) REF(VOL,8) AND
REF(VOL,2) REF(VOL,8) AND
REF(VOL,3) REF(VOL,8) AND
REF(VOL,(8-3)) REF(VOL,8) AND
REF(VOL,(8-2)) REF(VOL,8) AND
REF(VOL,(8-1)) REF(VOL,8);
XGX9:=ABS((VOL-REF(VOL,9))/REF(VOL,9)) 0.04 AND
VOL 1.8*REF(VOL,2) AND
REF(VOL,1) REF(VOL,9) AND
REF(VOL,2) REF(VOL,9) AND
REF(VOL,3) REF(VOL,9) AND
REF(VOL,(9-3)) REF(VOL,9) AND
REF(VOL,(9-2)) REF(VOL,9) AND
REF(VOL,(9-1)) REF(VOL,9);
XGX10:=ABS((VOL-REF(VOL,10))/REF(VOL,10)) 0.04 AND
VOL 1.8*REF(VOL,2) AND
REF(VOL,1) REF(VOL,10) AND
REF(VOL,2) REF(VOL,10) AND
REF(VOL,3) REF(VOL,10) AND
REF(VOL,(10-3)) REF(VOL,10) AND
REF(VOL,(10-2)) REF(VOL,10) AND
REF(VOL,(10-1)) REF(VOL,10);
XGX11:=ABS((VOL-REF(VOL,11))/REF(VOL,11)) 0.04 AND
VOL 1.8*REF(VOL,2) AND
REF(VOL,1) REF(VOL,11) AND
REF(VOL,2) REF(VOL,11) AND
REF(VOL,3) REF(VOL,11) AND
REF(VOL,(11-3)) REF(VOL,11) AND
REF(VOL,(11-2)) REF(VOL,11) AND
REF(VOL,(11-1)) REF(VOL,11);
XGX12:=ABS((VOL-REF(VOL,12))/REF(VOL,12)) 0.04 AND
VOL 1.8*REF(VOL,2) AND
REF(VOL,1) REF(VOL,12) AND
REF(VOL,2) REF(VOL,12) AND
REF(VOL,3) REF(VOL,12) AND
REF(VOL,(12-3)) REF(VOL,12) AND
REF(VOL,(12-2)) REF(VOL,12) AND
REF(VOL,(12-1)) REF(VOL,12);
XGX30:=(C-REF(C,1)) 0 AND C
XGX31:=XGX7=1 OR XGX8=1 OR XGX9=1 OR XGX10=1 OR XGX11=1 OR XGX12=1;
XGX: XGX31=1 AND XGX30=1;
副图公式:}
{凹口平量柱副图指标公式}
{特别鸣谢:黑马王子。此公式设计理念源自黑马王子。
此公式可同时选出7日-12日间的所以凹口平量柱。
使用副图指标,可以显示出各平量柱的时间段的长度}
XGX7:ABS((VOL-REF(VOL,7))/REF(VOL,7)) 0.04 AND
VOL 1.8*REF(VOL,2) AND
REF(VOL,1) REF(VOL,7) AND
REF(VOL,2) REF(VOL,7) AND
REF(VOL,3) REF(VOL,7) AND
REF(VOL,(7-3)) REF(VOL,7) AND
REF(VOL,(7-2)) REF(VOL,7) AND
REF(VOL,(7-1)) REF(VOL,7);
XGX8:ABS((VOL-REF(VOL,8))/REF(VOL,8)) 0.04 AND
VOL 1.8*REF(VOL,2) AND
REF(VOL,1) REF(VOL,8) AND
REF(VOL,2) REF(VOL,8) AND
REF(VOL,3) REF(VOL,8) AND
REF(VOL,(8-3)) REF(VOL,8) AND
REF(VOL,(8-2)) REF(VOL,8) AND
REF(VOL,(8-1)) REF(VOL,8);
XGX9:ABS((VOL-REF(VOL,9))/REF(VOL,9)) 0.04 AND
VOL 1.8*REF(VOL,2) AND
REF(VOL,1) REF(VOL,9) AND
REF(VOL,2) REF(VOL,9) AND
REF(VOL,3) REF(VOL,9) AND
REF(VOL,(9-3)) REF(VOL,9) AND
REF(VOL,(9-2)) REF(VOL,9) AND
REF(VOL,(9-1)) REF(VOL,9);
XGX10:ABS((VOL-REF(VOL,10))/REF(VOL,10)) 0.04 AND
VOL 1.8*REF(VOL,2) AND
REF(VOL,1) REF(VOL,10) AND
REF(VOL,2) REF(VOL,10) AND
REF(VOL,3) REF(VOL,10) AND
REF(VOL,(10-3)) REF(VOL,10) AND
REF(VOL,(10-2)) REF(VOL,10) AND
REF(VOL,(10-1)) REF(VOL,10);
XGX11:ABS((VOL-REF(VOL,11))/REF(VOL,11)) 0.04 AND
VOL 1.8*REF(VOL,2) AND
REF(VOL,1) REF(VOL,11) AND
REF(VOL,2) REF(VOL,11) AND
REF(VOL,3) REF(VOL,11) AND
REF(VOL,(11-3)) REF(VOL,11) AND
REF(VOL,(11-2)) REF(VOL,11) AND
REF(VOL,(11-1)) REF(VOL,11);
XGX12:ABS((VOL-REF(VOL,12))/REF(VOL,12)) 0.04 AND
VOL 1.8*REF(VOL,2) AND{www.9m8.cn 九毛八公式指标网}
REF(VOL,1) REF(VOL,12) AND
REF(VOL,2) REF(VOL,12) AND
REF(VOL,3) REF(VOL,12) AND
REF(VOL,(12-3)) REF(VOL,12) AND
REF(VOL,(12-2)) REF(VOL,12) AND
REF(VOL,(12-1)) REF(VOL,12);
DRAWTEXT(XGX7,1.1,'7日平量柱');
DRAWTEXT(XGX8,1,'8日平量柱');
DRAWTEXT(XGX9,0.9,'9日平量柱');
DRAWTEXT(XGX10,0.8,'10日平量柱');
DRAWTEXT(XGX11,0.7,'11日平量柱');
DRAWTEXT(XGX12,0.6,'12日平量柱');