A:=MA(CLOSE,17)+A(MA(CLOSE,17)-REF(MA(CLOSE,17),1)); B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1); 分水岭:IF(MA(CLOSE,17)
REF(PM,1),PM,DRAWNULL),COLORRED,LINETHICK2; IF(PM=REF(PM,1),PM,DRAWNULL),COLORRED; IF(PM[ 操作线); DD:=分水岭][ C AND REF("MACD.DIF",A1+1)<"MACD.DIF" AND CROSS("MACD.DIF","MACD.DEA"); DRAWTEXT(B1> 0,L-0.02,'MACD'),COLOR00FFFF;{MACD底} A2:=BARSLAST(REF(CROSS(".K","J.D"),1)); B2:=REF(C,A2+1)> C AND REF("KDJ.K",A2+1)<"KDJ.
]