Ray,traderduke wrote:Mladen
I tried to code a trend buffer, 1 to 3 & -1 to -3, into this indicator, but failed. Could you show me the error of my ways? I added the buffer and started the conditions it at line 244 to line 281.
Thank You
Ray
RK-Traders Dynamic Index VISUAL ALERTS-v1.mq4
You are setting value to "trend" buffer only for the current bar