From 018a241638960bc9603ad2921441399f4f56e891 Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Sun, 1 Sep 2024 23:52:06 +0200 Subject: [PATCH] bugfixing --- src/routes/stock-screener/[strategyId]/+page.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/stock-screener/[strategyId]/+page.svelte b/src/routes/stock-screener/[strategyId]/+page.svelte index 7292efc8..ac9893df 100644 --- a/src/routes/stock-screener/[strategyId]/+page.svelte +++ b/src/routes/stock-screener/[strategyId]/+page.svelte @@ -135,8 +135,8 @@ const getStockScreenerData = async (rules) => { { rule: 'rsi', label: 'RSI', step: [90,80,70,60,50,40,30,20], unit: '', category: 'ta' }, { rule: 'stochRSI', label: 'Stoch RSI Fast', step: [90,80,70,60,50,40,30,20], unit: '', category: 'ta' }, { rule: 'mfi', label: 'MFI', step: [90,80,70,60,50,40,30,20], unit: '', category: 'ta' }, - { rule: 'cci', label: 'CCI', max: "300", min:"-300", step:"10",unit: '', category: 'ta' }, - { rule: 'atr', label: 'ATR', max: "20", min:"0", step:"0.5",unit: '', category: 'ta' }, + { rule: 'cci', label: 'CCI', step: [250,200,100,50,20,0,-20,-50,-100,-200,-250], unit: '', category: 'ta' }, + { rule: 'atr', label: 'ATR', step: [20,15,10,5,3,1],unit: '', category: 'ta' }, { rule: 'sma50', label: 'SMA-50', step: [500,250,100,50,10,1], unit: '',category: 'ta' }, { rule: 'sma200', label: 'SMA-200', step: [500,250,100,50,10,1], unit: '',category: 'ta' }, { rule: 'ema50', label: 'EMA-50', step: [500,250,100,50,10,1], unit: '',category: 'ta' },