MA1:=MA(C,5); MA2:=MA(C,10); MA3:=MA(C,20); MA4:=MA(C,30); MA5:=MA(C,60); HH:=MAX(MA1,MAX(MA2,MAX(MA3,MAX(MA4,MA5)))); LL:=MIN(MA1,MIN(MA2,MIN(MA3,MIN(MA4,MA5)))); 均線粘合度:=(HH-LL)/LL*100; XG1:=均線粘合度<2; VOLUME:=VOL; VOL5:=MA(VOLUME,5); VOL135:=MA(VOLUME,135); XG2:=(VOLUME>VOL135); XG3:=MA(C,20)>REF(MA(C,20),1); XG4:=MA(C,30)>REF(MA(C,30),1); XG5:=MA(C,60)>REF(MA(C,60),1); XG:XG1 AND XG2 AND XG3 AND XG4 AND XG5; |
|