(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 are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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?