效果圖如下:
==========================================修正:剔除假陰線===============
{九陰真經(jīng)-量柱三陰① 編寫:王向輝}
{① 量柱三陰:} {陰過(guò)陽(yáng),不要娘(當(dāng)前陰柱超過(guò)此前陽(yáng)柱);} {陰并陽(yáng),宜空倉(cāng)(當(dāng)前陰柱并肩此前陽(yáng)柱);} {倍量陰,出干凈(當(dāng)前陰柱倍量此前陽(yáng)柱)。} 量柱三陰:VOL,VOLSTICK;
V13:MA(VOL,13); YGYJ1:=REF(C,1)>REF(O,1) AND REF(C,1)>REF(C,2) AND C<O AND H>REF(H,1) AND (L<REF(L,1) OR L=REF(L,1)); 陰過(guò)陽(yáng):YGYJ1 AND VOL>REF(VOL,1),COLORYELLOW; STICKLINE(陰過(guò)陽(yáng),0,V,1,0),COLORYELLOW;
{DRAWTEXT(陰過(guò)陽(yáng),VOL*1.40,''陰過(guò)陽(yáng)''),COLORRED;} DRAWTEXT(陰過(guò)陽(yáng),VOL*1.25,''不要娘''),COLORYELLOW; YBYJ1:=REF(C,1)>REF(O,1) AND C<O AND C<REF(C,1);
陰并陽(yáng):YBYJ1 AND VOL<REF(VOL,1)*1.03 AND VOL>REF(VOL,1)*0.98,COLORGREEN; STICKLINE(陰并陽(yáng),0,V,1,0),COLORGREEN; {DRAWTEXT(陰并陽(yáng),VOL*1.60,''陰并陽(yáng)''),COLORYELLOW;} DRAWTEXT(陰并陽(yáng),VOL*1.35,''宜空倉(cāng)''),COLORGREEN; BLYJ1:=REF(C,1)>REF(O,1) AND C<O AND C<REF(C,1);
倍量陰:BLYJ1 AND VOL>REF(VOL,1)*2,COLORRED; STICKLINE(倍量陰,0,V,1,0),COLORRED; {DRAWTEXT(倍量陰,VOL*1.70,''倍量陰''),COLORWHITE;} DRAWTEXT(倍量陰,VOL*1.45,''出干凈''),COLORRED; =======================================
{九陰真經(jīng)-量?jī)r(jià)三陰② 編寫:王向輝 }
{②量?jī)r(jià)三陰} {跳空陰,不要命(當(dāng)前陰線跳離此前陽(yáng)線);} {陰蓋陽(yáng),宜減倉(cāng)(當(dāng)前陰線長(zhǎng)于此前陽(yáng)線);} {雙陰露,往外吐(當(dāng)前連續(xù)出現(xiàn)兩根陰線)。} 量?jī)r(jià)三陰:VOL,VOLSTICK;
V13:MA(VOL,9); YGYJ1:=REF(C,1)>REF(O,1) AND C<O AND ((O-C)>REF(C,1)-REF(O,1)) AND C<REF(C,1);
陰蓋陽(yáng):YGYJ1,COLORYELLOW; STICKLINE(陰蓋陽(yáng),0,V,1,0),COLORYELLOW; {DRAWTEXT(陰蓋陽(yáng),VOL*1.30,''陰蓋陽(yáng)''),COLORYELLOW;} DRAWTEXT(陰蓋陽(yáng),VOL*1.35,''宜減倉(cāng)''),COLORYELLOW; SYLJ1:=REF(C,1)<REF(O,1) AND C<O AND C<REF(C,1);
雙陰露:SYLJ1,COLORGREEN; STICKLINE(雙陰露,0,V,1,0),COLORGREEN; {DRAWTEXT(雙陰露,VOL*1.70,''雙陰露''),COLORWHITE;} DRAWTEXT(雙陰露,VOL*1.45,''往外吐''),COLORGREEN; TKYJ1:=C<O AND O<REF(L,1) AND H<REF(L,1);
跳空陰:TKYJ1,COLORRED; STICKLINE(跳空陰,0,V,1,0),COLORRED;
{DRAWTEXT(跳空陰,VOL*1.50,''跳空陰''),COLORBLUE;} DRAWTEXT(跳空陰,VOL*1.7,''不要命''),COLORRED; ============================================ |
|