S10:=BACKSET(BARSTATUS=2,SUMBARS(D119,2)); DRAWLINE(S10>REF(S10,1),B,R1>REF(R1,1),B,0),COLORYELLOW; Y3:=REF(B,BARSLAST(S10>REF(S10,1))); Y4:=REF(B,BARSLAST(R1>REF(R1,1))); 黃:Y3+(Y4-Y3)*BARSLAST(S10>REF(S10,1))/(BARSLAST(S10>REF(S10,1))-BARSLAST(R1>REF(R1,1))),COLORYELLOW; M2:=1; A2:=REF(B,M2)=HHV(B,2*M2+1); B2:=FILTER(A2,M2); C2:=BACKSET(B2,M2+1); D2:=FILTER(C2,M2); R4:=BACKSET(BARSTATUS=2,BARSLAST(D2)+1); S2:=BACKSET(BARSTATUS=2,SUMBARS(D2,2)); DRAWLINE(S2>REF(S2,1),B,R4>REF(R4,1),B,0),COLORBLUE; Y5:=REF(B,BARSLAST(S2>REF(S2,1))); Y6:=REF(B,BARSLAST(R4>REF(R4,1))); 藍(lán):Y5+(Y6-Y5)*BARSLAST(S2>REF(S2,1))/(BARSLAST(S2>REF(S2,1))-BARSLAST(R4>REF(R4,1))),COLORBLUE; |
|