MA(C,5);:MA(C,12),COLORRED;IF(线>REF(趋势线,1),趋势线,DRAWNULL),COLORRED;IF(趋势线
[C AND REF("MACD.DIF"(12,26,9),A1+1)<"MACD.DIF"(12,26,9) AND CROSS("MACD.DIF"(12,26,9),"MACD.DEA"(12,26,9));MACD:DRAWTEXT(FILTER(B1>0,5),LOW,'△'),COLORYELLOW;DRAWTEXT(FILTER(B1>0,5),LOW*0.98,'MACD底'),COLOR00FF00;A2:=BARSLAST(REF(CROSS(".K"(9,3,3),"J.D"(9,3,3)),1));B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"
]