Problems getting a plot buffer coming from the adding of two previous calculated buffers
Your problem is that arrays k[], r[], and TR[] have no size. You would know that if you had used strict.
Always use strict. Fixing the warnings will save you hours of debugging, but you must understand the differences.
You should stop using the old event handlers and IndicatorCounted() and start using new event handlers.
Event Handling Functions - MQL4 Reference
How to do your lookbacks correctly - MQL4 programming forum #9-14 & #19 (2016)
Hi,
I'd really apreciate some help with the fixing of this code, that pretends to plot 3 curves: b,c and one named ku derived from some extra calculations with other arrays. Facts are that no problem getting the values of b and c and be shown on the chart, but I'm not able to see whats the problem wit the calculation of ku that is always represented as a line with value 0.
Thanks in advance.