Problem with buffer
-
Hi there, it seems that the zero buffer of this indicator does not want to work
project link https://fxdreema.com/shared/CJFEsEZBb
indicator 0_1581366179734_Zero lag Hull moving average.ex4
0_1581366195691_Zero lag Hull moving average.mq4
any suggestions?
@trader-philipps ?
Thanks in advance -
@ambrogio At which line it throws the zero divide?
-
@ambrogio I tested your project now and so far it didn't throw the zero divide error. However, I saw that it just draws down arrows

So I slightly changed the code of the indicator to show the existing trend buffer. So you just need 1 condition to check > or < 0
Here it is.
0_1581394655681_Zero lag Hull moving average.mq4 -
@trader-philipps thank you very kind!