山峰:MA(REF(HHV((C+L+O+H)/4,18),1),3),COLORLICYAN; 支撐:IF(LLV(L,5),CONST(LLV(L,13)),DRAWNULL),COLORRED; 突破:=MA(REF(HHV((C+L+O+H)/4,55),1),3),COLORWHITE; 壓力:IF(HHV(H,55),CONST(HHV(H,18)),DRAWNULL),COLORGREEN; 短期底部:LLV(HIGH,13),LINETHICK2,COLORBLUE; 擊透:IF(C<短期底部,短期底部,DRAWNULL),COLORGREEN,LINETHICK2; 穿牛熊:HHV(MA(H,13),13),COLORRED,LINETHICK1; SS1:=(LOW+HIGH+CLOSE*2)/4; SS2:= MA(SS1,4); SS3:=HHV(SS2,10); SS4:=MA(SS3,3); SS5:=1.25*SS4-0.25*SS3; XKKJ:=IF(SS5>SS3,SS3,SS5); FF1:=LLV(SS2,10); FF2:=MA(FF1,3); FF3:=1.25*FF2-0.25*FF1; DKKJ:=IF(FF3<FF1,FF1,FF3); MA13:=MA(C,13); ?;仡^:IF(C>穿牛熊,穿牛熊,DRAWNULL),COLORMAGENTA,LINETHICK2; 短期底限:MA(REF(LLV(C,20),1),2),COLORYELLOW,LINETHICK2; AA1:=SUMBARS(VOL,CAPITAL); 換手成本A:IF(CAPITAL<0,SUM(AMOUNT,AA1)/SUM(VOL,AA1)/1,EMA(CLOSE,1)),COLORWHITE,LINETHICK1; 換手成本B:HHV((LLV(換手成本A,1)+HHV(換手成本A,2))/2,5),COLORCYAN,LINETHICK2; 換手成本C:HHV((LLV(換手成本A,1)+HHV(換手成本A,2))/2,13),COLORRED,LINETHICK2; MA200:=EMA(CLOSE,20); MA400:=EMA(CLOSE,40); MA600:=EMA(C,60); AA:=BARSLAST(MA400>MA600 AND (MA200=MA400 OR MA200>MA400)); BB:=REF(COUNT(C<MA600,AA)=AA,1); CC:=CROSS(C,MA600) AND VOL>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>2; 芙蓉出水:=BB AND CC; DRAWTEXT(芙蓉出水,換手成本C-換手成本C*0.030,'↖小荷露肩'),COLORMAGENTA; STICKLINE(芙蓉出水,C,C-0.2,9,0),COLORMAGENTA; VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0); VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0); DRAWTEXT(FILTER((VAR4AA>89),55),支撐*1.045,'★加倉'),COLORLIRED; VAR18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3); DRAWTEXT(VAR18,H*0.96,'★減倉'),COLORGREEN; |
|