Upgrade of the Charting System

This commit is contained in:
Luis Fernando Molina committed 2020-02-13 20:10:55 +01:00
1 parent 31ff6e38e8
commit c4cde8c26e
167 files changed
+1511 -560

No files matched your search

@@ -649,6 +649,10 @@
browserCanvasContext.lineWidth = 0.2;
browserCanvasContext.setLineDash([0, 0])
browserCanvasContext.stroke();
/* Contributing to Auto-Scale*/
coordinateSystem.reportValue(band.movingAverage + band.deviation)
coordinateSystem.reportValue(band.movingAverage - band.deviation)
}
}
@@ -582,6 +582,11 @@
continue
}
/* Contributing to Auto-Scale*/
coordinateSystem.reportValue(candle.max)
coordinateSystem.reportValue(candle.min)
//if (onScreenCandles.length < 15000) {
onScreenCandles.push(candle)
//}
@@ -699,6 +699,10 @@
thisObject.container.eventHandler.raiseEvent("Current Record Changed", currentVolume);
}
/* Contributing to Auto-Scale*/
coordinateSystem.reportValue(volume.amountBuy * 5)
coordinateSystem.reportValue(volume.amountSell * 5)
coordinateSystem.reportValue(0)
}
}
}
@@ -586,6 +586,12 @@
stairsPoint3 = thisObject.fitFunction(stairsPoint3);
stairsPoint4 = thisObject.fitFunction(stairsPoint4);
/* Contributing to Auto-Scale*/
coordinateSystem.reportValue(stairs.firstMin)
coordinateSystem.reportValue(stairs.firstMax)
coordinateSystem.reportValue(stairs.lastMin)
coordinateSystem.reportValue(stairs.lastMax)
browserCanvasContext.beginPath();
browserCanvasContext.moveTo(stairsPoint1.x, stairsPoint1.y);
@@ -515,6 +515,10 @@
function calculateBuys(plot, height) {
/* Contributing to Auto-Scale*/
coordinateSystem.reportValue(stairs.firstAmount * 2)
coordinateSystem.reportValue(stairs.lastAmount * 2)
volumeBarPointA1 = {
x: stairs.begin + timeFrame / 2,
y: 0
@@ -578,6 +582,10 @@
function calculateSells(plot, height) {
/* Contributing to Auto-Scale*/
coordinateSystem.reportValue(stairs.firstAmount * 2)
coordinateSystem.reportValue(stairs.lastAmount * 2)
volumeBarPointB1 = {
x: stairs.begin + timeFrame / 2,
y: height
@@ -700,6 +708,8 @@
browserCanvasContext.stroke();
}
}
}