Commit 1244ea5d authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent a0722a67
......@@ -964,7 +964,7 @@ function run(data, config, risk, forceZero, pfTrade, riskFreeLevel, detail, loss
// console.log(sum,parseFloat(t[j]))
if (arrNew.length ===0)
arrNew.push({sum: sums, index: i})
else if (arrNew[arrNew.length-1].sum < sums)
else if (arrNew[arrNew.length-1].sum > sums)
arrNew.push({sum: sums, index: i})
//console.log(sum)
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment