Help me with this custom indicator
-
I have tried almost everything. I have used the trace block with the buffers, used empty values, indicator visible, indicator appear. But I am not able to use this indicator properly.
The idea is to use the bulish or bearish divergence to close trades.
1_1524905638733_FX5_Divergence_V2_1.mq4 0_1524905638732_FX5_Divergence_V2_1.ex4 -
I can get the values of this histogram, but the trend lines and the arrows are printed as objects. You can see this in the source code, there are some ObjectCreate functions in there. So you can't work with the buffers for these objects.
-
i have used object blocks and now It is working, thanks. However i have noticed a 2 candle delay between the custom indicator and the object blocks