低②:買賣<0.1 AND 買賣>0 AND 買賣>=REF(買賣,1),COLORGREEN,NODRAW;
STICKLINE(低②,0,-0.1,2.5,0), COLORGREEN;
低A:買賣<0 AND 買賣>=REF(買賣,1),COLOR0099FF,NODRAW;
STICKLINE(低A,0.1,-0.1,3,0), COLOR0099FF;
低B:買賣=REF(買賣,1) AND 買賣<0.8 AND 趨勢>=REF(趨勢,1) AND REF(EXIST(買賣<=REF(買賣,1),2),1) AND REF(EXIST(買賣<=0,10),8),COLOR0099FF,NODRAW;
STICKLINE(低B,0.3,0,3,0), COLOR0099FF;
{高位訊號} 高①:買賣>2.5 AND 買賣>REF(買賣,1),COLORRED,NODRAW;
STICKLINE(高①,2.6,2.4,3,0),COLORRED;
高②:天>=1.9 AND 買賣>=2.2 AND CROSS(REF(HHV(買賣,3),3),天),COLOR007800,NODRAW;
STICKLINE(高②,2.6,2.4,2.5,0),COLOR007800;
高A:買賣>2.45 AND 買賣<2.5 AND 買賣<=REF(買賣,1), COLORRED,NODRAW;
STICKLINE(高A,2.5,2.4,3,0), COLORRED;
高B:買賣>REF(LLV(買賣,5),4) AND 買賣<=REF(買賣,1) AND 買賣>1.5 AND 趨勢<=REF(趨勢,1) AND REF(EXIST(買賣>=REF(買賣,1),2),1) AND REF(EXIST(買賣>=2.48,10),8), COLOR0099FF,NODRAW;
使用說明:最好同時滿足1、2、3點或滿足2、3點時買入1、買賣數值逐步遞增;2、白色買賣線最好突破到活躍階段;3、紅色趨勢線上行。}
DRAWBAND(0,RGB(0,139,255),0.5,RGB(0,139,255)),COLORFF8B00;
DRAWBAND(0.5,RGB(0,120,0),1,RGB(0,120,0)),COLOR007800;
DRAWBAND(1,RGB(187,0,187),1.5,RGB(187,0,187)),COLORBB00BB;
DRAWBAND(1.5,RGB(255,58,133),2,RGB(255,58,133)),COLOR853AFF;
DRAWBAND(2,RGB(255,152,0),2.5,RGB(255,152,0)),COLOR0098FF;
DRAWTEXT(ISLASTBAR,0.25,"???"),COLORFF8B00;
DRAWTEXT(ISLASTBAR,0.25,"冰凍"),COLORFFFFCC;
DRAWTEXT(ISLASTBAR,0.75,"???"),COLOR007800;
DRAWTEXT(ISLASTBAR,0.75,"冷門"),COLORWHITE;
DRAWTEXT(ISLASTBAR,1.25,"???"),COLORBB00BB;
DRAWTEXT(ISLASTBAR,1.25,"活躍"),COLORFFFFCC;
DRAWTEXT(ISLASTBAR,1.75,"???"),COLOR853AFF;
DRAWTEXT(ISLASTBAR,1.75,"熱門"),COLORWHITE;
DRAWTEXT(ISLASTBAR,2.25,"???"),COLOR0098FF;
DRAWTEXT(ISLASTBAR,2.25,"高溫"),COLORWHITE;
R:=PERIOD;
S:=FROMOPEN;
VA1:=EMA(CAPITAL/IF(R=0,SUM(VOL,S),VOL)/CLOSE,10)/CLOSE;
地:IF(VA1>=2.5,2.5,VA1),COLORYELLOW,LINETHICK2;
天: POW(ATAN(EMA(CAPITAL/IF(R=0,SUM(VOL,S),VOL)/CLOSE,10)),2),COLORB5CA43,LINETHICK2;
趨勢: EMA(WINNER(CLOSE)*100,10)/50,LINETHICK2,COLOR0015FF;
買賣: EMA((-3)*(HHV(HIGH,30)-CLOSE)/(HHV(HIGH,30)-LLV(LOW,30))+2.7,9),COLORWHITE,LINETHICK2;
{低位訊號} 低①:買賣<0,COLORRED,NODRAW;
STICKLINE(低①,0,-0.1,3,0), COLORRED;
低②:買賣<0.1 AND 買賣>0 AND 買賣>=REF(買賣,1),COLORGREEN,NODRAW;
STICKLINE(低②,0,-0.1,2.5,0), COLORGREEN;
低A:買賣<0 AND 買賣>=REF(買賣,1),COLOR0099FF,NODRAW;
STICKLINE(低A,0.1,-0.1,3,0), COLOR0099FF;
低B:買賣=REF(買賣,1) AND 買賣<0.8 AND 趨勢>=REF(趨勢,1) AND REF(EXIST(買賣<=REF(買賣,1),2),1) AND REF(EXIST(買賣<=0,10),8),COLOR0099FF,NODRAW;
STICKLINE(低B,0.3,0,3,0), COLOR0099FF;
{高位訊號} 高①:買賣>2.5 AND 買賣>REF(買賣,1),COLORRED,NODRAW;
STICKLINE(高①,2.6,2.4,3,0),COLORRED;
高②:天>=1.9 AND 買賣>=2.2 AND CROSS(REF(HHV(買賣,3),3),天),COLOR007800,NODRAW;
STICKLINE(高②,2.6,2.4,2.5,0),COLOR007800;
高A:買賣>2.45 AND 買賣<2.5 AND 買賣<=REF(買賣,1), COLORRED,NODRAW;
STICKLINE(高A,2.5,2.4,3,0), COLORRED;
高B:買賣>REF(LLV(買賣,5),4) AND 買賣<=REF(買賣,1) AND 買賣>1.5 AND 趨勢<=REF(趨勢,1) AND REF(EXIST(買賣>=REF(買賣,1),2),1) AND REF(EXIST(買賣>=2.48,10),8), COLOR0099FF,NODRAW;
STICKLINE(高B,2.7,2.4,3,0), COLOR0099FF;