Hey just made two scripts that can be used in the customized indicator thing on Binance.
Money Flow Index:
#@version = 1 study(title="MFI") length = input(14, type="int") src = (high + low + close)/3 upper = sum(volume * (change(src,1) <= 0 ? 0 : src), length) lower = sum(volume * (change(src,1) >= 0 ? 0 : src), length) mf = 100.0 - (100.0 / (1.0 + upper / lower)) plot(mf, "MF", color="green") p0 = plot(80, "Upper Band", color="#606060") p1 = plot(20, "Lower Band", color="#606060") fill(p0, p1, color=color("#9915FF",80), title="Background")
Exponential Bollinger Bands:
#@version = 1 study(title="Exponential Bollinger Bands",overlay=True) length = input(21, type="int") src = input(close, title="Source",type="source") mult = input(2.0, type="float", title="StdDev") basis = ema(src, length) evar = (src - basis)*(src - basis) evar2 = (sum(evar,length))/length std = sqrt(evar2) dev = mult * std upper = basis + dev lower = basis - dev plot(basis, "Basis", color="orange") p1 = plot(upper, "Upper", color="blue") p2 = plot(lower, "Lower", color="blue")
I just made it to work. Nothing pretty.
[link] [comments]
You can get bonuses upto $100 FREE BONUS when you:
π° Install these recommended apps:
π² SocialGood - 100% Crypto Back on Everyday Shopping
π² xPortal - The DeFi For The Next Billion
π² CryptoTab Browser - Lightweight, fast, and ready to mine!
π° Register on these recommended exchanges:
π‘ Binanceπ‘ Bitfinexπ‘ Bitmartπ‘ Bittrexπ‘ Bitget
π‘ CoinExπ‘ Crypto.comπ‘ Gate.ioπ‘ Huobiπ‘ Kucoin.
Comments