BTC Composite Man V.1
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © MJShahsavar

//@version=5
indicator("BTC Composite Man")
R = input.symbol("BTC_RECEIVINGADDRESSES", "Symbol")
r = request.security(R, 'D', close)
S=input.symbol("BTC_SENDINGADDRESSES", "Symbol")
s = request.security(S, 'D', close)
C = r/s
M= ta.alma(C, 21, 6, 0.85)
M100=ta.sma(C, 100)
MM=ta.alma(M, 100, 6, 0.85)
plot (M, color = M >= M100 ? color.fuchsia : color.blue, linewidth=1)
plot (M100, color = M >= M100 ? color.red : color.green, linewidth=3)