MACD is known as the king of indicators. My usage is as follows: (Google translate may not be right due to language barriers)mrtools wrote: Wed May 18, 2022 2:02 pm No idea checked the code everything seems fine, this is what I'm getting.
1. Correction to divergence: when the price is getting higher and higher, and the MACD bar is getting lower and lower, it is divergence;
Conversely, when the price is getting lower and lower, and the MACD bar is getting higher and higher, it is divergence.
2. When the MACD bar is greater than the 0 axis, only the downward divergence and downward arrow are displayed;
Conversely, when the MACD bar is less than the 0 axis, only an upward divergence and an upward arrow are displayed.
For divergence in other indicators, the understanding is the same.
I don't know if this modification is difficult to code?