iBandsOnArray Problem
(williams,BBPeriode,BBPeriode,BBDeviation,BBShift,MODE_MAIN,1)Maybe you are not allowing enough elements to be counted?
Try
(williams,0,BBPeriode,BBDeviation,BBShift,MODE_MAIN,1)
(williams,BBPeriode,BBPeriode,BBDeviation,BBShift,MODE_MAIN,1)Maybe you are not allowing enough elements to be counted?
Try
(williams,0,BBPeriode,BBDeviation,BBShift,MODE_MAIN,1)
You agree to website policy and terms of use
Hello,
why does iBandsOnArray(williams,BBPeriode,BBPeriode,BBDeviation,BBShift,MODE_MAIN,0) give me the correct value from current bar, but when i try to get the last closed bar value with writing a 1 to the index shift parameter iBandsOnArray(williams,BBPeriode,BBPeriode,BBDeviation,BBShift,MODE_MAIN,1) why this give me 0 as result and not the last closed bar value from the indicator?
Is there a error in the function or do i make somethink wrong in my codeing?