removed duplicate scrollToRealTime that may interfere with indicator redraw
This commit is contained in:
@ -432,11 +432,6 @@ async loadNewData() {
|
|||||||
window.drawIndicatorsOnChart?.();
|
window.drawIndicatorsOnChart?.();
|
||||||
|
|
||||||
await this.loadSignals();
|
await this.loadSignals();
|
||||||
|
|
||||||
// Refresh chart if new candle detected
|
|
||||||
if (isNewCandle) {
|
|
||||||
this.chart.timeScale().scrollToRealTime();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Error loading new data:', error);
|
console.error('Error loading new data:', error);
|
||||||
|
|||||||
Reference in New Issue
Block a user