RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100; VAR4:=SMA(RV,3,1); VAR5:=SMA(VAR4,3,1); KK:=EMA(SMA(RG,3,1),2); DD:=SMA(KK,3,1); XG:=CROSS(VAR4,VAR5) AND CROSS(KK,DD); AA05:=MA(C,5); 五日乖離率:=(C-AA05)/AA05*100; BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416; 速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1); 加速度5:=EMA((速度5-REF(速度5,1)),3); AA10:=MA(C,10);AA20:=MA(C,20); BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416; AA30:=MA(C,30); 三拾日乖離率:=(C-AA30)/AA30*100; XG3:=(AA20-AA30)>REF((AA20-AA30),1) AND AA20>REF(AA20,1) AND AA30>REF(AA30,1); XG4:=(AA30-AA20)<REF((AA30-AA20),1) AND AA20<REF(AA20,1) AND AA30<REF(AA30,1); BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416; 加倉:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND AA05>REF(AA05,1) AND 三拾日乖離率>REF(三拾日乖離率,1) AND AA10>REF(AA10,1) AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ; MR:=COUNT(CROSS(五日乖離率,0),3)>=1 AND 三拾日乖離率>REF(三拾日乖離率,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30; 青云直上選股:=IF(FILTER(MR,10),30,0),COLORRED,LINETHICK3;PP:=IF(FILTER(MR,10),20,0); MA2:=EMA(C,2);MA5:=EMA(C,5);MA13:=EMA(C,13);MA30:=EMA(C,30); MA55:=EMA(C,55);YCX:=MA5>=REF(MA5,1); H1:=MAX(MAX(MA5,MA13),MA30);L1:=MIN(MIN(MA5,MA13),MA30); 一陽穿三線:=H1<C AND O<L1 AND YCX AND MA2>REF(MA2,1); 滿倉選股:=IF(一陽穿三線,38,0),COLORMAGENTA,LINETHICK3; XG2:=(一陽穿三線,0.5); DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); {選股設(shè)JC=10即可} DEA:=EMA(DIFF,9); A:=IF(CROSS(0,DEA),1,0); A1:=IF(DIFF<0 AND CROSS(DIFF,DEA),1,0); SS:=IF(A,SUM(A1,0),0); SSB:=HHV(SS,0); SSS:=SUM(A1,0); W底選股:=IF(SSS-SSB=2 AND SSS>REF(SSS,1),-22,0),LINETHICK2,COLORFFFF00; GZ:XG && XG2 && 青云直上選股 AND W底選股;
|
|