A01:=MIN(O,C); B01:=ABS(O-C); 倍量:=(V/REF(V,1)>=1.91 AND COUNT(C>O,1)) OR (L>REF(H,1) AND COUNT(O>C,1) AND V/REF(V,1)>=1.91),NODRAW,COLORYELLOW,COLORFF00FF; STICKLINE(C>1.0399*REF(C,1),C,O,1,0),COLOR38B0DE; STICKLINE(C>1.0599*REF(C,1),C,O,1,0),COLOR4D4DFF; C3:=REF(C,1); 漲停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0); STICKLINE(漲停,OPEN,CLOSE,3,0),COLOR7F00FF; 跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0); STICKLINE(跌停,OPEN,CLOSE,1,0),COLORGREEN; {立樁量} JJ:=(3*C+H+L+O)/6; VARL:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36; TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VARL AND C>REF(C,1); LJL:=FILTER(TJ1,5); STICKLINE(CLOSE,REF(LOW,BARSLAST(LJL)),REF(LOW,BARSLAST(LJL)),0.1,0),COLORFFFFFF,NODRAW; STICKLINE(CLOSE,REF(CLOSE,BARSLAST(LJL)),REF(CLOSE,BARSLAST(LJL)),0.1,0),COLORRED,NODRAW; STICKLINE(LJL,OPEN,CLOSE,0.5,1),COLORWHITE; 地量:=V<=REF(LLV(V,100),1),NODRAW; STICKLINE(地量,A01+B01,A01+B01/1.5,2.5,0),COLORFF0000; STICKLINE(倍量,A01+B01/4,A01+B01/2,2.5,0),COLOR7F017F,COLORFF00FF; 換手:=VOL*100/CAPITAL,STICK; 帶量:=C=C AND 換手>=5{ AND 換手<8}; 放量:=C=C AND 換手>=8 AND 換手<15,COLOR32CD32; STICKLINE(放量,A01,A01+B01/4,2.5,0),COLOR32CD32,COLORYELLOW; 巨量:=C=C AND 換手>=15 AND 換手<25,COLORYELLOW; STICKLINE(巨量,A01,A01+B01/4,2.5,0),COLOR32CD32; 怪異:=C=C AND 換手>=25,COLOR8E236B; STICKLINE(怪異,A01,A01+B01/4,2.5,0),COLOR8E236B; 風(fēng)險(xiǎn)提示:本指標(biāo)公式僅作為知識(shí)分享,不構(gòu)成任何投資建議,不作投資依據(jù)。
|