MA5:MA(C,5),COLOR00FF00,DOTLINE; IF(MA5>REF(MA5,1),MA5,DRAWNULL),COLORRED,LINETHICK3; DIF1:=WMA(CLOSE,12); DIF2:=WMA(CLOSE,26); MACDG:(3*DIF1-2*DIF2),COLOR00FFFF,DOTLINE; IF(MACDG>REF(MACDG,1),MACDG,DRAWNULL),COLOR00FFFF,LINETHICK3; RSV:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*MA5/10; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J18:=(3*K-2*D); J:FORCAST(J18,18)+MA5,COLOR0000FF,DOTLINE; IF(J>REF(J,1),J,DRAWNULL),COLORFF00FF,LINETHICK3; AA05:=MA(C,5); MM5:=(C-AA05)/AA05*100; BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416; NN5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1); NNNN5:=EMA((NN5-REF(NN5,1)),3),LINETHICK0; AA10:=MA(C,10); AA20:=MA(C,20); BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416; AA30:=MA(C,30); MM30:=(C-AA30)/AA30*100; VAR1:=(AA20-AA30)>REF((AA20-AA30),1) AND AA20>REF(AA20,1) AND AA30>REF(AA30,1); VAR2:=(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(BB30>30 AND BB10>45 AND CROSS(BB05,60),10); 加倉:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND AA05>REF(AA05,1) AND MM30>REF(MM30,1) AND AA10>REF(AA10,1) AND NNNN5>REF(NN5,1) AND NN5>REF(NN5,1) ,10) ; MR:=COUNT(CROSS(MM30,0),3)>=1 AND MM30>REF(MM30,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30; 買入:=FILTER(MR,10); DRAWTEXT((買入),LOW*0.945,'⊙'),LINETHICK2,COLORYELLOW; DRAWTEXT((買入),LOW*0.965,'⊙'),LINETHICK2,COLORYELLOW; DRAWTEXT((買入),LOW*0.985,'⊙'),LINETHICK2,COLORYELLOW; DRAWTEXT((加倉),LOW*0.985,'⊙'),LINETHICK2,COLORWHITE; DRAWTEXT((加倉),LOW*0.965,'⊙'),LINETHICK2,COLOR00FF00; DRAWTEXT((加倉),LOW*0.945,'⊙'),LINETHICK2,COLORWHITE; DRAWTEXT((強勢),LOW*0.985,'⊙'),LINETHICK2,COLORRED; DRAWTEXT((強勢),LOW*0.965,'⊙'),LINETHICK2,COLORRED;
|