㈠ 您好可以幫我寫一個文華財經期貨行情軟體五分鍾macd金叉和死叉的預警提示公式嗎
文華贏順wh6,指標公式:
D: ="HOUR$1$CLOSE " ;
DIFFD : =EMA(D,12*12) - EMA(D,26*12);
DEAD := EMA(DIFFD,9*12);
DIFF : =EMA(C,12) - EMA(C,26);
DEA := EMA(DIFF,9);
CROSS(DIFF,DEA)&&BARSLAST(CROSS(DIFFD,DEAD))<BARSLAST(CROSSDOWN(DIFFD,DEAD)),SOUND('A');
CROSSDOWN(DIFF,DEA)&&BARSLAST(CROSS(DIFFD,DEAD))>BARSLAST(CROSSDOWN(DIFFD,DEAD)),SOUND('B');