選股公式:
{特別鳴謝:黑馬王子。此公式設(shè)計(jì)理念源自黑馬王子。
此公式可同時(shí)選出7日-12日間的所以凹口平量柱。} {使用副圖指標(biāo),可以顯示出各平量柱的時(shí)間段的長(zhǎng)度} 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>O; xgx31:=xgx7=1 or xgx8=1 or xgx9=1 or xgx10=1 or xgx11=1 or xgx12=1; XGX: XGX31=1 AND XGX30=1; ========================================
副圖公式:
{凹口平量柱副圖指標(biāo)公式}
{特別鳴謝:黑馬王子。此公式設(shè)計(jì)理念源自黑馬王子。 此公式可同時(shí)選出7日-12日間的所以凹口平量柱。 使用副圖指標(biāo),可以顯示出各平量柱的時(shí)間段的長(zhǎng)度} 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); 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日平量柱'); ==========================================
|
|