通達信給力買賣主圖指標公式
MA5:MA(CLOSE,5),LINETHICK1,COLORGREEN;
MA10:MA(CLOSE,10),LINETHICK1,COLORRED;
_現價:CLOSE,COLORWHITE,NODRAW;
_10日漲跌%: (C-REF(CLOSE,10))/REF(CLOSE,10)*100,COLORGREEN,NODRAW;
給:=EMA(C,2),COLORRED;
力:=EMA(SLOPE(C,9)*20+C,37);
買:=CROSS(給,力);
賣:=CROSS(力,給);
DRAWICON(買,L*0.97,1);
DRAWTEXT(買,L*0.95,'進'),COLORYELLOW;
DRAWICON(賣,H*1.03,2);
DRAWTEXT(賣,H*1.08,'撤'),COLORWHITE;
STICKLINE(給>=力,LOW,HIGH,0.01,0),COLOR0000DD;
STICKLINE(給>=力,CLOSE,OPEN,2,1),COLORRED;
STICKLINE(給>=力,LOW,HIGH,0.01,0),COLOR0000DD;
STICKLINE(給>=力,CLOSE,OPEN,2,1),COLORRED;
STICKLINE(給
STICKLINE(給
STICKLINE(CROSS(給,力),OPEN,CLOSE,2.5,0),COLORYELLOW;
STICKLINE(CROSS(力,給),OPEN,CLOSE,2.5,0),COLORWHITE;