{抄底} P:=21; WH1:=IF(L=LLV(L,P),L,DRAWNULL); WH2:=CONST(BARSLAST(WH1!=DRAWNULL)); 抄底:CURRBARSCOUNT<=WH2+1 AND L=LLV(L,P),COLOR0000FF,LINETHICK2; H1:=IF(H=HHV(H,P),H,DRAWNULL); H2:=CONST(BARSLAST(H1!=DRAWNULL)); 止盈:CURRBARSCOUNT<=H2+1 AND H=HHV(H,P),COLORGREEN, LINETHICK2; {買好股公式網用法提示:紅色信號抄底,,綠色信號止盈,。} |
|