Commit 61b777e3 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 7c332b69
......@@ -91,7 +91,7 @@ function run(data, config, risk, pfTrade, riskFreeLevel, detail, loss, durs, max
allLossProfit=0
countDrop = 0
}
if (data[i].runUp >=config.target) {
if (data[i].runUp <config.target) {
allLossProfitRunup=allLossProfitRunup+data[i].runUp
countDropRunup++
}
......
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