max profit a loss to quit incorporated

This commit is contained in:
David Brazda
2023-09-01 12:07:11 +02:00
parent a668033138
commit e067a43dda
6 changed files with 78 additions and 14 deletions
+6
View File
@@ -57,6 +57,12 @@ function transform_data(data) {
sline_markers["text"] = histRecord.sl_val.toFixed(3)
sl_line_markers_sada.push(sline_markers)
if (index === array.length - 1) {
//pro posledni zaznam push sadu do pole
sl_line.push(sl_line_sada)
sl_line_markers.push(sl_line_markers_sada)
}
});
data.bars.time.forEach((element, index, array) => {