Commit 797ac565 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent 817603e0
...@@ -68,7 +68,7 @@ async function init() { ...@@ -68,7 +68,7 @@ async function init() {
let lp = t[4].replace('lp', 'Lp') let lp = t[4].replace('lp', 'Lp')
let f = found(indicator,pair, lp) let f = found(indicator,pair, lp)
f.period = p f.period = p
f.uniq = com[i].uniq f.name = com[i].platform
console.log(f) console.log(f)
arr.push(f) arr.push(f)
} }
...@@ -148,6 +148,8 @@ function found(indicator,pair, lp) { ...@@ -148,6 +148,8 @@ function found(indicator,pair, lp) {
if (indicator ===2) if (indicator ===2)
return {timeframe: timeframe,nAtrPeriod:d[15],dAtrMultiplier:d[17]} return {timeframe: timeframe,nAtrPeriod:d[15],dAtrMultiplier:d[17]}
if (indicator ===3)
return {timeframe: timeframe,nStochPeriod:d[15],nStochSmoothingPeriod:d[16],dOttPercent:d[18]}
// timeframe=timeframe.split(' ') // timeframe=timeframe.split(' ')
// let newTimeframe='0d ' // let newTimeframe='0d '
// for (let z=1;z<timeframe.length;z++) // for (let z=1;z<timeframe.length;z++)
......
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