成本0:=COST(0.5);
操盘线:ema(eMA(C,4)-EMA(成本0,246)/246,2),COLORWHITE;
反操盘线:EMA(操盘线-(eMA(c,3)-操盘线),2),COLORAAAA00;
工作线:=ema(eMA(C,15)-EMA(成本0,246)/246,2);
多空线:ema(eMA(C,26)-EMA(成本0,246)/246,2),COLOR7F00FF,LINETHICK2;
反多空线:=EMA(多空线-(eMA(c,3)-多空线),3);
PARTLINE(反多空线>多空线,多空线),COLORFFCC66,LINETHICK2;
空:SMA(LLV(CLOSE,OPEN),48,1),COLORAAAA00;
多:MA(HHV(空,OPEN),1),COLORYELLOW;
压力:HHV(空,68),COLORMAGENTA;
支撑:llV(空,28),COLORGREEN;
PARTLINE(多=空,多),COLORYELLOW,LINETHICK2;
PARTLINE(多=压力,压力),COLORMAGENTA,LINETHICK2;
PARTLINE(支撑<空,支撑),COLOR00AA99,LINETHICK2;
年线:ema(eMA(c,246)-eMA(成本0,246)/246,2),COLORRED,LINETHICK2;
反年线:EMA(年线-(eMA(c,3)-年线),2),COLORWHITE,LINETHICK;
PARTLINE(反年线>年线,年线),COLORWHITE,LINETHICK1;
DIF:=操盘线-年线,COLORRED;
dea:=MA(dif,3),COLORAAAA00;
MACD:=2*(DIF-DEA),LINETHICK;
STICKLINE(MACD>0,DYNAINFO( 3)+MACD,DYNAINFO( 3),1,0),colorred;
STICKLINE(MACD<0,DYNAINFO( 3)+MACD,DYNAINFO( 3),1,0),colorgreen;
STICKLINE(C>0,DYNAINFO( 3),DYNAINFO( 3),10,0),COLORBROWN;