////////////////////////////////////////////////// nguontinhieu = input.string('RSI tăng động', 'Nguồn tín hiệu', options=['RSI tăng động', 'RSI bình tĩnh'], group = group_tinhieu)
float rsix = switch nguontinhieu 'RSI tăng động' => ta.rsi(rsic, lenrsi) 'RSI bình tĩnh' => ta.linreg(rsic2, smooth, 0)
/////////////////////////////////////////////////////////////////// overboughtlevel = input.int(75 ,title='Ngưỡng quá mua', group = group_tinhieu) oversoldlevel = input.int(25 ,title='Ngưỡng quá bán', group = group_tinhieu) heso = input.int(3, title = 'Độ chính xác', group = group_tinhieu) upBar = close > open downBar = close < open threeUpBars = math.sum(upBar ? 1 : 0, heso) == heso threeDownBars = math.sum(downBar ? 1 : 0, heso) == heso overbought = rsix > overboughtlevel and threeUpBars oversold = rsix < oversoldlevel and threeDownBars
// TABLE AND CELLS CONFIG // Post Timeframe in format KhungTxt(x)=> out = x if not str.contains(x, "S") and not str.contains(x, "M") and not str.contains(x, "W") and not str.contains(x, "D") if str.tonumber(x)%60 == 0 out := str.tostring(str.tonumber(x)/60)+"H" else out := x + "m" out
if barstate.islast // table.clear(tbl, 0, 0, 2, 7)
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.