I am trying to trade based on the macd, I can clearly see it is above 0 on the indicator and has been for a while, but my trader sells into the position. What am I missing. Is it because the timeframe on the Screen indicator is different and always going to be different from code ?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I am trying to trade based on the macd, I can clearly see it is above 0 on the indicator and has been for a while, but my trader sells into the position. What am I missing. Is it because the timeframe on the Screen indicator is different and always going to be different from code ?
if (m_macd_current < 0)
if(m_macd_current<m_macd_previous && m_macd_previous > m_signal_previous)
Thanks in advance