分型折线
HH:C>REF(H,1),NODRAW;
LL:C<REF(L,1),NODRAW;
HH1:COUNT(HH,BARSLAST(LL))=1&&HH,NODRAW;
LL1:COUNT(LL,BARSLAST(HH))=1&&LL,NODRAW;
AA:BACKSET(HH1,LLVBARS(L,BARSLAST(LL1))+1),NODRAW;
BB:BACKSET(LL1,HHVBARS(H,BARSLAST(HH1))+1),NODRAW;
LLL:=CROSS(AA,0.5);
HHH:=CROSS(BB,0.5);
DRAWLINE1(CROSS(AA,0.5),L,CROSS(BB,0.5),H,0),COLORGREEN;
DRAWLINE1(CROSS(BB,0.5),H,CROSS(AA,0.5),L,0),COLORMAGENTA;
DRAWLINE3(LLL && C<REF(L,SUMBARS(LLL,2)-1),L,0,1,REF(H,BARSLAST(HHH)),BARSLAST(HHH),0),COLORYELLOW;
DRAWLINE3(HHH && C>REF(H,SUMBARS(HHH,2)-1),H,0,1,REF(L,BARSLAST(LLL)),BARSLAST(LLL),0),COLORYELLOW;
赞 (0)