高1:=IF(CURRBARSCOUNT<=90,REFDATE(HHV(H,90),DATE),DRAWNULL),COLORWHITE,DOTLINE;
低1:=IF(CURRBARSCOUNT<=90,REFDATE(LLV(L,90),DATE),DRAWNULL)COLORFF00FF;
分割点11:=IF(CURRBARSCOUNT<=90,高1-(高1-低1)*0.382,DRAWNULL)COLORFF00FF,DOTLINE;
分割点21:=IF(CURRBARSCOUNT<=90,高1-(高1-低1)*0.618,DRAWNULL)COLORFF00FF,DOTLINE;
高:=IF(CURRBARSCOUNT<=30,REFDATE(HHV(H,30),DATE),DRAWNULL),COLORWHITE,DOTLINE;
低:=IF(CURRBARSCOUNT<=30,REFDATE(LLV(L,30),DATE),DRAWNULL),COLORWHITE;
分割点1:=IF(CURRBARSCOUNT<=30,高-(高-低)*0.382,DRAWNULL),COLORWHITE,DOTLINE;
分割点2:=IF(CURRBARSCOUNT<=30,高-(高-低)*0.618,DRAWNULL),COLORWHITE,DOTLINE;
选股:BARSLAST(C<分割点2)=1 AND BARSLAST(C<分割点21) ;
|