周DIFF:=“MACD.DIF#WEEK”;
周DEA:=“MACD.DEA#WEEK”;
周MACD:=“MACD.MACD#WEEK”;
DIF周金叉:=CROSS(周DIFF,周DEA);
DRAWTEXT(DIF周金叉,DEAA,‘DIFF周金叉’),COLOR0099FF;
DRAWTEXT(CROSS(周DEA,周DIFF),DEAA+4,‘DIFF周死叉’),COLORCDFFBB;
MACD周金叉:=CROSS(周MACD,周DIFF) AND 周MACD》=(0-0.05) AND 周MACD《=0.02;
DRAWTEXT(MACD周金叉,MACDA-0.03,‘MACD周金叉’),COLOR00FFFF;
{月金叉,死叉}
月DIFF:=“MACD.DIF#MONTH”;
(南方財富網(wǎng)SOUTHMONEY.COM)