Can somebody fix this MT4 MACD indicator?

 
Hello,

I have an issue with this MT4 MACD indicator.

It only gives an alert and arrow whenever crossover up happens below or down crossover above zero line.

I really need arrows and alerts every time crossover happens.

Can somebody update this MQ4 source code?

I would really appreciate.

Thank you in advance.
MACD - Oscillators - Technical Indicators - Price Charts, Technical and Fundamental Analysis - MetaTrader 5 Help
MACD - Oscillators - Technical Indicators - Price Charts, Technical and Fundamental Analysis - MetaTrader 5 Help
  • www.metatrader5.com
Moving Average Convergence/Divergence (MACD) is a trend-following dynamic indicator. It indicates the correlation between two Moving Averages of a...
Files:
Macd.mq4  18 kb
 

Line 215. Delete "macd[i]<0 &&" and "macd[i]>0 &&".

valt[i] = (macd[i]<0 && macd[i]>sig[i]) ? 1 : (macd[i]>0 && macd[i]<sig[i]) ? -1 : 0;