MA1: MA(CLOSE,5); BB:=DMA(EMA(CLOSE,65),SUM(VOL,65)/65/CAPITAL); 螺旋機密:BB; LX1: BB/1.382 LINETHICK2; LX2: BB*1.274; LX3: BB*1.618 LINETHICK2; LX4: BB*2.618 LINETHICK3; LX5: BB*4.236 LINETHICK3;
M50:MA(C,50),COLORYELLOW,LINETHICK2; DIF1:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA1:=EMA(DIF1,9); DIF:DIF1+EMA(CLOSE,3),COLORWHITE; DEA:DEA1+EMA(CLOSE,12),COLORYELLOW; MACD:(DIF1-DEA1)*2,NODRAW,COLORRED; STICKLINE(MACD>=0,M50,M50+MACD*3,0,1),COLORLIRED; STICKLINE(MACD<0,M50,M50+MACD*3,0,1),COLORLIGREEN; STICKLINE(((MACD<REF(MACD,1)) AND (MACD>0)),M50,M50+MACD*3,0,1),COLORLIRED; STICKLINE(((MACD>REF(MACD,1)) AND (MACD<0)),M50,M50+MACD*3,0,1),COLORLIGREEN;
|