{M1 3 10 4 M2 3 20 6}
MA5:MA(CLOSE,5),LINETHICK1,COLORWHITE;
MA10:MA(CLOSE,10),LINETHICK1,COLORGREEN;
MA30:MA(CLOSE,30),LINETHICK2,COLORRED;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
買線:=EMA(C,2);
賣線:=EMA(SLOPE(C,21)*20+C,42);
{STICKLINE(買線>=賣線,CLOSE,OPEN,3,0), COLOR7070FF;
STICKLINE(買線>=賣線,LOW,HIGH,0,0), COLORYELLOW;
STICKLINE(買線<賣線,CLOSE,OPEN,3,0), COLORFF6600;
STICKLINE(買線<賣線,LOW,HIGH,0,0),COLORFFCC66;}
{頂:HHV(H,20),COLORCCFFFF,LINETHICK2;
底:LLV(L,20),COLORYELLOW,LINETHICK2;}
V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
HY1:=REF(EMA(V1,3),1);
{DRAWTEXT(CROSS(CLOSE,HY1),LOW,'.底'),COLORWHITE;}
DRAWICON(CROSS(CLOSE,HY1),LOW*0.97,9);
DRAWTEXT(CROSS(MA(CLOSE,9),MA(CLOSE,20)) AND J>REF(J,1),LOW,'.紅牛抬頭'),COLORYELLOW;
DRAWICON(CROSS(MA(CLOSE,9),MA(CLOSE,20)),LOW*0.98,1);
PBX1:=(EXPMA(CLOSE,M1)+MA(CLOSE,M1*2)+MA(CLOSE,M1*4))/3,LINETHICK2,COLORRED;
PBX2:=(EXPMA(CLOSE,M2)+MA(CLOSE,M2*2)+MA(CLOSE,M2*4))/3,LINETHICK2,COLORYELLOW;
DRAWICON(CROSS(PBX1,PBX2),LOW*0.96,23);
(南方財富網(wǎng)SOUTHMONEY.COM)