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
You missed the point. The post you are referring to was about HOW to get the signal from an EA, you obviously can't have it by just getting the last 2 candles values, you need the third.
It's NOT possible to have an early signal because to detect a divergence you need a peak/trough and for that you need an additional candle which CLOSE. So when candle 0 just open, that means candle 1 is close, and it allow to confirm the peak/trough at candle 2. If someone want to modify the indicator to use unconfirmed peak/trough to have early signal, one can do it, but I will not help to that because it's a bad idea as you will get a lot of bad signals.
What could be done is to DRAW the signal on candle 1 or even candle 0, but that will change nothing, and I decided to draw the signal on the candle which actually show the peak/trough.
you might missed a point as well.
In the case of renko charts the current bar is (mostly) already closed so you would need one candle less. Or am I missing something?
Forum on trading, automated trading systems and testing trading strategies
macd divegence
ENEZA PETER MKIRAMWENI, 2021.09.12 12:26
hi help me with this indicator it display alert after three bar i want to display alert immediate after 1 bar
Forum on trading, automated trading systems and testing trading strategies
Indicators: MACD Divergence
Alain Verleyen, 2013.11.05 19:14
So friendly.
The signal is given at closing of a candle, 1 candle in the past (2 if you count open candle and not 3). It's normal and it's how it have to work. Divergence is based on research of extremum (top/bottom). If you have a way to detect an extremum on the current candle, I suggest you to learn programming and provide us, for free, this great innovation.
Thank you for your input.
I changed this part and solved it. May be it could be done better and simpler but it works. Arrows moved ahead 1 bar. Lines without arrows are uncomfirmed signals.
when divergence zero line below also price formation HL bottom ( price if not made again LL) histogram any other 5 30 60 240 tf 3 tf signed to fruitful
Hello Alain,
Thank you very much for this great indicator!
I am trying to use the Data Window values of this indicator inside an EA. (Please see attachment)
I use the same logic for all four indexes but I am able to get the correct values only for the last two (Main and Signal).
For the first two I see always a fix number
when, for the example attached, one should have a correct value and the other should be 0/blank
do you know why I have this problem?
Thank you