Fix bug in strategy selection

This commit is contained in:
Luis Fernando Molina committed 2020-05-15 11:28:00 +02:00
1 parent b9069f65a4
commit a890650b18
1 file changed
+5
+5
View File
@@ -1327,6 +1327,11 @@
for (let j = 0; j < tradingSystem.strategies.length; j++) {
if (
strategyStage !== 'No Stage' ||
currentStrategyIndex !== -1
) {continue}
let strategy = tradingSystem.strategies[j];
let triggerStage = strategy.triggerStage