M:=60;MH:=20;ML:=13; {AA:=DRAWLINE(A,H,REF(A,1),REF(H,1),1),COLORRED; AB:=DRAWLINE(A,L,REF(A,1),REF(L,1),1),COLORGREEN;} CC:=C>REF(HHV(C,10),1); ZT:=C/REF(C,1)>1.090 AND C=H; TJV:=V/REF(V,1)>=2; STICKLINE(ZT,O,C,3.5,0),COLORMAGENTA; STICKLINE(ZT AND TJV,H,L,1,0),COLORYELLOW; MA5:=MA(CLOSE,5),COLORWHITE; MA10:=MA(CLOSE,10),COLORMAGENTA; MA20:=MA(CLOSE,20),COLORYELLOW; MA60:MA(CLOSE,60),COLORMAGENTA; TT:=ABS(C-O)/REF(C,1)<0.03 AND C>MA20 AND VOL=LLV(VOL,5); STICKLINE(TT,O,C,6,0),COLORRED; {F:=100*(C-REF(C,1))/REF(C,1); P1:=IF(C<REF(O,1) AND F<0,1,0); P2:=IF(C<REF(O,2) AND F<0,1,0); {漲3:=IF(MA(CLOSE,N1)>REF(MA(CLOSE,N1),1),MA(CLOSE,N1),DRAWNULL),COLORRED,LINETHICK2; 漲13:=IF(MA(CLOSE,N2)>REF(MA(CLOSE,N2),1),MA(CLOSE,N2),DRAWNULL),COLORRED,LINETHICK2; 漲20:=IF(MA(CLOSE,N3)>REF(MA(CLOSE,N3),1),MA(CLOSE,N3),DRAWNULL),COLORRED,LINETHICK2; 漲60:=IF(MA(CLOSE,60)>REF(MA(CLOSE,60),1),MA(CLOSE,60),DRAWNULL),COLORRED,LINETHICK2; 平:=IF(MA(CLOSE,13)=REF(MA(CLOSE,13),1),MA(CLOSE,13),DRAWNULL),COLOR00FFFF,LINETHICK2; 跌:=IF(MA(CLOSE,13)<REF(MA(CLOSE,13),1),MA(CLOSE,13),DRAWNULL),COLORGREEN,LINETHICK2; {TJ1:=C/REF(C,1)<1.02 AND V<REF(V,1) AND C/REF(C,1)>0.98 AND V<REF(V,1);
TJ2:STICKLINE(TJ1,C,O,6,0),COLORYELLOW;}; A:=VOL>=REF(VOL,1)*2 AND C>O; HX:SUMBARS(A,1),NODRAW; STICKLINE(HX,REF(H,HX-1),REF(H,HX-1),3,0),COLORYELLOW; STICKLINE(HX,REF(L,HX-1),REF(L,HX-1),3,0),COLORMAGENTA; |
|