賣線:EMA(((SLOPE(CLOSE,34) *20) + CLOSE),75),COLOR0055FF;
買線:EMA(CLOSE,15),COLORBLACK;
VAR1:=(買線 - 賣線);
STICKLINE((VAR1 >= 0),買線,賣線,0.5,0),COLORRED;
STICKLINE((VAR1 < 0),買線,賣線,0.5,0),COLORBLUE;
買買:=EMA(((100 * (CLOSE - LLV(LOW,34))) / (HHV(HIGH,34) - LLV(LOW,34))),3);
賣賣:=SMA((((HHV(HIGH,34) - CLOSE) / (HHV(HIGH,34) - LLV(LOW,34))) * 100),2,1);
大盤:=EMA(((100 * (INDEXC - LLV(INDEXL,34))) / (HHV(INDEXH,34) - LLV(INDEXL,34))),3);
換手:=(((VOL / CAPITAL) * 100) >= 2);
漲:=(((CLOSE / REF(CLOSE,1)) - 1) * 100);
A:=(CROSS(買買,賣賣) AND (買買 >= 45));
B:=(CROSS(買買,大盤) AND (買買 >= 45));
D:=(CROSS(買買,75) AND (漲>= 2));
DD:=(CROSS(買買,20) AND (漲>= 2));
DRAWTEXT((A > 0),(LOW * 0.99),'←阻擊龍頭'),LINETHICK0,COLORFFFF00;
DRAWTEXT((B > 0),(LOW * 1.02),'←決戰(zhàn)龍頭'),LINETHICK0,COLOR0055FF; DRAWTEXT((D > 0),(LOW * 1.05),'←絕對(duì)龍頭'),LINETHICK0,COLORRED;
DRAWTEXT((DD > 0),(LOW * 1.05),'←短線金股'),LINETHICK0,COLORRED; TJ:=((CLOSE > OPEN) OR ((CLOSE = OPEN) AND (CLOSE > REF(CLOSE,1))));
STICKLINE(TJ,LOW,HIGH,0.8,0),COLORRED;
STICKLINE(TJ,OPEN,CLOSE,8,0),COLORRED;
STICKLINE(TJ,OPEN,CLOSE,6,0),COLOR8B6AFD;
STICKLINE(TJ,OPEN,CLOSE,2,0),COLORC6B6FE;
STICKLINE(TJ,OPEN,CLOSE,1,0),COLORF9F7FF;
STICKLINE(NOT(TJ),LOW,HIGH,0.1,0),COLORFF0000;
STICKLINE(NOT(TJ),OPEN,CLOSE,8,0),COLORFF0000;
STICKLINE(NOT(TJ),OPEN,CLOSE,6,0),COLORFF7578;
STICKLINE(NOT(TJ),OPEN,CLOSE,2,0),COLORFFBFC1;
STICKLINE(NOT(TJ),OPEN,CLOSE,0.5,0),COLORFFFFF7;