KDD:=BARSLAST(REF(CROSS(D,K),1));
K頂背:=REF(CLOSE,KDD+1)《CLOSE AND REF(K,KDD+1)》K AND CROSS(D,K);
DRAWTEXT(FILTER(K頂背》0,5),D+8,‘頂背離’),COLORFFAA22;
MD1:=MA(CLOSE,80)-MA(CLOSE,13)/3;
MD2:=MA((CLOSE-MD1)/MD1,3);
買(mǎi)點(diǎn)1:=CROSS(MD2,0) AND LOW/REF(HIGH,1)《1.012 AND J《75 AND J》REF(J,1);
MA12:=MA(CLOSE,12);
佳點(diǎn):=IF(FILTER(MACD》=REF(MACD,5) AND OPEN《=REF(CLOSE,1) AND XX-REF(XX,1)》0 AND MACD《=0 AND MA12-REF(MA12,1)》=0,3) AND J《80 AND J》REF(J,1) AND D》REF(D,1) AND (DIFF》=REF(DIFF,1) OR DEA》=REF(DEA,1)),1,0);
DRAWTEXT(佳點(diǎn)=1,MACDA*0.98,‘佳點(diǎn)’),COLOR0099FF;
(南方財富網(wǎng)SOUTHMONEY.COM)