Commit 8188a54c authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 0ae3b049
......@@ -101,19 +101,29 @@ function run(data, config, risk, pfTrade, riskFreeLevel, detail, loss, durs, max
if (usage === 'fft') {
if (countDrop < fft)
runBefore=false
else
runBefore=true
} else if (usage === 'fftPercent') {
if (allLossProfit > fftPercent)
runBefore=false
else
runBefore=true
} else if (usage === 'fftRunup') {
if (countDropRunup < fftRunup)
runBefore=false
else
runBefore=true
} else if (usage ==='fftDiffDrawDownProfit') {
if (diffDrawdownProfitAll > fftDiffDrawDownProfit)
runBefore=false
else
runBefore=true
}
else if (usage ==='fftPercentRunup') {
if (canCreateRunupPercent ===false)
runBefore=false
else
runBefore=true
}
......
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