reporting for autoscale

This commit is contained in:
Luis Fernando Molina committed 2020-03-17 09:30:00 +01:00
1 parent 3e5829925d
commit 10481b68af
1 file changed
+8
+8
View File
@@ -514,6 +514,14 @@
record = records[i];
/* Contributing to Auto-Scale*/
if (record.stopLoss !== 0) {
coordinateSystem.reportYValue(record.stopLoss)
}
if (record.takeProfit !== 0) {
coordinateSystem.reportYValue(record.takeProfit)
}
/* Send the current record to the panel */
if (userPositionDate >= record.begin && userPositionDate <= record.end) {