MACD Sell abd Buy Signal on 30 and 1 Hrs
Dear experts:
I would like to have a Exploration in Metastock to achive the following result. I hve writen but not sure how it works. Please help me in writing correct code to see the MACD Buy and Sell signals on a 30min or an 1 Hr chart with the previous bar triggered the signal.
(Like to add the ref -1 period to get the result)
buy:- cross(macd(),mov(macd().9.e))
sell:- cross(mov(macd(),9,e),macd())
Thanks in Advance
Dear experts:
I would like to have a Exploration in Metastock to achive the following result. I hve writen but not sure how it works. Please help me in writing correct code to see the MACD Buy and Sell signals on a 30min or an 1 Hr chart with the previous bar triggered the signal.
(Like to add the ref -1 period to get the result)
buy:- cross(macd(),mov(macd().9.e))
sell:- cross(mov(macd(),9,e),macd())
Thanks in Advance