Commit f41c318f authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent d4dcfe01
...@@ -829,7 +829,7 @@ function run(data, config, risk, pfTrade, riskFreeLevel, detail, loss, durs, max ...@@ -829,7 +829,7 @@ function run(data, config, risk, pfTrade, riskFreeLevel, detail, loss, durs, max
if (data[i].profit>0) if (data[i].profit>0)
{ {
lossPlusDone++ lossPlusDone++
lossPlusDonePer=lossPlusDonePer+data[i].profit lossPlusDonePer=lossPlusDonePer+(data[i].profit+-0.1)
} }
// unixMid = data[i].unixClose // unixMid = data[i].unixClose
// step++ // step++
......
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