VOL,VOLSTICK;
EMA13:EMA(V,13)*2,COLORWHITE;
EMA34:EMA(V,34)*2,COLORYELLOW;
EMA55:EMA(V,55)*2,COLORF00FF0;
價升量縮:
REF(VOL,2)> REF(VOL,1) AND
REF(VOL,1)>VOL AND
REF(C,2)>REF(O,2) AND
REF(C,1)>REF(O,1) AND
C>O AND
REF(C,2)<REF(C,1) AND
REF(C,1)<C;
STICKLINE(價升量縮,0,V,5,0),COLORRED;
低量柱:MIN(LLV( VOL,89),VOL)=VOL;
DRAWTEXT(低量柱,VOL*1.8,'低'),COLORGREEN;
倍量:(VOL/REF(VOL,1)>1.98 AND COUNT(CLOSE>OPEN,1)) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.98);
DRAWTEXT(倍量,VOL*1.1,'倍'),COLORGREEN;
STICKLINE(V>REF(V*1.9,1),0,V,5,0),COLORYELLOW;
倍縮量:VOL/REF(VOL,1)<0.5;
DRAWTEXT(倍縮量,VOL*1.3,'縮'),COLORYELLOW;
平柱:(VOL/REF(VOL,1)>0.98 AND VOL/REF(VOL,1)<1.02);
DRAWTEXT(平柱,VOL*1.2,'平'),COLORYELLOW;
平柱A:(VOL/REF(VOL,2)>0.98 AND VOL/REF(VOL,2)<1.02 AND REF(VOL,1)<VOL);
DRAWTEXT(平柱A,VOL*1.3,'2'),COLORYELLOW;
平柱B:(VOL/REF(VOL,3)>0.98 AND VOL/REF(VOL,3)<1.02 AND REF(VOL,1)<VOL AND REF(VOL,2)<VOL);
DRAWTEXT(平柱B,VOL*1.4,'3'),COLORYELLOW;
平柱C:(VOL/REF(VOL,4)>0.98 AND VOL/REF(VOL,4)<1.02 AND REF(VOL,1)<VOL AND REF(VOL,2)<VOL AND REF(VOL,3)<VOL);
DRAWTEXT(平柱C,VOL*1.5,'4'),COLORYELLOW;
平柱D:(VOL/REF(VOL,5)>0.98 AND VOL/REF(VOL,5)<1.02 AND REF(VOL,1)<VOL AND REF(VOL,2)<VOL AND REF(VOL,3)<VOL AND REF(VOL,4)<VOL);
DRAWTEXT(平柱D,VOL*1.5,'5'),COLORYELLOW;
梯量柱:(REF(VOL,2)< REF(VOL,1) AND REF(VOL,1)<VOL AND REF(C,2)>REF(O,2) AND REF(C,1)>REF(O,1) AND VOL>O );
DRAWTEXT(梯量柱,VOL*1.2,'梯'),COLORYELLOW;
黑太陽:IF(LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1),0.5,0);
DRAWTEXT(黑太陽,VOL*1.2,'黑'),COLORWHITE;
紅太陽:IF(LOW>REF(HIGH,1) AND COUNT(OPEN<CLOSE,1),0.5,0);
DRAWTEXT(紅太陽,VOL*1.2,'紅'),COLORRED;
黃金柱:
(REF(VOL,3)> REF(VOL,2) AND
REF(VOL,2)> REF(VOL,1) AND
REF(VOL,1)>VOL AND
REF(C,3)>REF(O,3) AND
REF(C,2)>REF(O,2) AND
REF(C,1)>REF(O,1) AND
C>O AND
REF(C,3)<REF(C,2) AND
REF(C,2)<REF(C,1) AND
REF(C,1)<C);
DRAWTEXT(黃金柱,VOL*1.2,'黃金柱形成'),COLORYELLOW;
STICKLINE(黃金柱,0,V,5,0),COLORYELLOW;
準黃金柱:
(REF(VOL,3)> REF(VOL,2) AND
REF(VOL,2)> REF(VOL,1) AND
REF(VOL,1)>VOL AND
REF(C,3)>REF(O,3) AND
REF(C,2)>REF(O,2) AND
REF(C,1)>REF(O,1) AND
C>O AND
REF(C,3)>REF(C,2) AND
REF(C,2)<REF(C,1) AND
REF(C,1)<C);
DRAWTEXT(準黃金柱,VOL*1.2,'準黃金柱形成'),COLORYELLOW;
STICKLINE(準黃金柱,0,V,5,0),COLORYELLOW;
凹口3:(
REF(VOL,3)=低量柱 AND
REF(VOL,2)=低量柱 AND
REF(VOL,1)=低量柱 AND
VOL=平柱C AND
C>O);
DRAWTEXT(凹口3,VOL*3,'凹口3形成'),COLORYELLOW;
HHH:(
VOL=MIN(LLV( VOL,144),VOL) AND
VOL/REF(VOL,1)<0.5);
DRAWTEXT(HHH,VOL*3,'低縮同步'),COLORYELLOW;