STICKLINE(MACD2 =0 AND MACD2 REF(MACD2,1),0,MACD2,2.5,0),COLORRED;
STICKLINE(MACD2 0 AND MACD2 REF(MACD2,1),0,MACD2,2.5,0),COLORMAGENTA;
D升:IF(DIF2 =REF(DIF2,1),DIF2,DRAWNULL)COLORRED,LINETHICK2;
M升:STICKLINE(MACD2 0 AND MACD2 =REF(MACD2,1),0,MACD2,2.5,0)COLORWHITE;
M降:STICKLINE(MACD2 =0 AND MACD2 REF(MACD2,1),0,MACD2,2.5,0)COLORYELLOW;
M位:(MACD2-LLV(MACD2,20))/(HHV(MACD2,20)-LLV(MACD2,20))*10,COLORRED,LINETHICK2;
{www.9m8.cn 九毛八公式指标网 股票软件下载网_最新股票指标公式}
上:IF(M位 REF(M位,1),M位,DRAWNULL),COLORRED;
下:IF(M位 REF(M位,1),M位,DRAWNULL),COLORGREEN,LINETHICK2;
D位:(DIF2-LLV(DIF2,20))/(HHV(DIF2,20)-LLV(DIF2,20))*10,COLORYELLOW;
E位:(DEA2-LLV(DEA2,20))/(HHV(DEA2,20)-LLV(DEA2,20))*10,COLORLICYAN;
DRAWICON(CROSS(E位,0.001),-9,13);
筑底:IF(M位=0 AND D位=0,-7,-10);
短底:IF(M位=0 AND D位=0 AND E位=0,-5,-10),LINETHICK2,COLORGREEN;
潜:IF(LAST(MACD2 0,5,0)AND MACD2 =REF(MACD2,1),-12,-10),COLORYELLOW;
DRAWICON(M位 10 AND REF(M位,1)=10,M位*0.985,2);
大盘超跌:IF(九收 =-5 AND DEA2 =-5,5,0);