// This Strategy was Created by ©NoobSharks // if you use it and like it, send us some donation: BinancePay ID: 223731148 - Metamask: 0x82782b3ebD1d6bf7faa18a3943fA6f16EBBF3134 // (yes, I might be naive but I trully Believe you will support us) // For more information about this indicator check "https://www.youtube.com/c/NoobSharksLutanoMercadoCripto" and give us a hand following us on YouTube // Check also our website includeing strategies, free indicatores and technical analysis videos: https://www.noobsharks.com //@version=5 indicator(title="[NB] Indicator - Institutional Volume + RSI on Candles", shorttitle="[NB]IND.CandleInstVolume&RSI", overlay=true) // INSTITUTIONAL VOLUME ON CANDLES length = input.int(defval = 55, title="MA Volume Length", minval=2, group = "Institutional Volume") thresholdExtraHigh = input.float(defval = 4, title="Extra High Volume Threshold", group = "Institutional Volume") thresholdHigh = input.float(defval = 2.5, title="High Volume Threshold", group = "Institutional Volume") thresholdMedium = input.float(defval = 1, title="Medium Volume Threshold", group = "Institutional Volume") thresholdNormal = input.float(defval = -0.5, title="Normal Volume Threshold", group = "Institutional Volume") mean = ta.sma(volume, length) std = ta.stdev(volume, length) stdbar = (volume - mean) / std bcolor = stdbar > thresholdExtraHigh ? color.red : stdbar > thresholdHigh ? color.orange : stdbar > thresholdMedium ? color.yellow : stdbar > thresholdNormal ? color.white : color.blue barcolor(bcolor, title="Volume Threshold") // RSI - BAR SIGNAL AND BULL BEAR AREA src = close, len = input.int(defval = 14, minval=1, title="Length", group = "RSI on Candles") up = ta.rma(math.max(ta.change(src), 0), len) down = ta.rma(-math.min(ta.change(src), 0), len) rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down)) src1 = close, len1 = input.int(defval=70, minval=1, title="Overbought Limit", group = "RSI on Candles") src2 = close, len2 = input.int(defval=30, minval=1, title="Oversold Limit", group = "RSI on Candles") len3 = input.int(defval=50, minval=1, step=1, title="BullBear Limit", group = "RSI on Candles") sidewayFactor = input.int(defval = 5, minval = 0, maxval = 100, step = 1, title = "Sideways Factor %", group = "RSI on Candles") isup() => rsi > len1 isdown() => rsi < len2 isBull() => rsi > len3*(1+(sidewayFactor/100)) isBear() => rsi < len3*(1-(sidewayFactor/100)) isSideway() => rsi < len3*(1+(sidewayFactor/100)) and rsi > len3*(1-(sidewayFactor/100)) colorBars = input.bool(defval = true, title = "Bar Coloring?", group = "RSI on Candles") plotSignals = input.bool(defval = true, title = "Plot Signals?", group = "RSI on Candles") plotBullBear = input.bool(defval=true, title = "Plot BullBear Area", group = "RSI on Candles") plotshape(isup() and plotSignals, "RSI Overbought Signal", style = shape.triangledown, location = location.abovebar, color = color.red, editable = true, size = size.auto) plotshape(isdown() and plotSignals, "RSI Oversold Signal", style = shape.triangleup, location = location.belowbar, color = color.green, editable = true, size = size.auto) plotshape(isBear() and plotBullBear, "RSI on Bear Area", style = shape.diamond, location = location.top, color = color.orange, editable = true, size = size.tiny ) plotshape(isBull() and plotBullBear, "RSI on Bull Area", style = shape.diamond, location = location.top, color = color.blue, editable = true, size = size.tiny) plotshape(isSideway() and plotBullBear, "RSI on Sideway Area", style = shape.diamond, location = location.top, color = color.gray, editable = true, size = size.tiny)