No candles with zero open
This commit is contained in:
1 parent
6fc0231651
commit
d19b39c05c
1 file changed
+3
@@ -602,6 +602,9 @@
|
||||
|
||||
candle = candles[i];
|
||||
|
||||
/* Skip the first candle with zero at open */
|
||||
if (candle.open === 0) { continue }
|
||||
|
||||
if (candle.candlePoint2.x < canvas.chartingSpace.viewport.visibleArea.bottomLeft.x || candle.candlePoint1.x > canvas.chartingSpace.viewport.visibleArea.bottomRight.x) {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user