M5:MA(C,5); T:=BARSLAST(CROSS(C,M5)); T1:=BARSLAST(CROSS(M5,C)); LL:=REF(LLV(L,T1+1),T); HH:=REF(HHV(H,T+1),T1); DRAWTEXT(FILTERX(L=CONST(LL),BARSCOUNT(C)),L*0.99,VARCAT(VARCAT('最低價:',VAR2STR(CONST(LL),2)),'元'))COLORYELLOW; DRAWTEXT(FILTERX(H=CONST(HH),BARSCOUNT(C)),H*1.01,VARCAT(VARCAT('最高價:',VAR2STR(CONST(HH),2)),'元'))COLORYELLOW; |
|