blacklabel / indicators

Indicators plugin for Highstock by Black Label
http://blacklabel.github.io/indicators/
Other
35 stars 12 forks source link

Series.update() removes indicators #21

Closed pawelfus closed 9 years ago

pawelfus commented 9 years ago

Series.update() in fact removes series then adds new one. Problem comes when we loop over indicators and removes element from the array. We need to loop as decrementing it's index, not incrementing.

Culprit in line #97.