{赢家均线} B1:=EMA((2*CLOSE+HIGH+LOW)/4,5); A1:B1,COLOR0000FF; A2:IF(EMA((2*CLOSE+HIGH+LOW)/4,6)<REF(EMA((2*CLOSE+HIGH+LOW)/4,6),1),B1,DRAWNULL),COLOR00FF00; B2:=EMA((2*CLOSE+HIGH+LOW)/4,13); A3:B2,LINETHICK2,COLOR0000FF; A4:IF(EMA((2*CLOSE+HIGH+LOW)/4,10)<REF(EMA((2*CLOSE+HIGH+LOW)/4,13),1),B2,DRAWNULL),LINETHICK2,COLOR00FF00; B3:=REF(EMA((LOW+CLOSE+OPEN)/3,25),1); A5:B3,LINETHICK3,COLOR0000FF; A6:IF(EMA((LOW+CLOSE+OPEN)/3,28)<REF(EMA((LOW+CLOSE+OPEN)/3,28),1),B3,DRAWNULL),LINETHICK3,COLOR00FF00; B4:=(EMA(LOW,100)+EMA((CLOSE+LOW)/2,100))/2; A7:B4,POINTDOT,COLOR0000FF; A8:IF((EMA(LOW,100)+EMA((CLOSE+LOW)/2,250))/2<REF((EMA(LOW,100)+EMA((CLOSE+LOW)/2,250))/2,1),B4,DRAWNULL),POINTDOT,COLOR00FF00; {SKDJM}
LOWV:=LLV(LOW,9);
HIGHV:=HHV(HIGH,9);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
K:EMA(RSV,3),COLORRED;
D:MA(K,3),COLORGRAY;
{WWW.fxjgsw.com}
P:=(C-MA(C,5))*100/MA(C,5);
偏5线:IF(P>0,P,0),COLORYELLOW,NODRAW;
超买:IF(K>=80,K,100),COLORGREEN;
危险:IF(K>=90,K,100),COLORRED;
超卖:IF(K<20,K,0),COLORYELLOW;
DIF:EMA(CLOSE,12) - EMA(CLOSE,26),COLORWHITE,NODRAW;
DEA:EMA(DIF,9),COLORRED,NODRAW;
MACD:2*(DIF-DEA),COLORYELLOW,NODRAW;
DRAWTEXT(CROSS(DIF,DEA),10,'O'),COLORYELLOW;
DRAWTEXT(CROSS(DEA,DIF),10,'X'),COLORGREEN; |
