Hi.
im been haivng this problem that my indicator displays a straing line with a final peak (which is not what its supposed to do), when i view my chart on the current bar.
This problem is solved by moving the chart view back by at least one bar when it suddenly displays the correct information. The problem is that if this issue is not solved, i cant use my indicator properly ontop of another indicatior ('Indicator that uses the output of another indicator')
I tired playing around with start and end indexes but found no fix. To demonstrate the behavious i attached two images of what I mean.
Thank you
froid
