Commit 1afd5053 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent c1052238
...@@ -76,21 +76,21 @@ async function init() { ...@@ -76,21 +76,21 @@ async function init() {
struc=indicator2Temp struc=indicator2Temp
struc=struc.replace('ahmadTimeframe',f.timeframe).replace('ahmadnAtrPeriod',f.nAtrPeriod).replace('ahmaddAtrMultiplier',f.dAtrMultiplier).replace('ahmadlp',f.lp) struc=struc.replace('ahmadTimeframe',f.timeframe).replace('ahmadnAtrPeriod',f.nAtrPeriod).replace('ahmaddAtrMultiplier',f.dAtrMultiplier).replace('ahmadlp',f.lp)
createConfigYashilADV('btc'+indicator+'&'+parseFloat(f.nAtrPeriod)+'&'+parseFloat(f.dAtrMultiplier)+'&'+f.lp,struc) createConfigYashilADV('btc'+indicator+'&'+parseFloat(f.nAtrPeriod)+'&'+parseFloat(f.dAtrMultiplier)+'&'+f.lp,struc)
com[i].lp='btc'+indicator+'&'+parseFloat(f.nAtrPeriod)+'&'+parseFloat(f.dAtrMultiplier)+'&'+f.lp com[i].config='btc'+indicator+'&'+parseFloat(f.nAtrPeriod)+'&'+parseFloat(f.dAtrMultiplier)+'&'+f.lp
} }
if (indicator ===3) if (indicator ===3)
{ {
struc=indicator3Temp struc=indicator3Temp
struc=struc.replace('ahmadTimeframe',f.timeframe).replace('ahmadnStochPeriod',f.nStochPeriod).replace('ahmadnStochSmoothingPeriod',f.nStochSmoothingPeriod).replace('ahmaddOttPercent',f.dOttPercent).replace('ahmadnOttPeriod',f.lp) struc=struc.replace('ahmadTimeframe',f.timeframe).replace('ahmadnStochPeriod',f.nStochPeriod).replace('ahmadnStochSmoothingPeriod',f.nStochSmoothingPeriod).replace('ahmaddOttPercent',f.dOttPercent).replace('ahmadnOttPeriod',f.lp)
createConfigYashilADV('btc'+indicator+'&'+parseFloat(f.nStochPeriod)+'&'+parseFloat(f.nStochSmoothingPeriod)+'&'+f.lp,struc) createConfigYashilADV('btc'+indicator+'&'+parseFloat(f.nStochPeriod)+'&'+parseFloat(f.nStochSmoothingPeriod)+'&'+f.lp,struc)
com[i].lp='btc'+indicator+'&'+parseFloat(f.nStochPeriod)+'&'+parseFloat(f.nStochSmoothingPeriod)+'&'+f.lp com[i].config='btc'+indicator+'&'+parseFloat(f.nStochPeriod)+'&'+parseFloat(f.nStochSmoothingPeriod)+'&'+f.lp
} }
if (indicator ===4) if (indicator ===4)
{ {
struc=indicator4 struc=indicator4
struc=struc.replace('ahmadstMnMaBarAge',f.timeframe).replace('ahmadMnKeltner_nMidLnMaPeriod',f.nMidLnMaPeriod).replace('ahmadMnKeltner_dMultiplier',f.dMultiplier).replace('ahmadMnKeltner_nBandsAtrPeriod',f.lp) struc=struc.replace('ahmadstMnMaBarAge',f.timeframe).replace('ahmadMnKeltner_nMidLnMaPeriod',f.nMidLnMaPeriod).replace('ahmadMnKeltner_dMultiplier',f.dMultiplier).replace('ahmadMnKeltner_nBandsAtrPeriod',f.lp)
createConfigYashilADV('btc'+indicator+'&'+parseFloat(f.nMidLnMaPeriod)+'&'+parseFloat(f.dMultiplier)+'&'+f.lp,struc) createConfigYashilADV('btc'+indicator+'&'+parseFloat(f.nMidLnMaPeriod)+'&'+parseFloat(f.dMultiplier)+'&'+f.lp,struc)
com[i].lp='btc'+indicator+'&'+parseFloat(f.nMidLnMaPeriod)+'&'+parseFloat(f.dMultiplier)+'&'+f.lp com[i].config='btc'+indicator+'&'+parseFloat(f.nMidLnMaPeriod)+'&'+parseFloat(f.dMultiplier)+'&'+f.lp
} }
......
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