mohammad sh: However, I also need the Histogram line.
Just compute it. histogrami = macd i - signali .

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I successfully used the code below to get the last n values of MACD and Signal lines:
However, I also need the Histogram line.
How can I get the the last n values of the Histogram line?