I want the deviation of the bands to changed depending on the value of the NVI.
To do this, I’ve created a double variable named “bandwidth” with a default value of 1. Then, created a new set:
NVI<0.2
set “bandwidth” = 1.3
and then another set:
NVI>0.2
set “bandwidth” = 1.8
lastly, I set the appropriate parameter within the BBands to the new variable.
<<< The Issue >>>
For some reason, the variable stays on the default value of 1 instead of being set to the values as described above.
In the past, I’ve had no problem doing this with numeric values, so I’m at a loss. Any help would be much appreciated!
Comment