We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed6107b commit 267356cCopy full SHA for 267356c
main.js
@@ -441,8 +441,9 @@ module.exports = (autoInit = true) => {
441
442
p.v.forEach((val, i) => {
443
if (i === 0) return;
444
- if (indicator.plots[`plot_${i - 1}`]) period[indicator.plots[`plot_${i - 1}`]] = val;
445
- else period[`_plot_${i - 1}`] = val;
+ if (indicator.plots[`plot_${i - 1}`] && !period[indicator.plots[`plot_${i - 1}`]]) {
+ period[indicator.plots[`plot_${i - 1}`]] = val;
446
+ } else period[`_plot_${i - 1}`] = val;
447
});
448
periods[p.i][chart.indicators[parseInt(type, 10)].name || `st${type}`] = period;
449
}
0 commit comments