indicator · own pane · open source
Composite Buy Sell Score indicator
Composite Buy Sell Score is a free open-source indicator. Composite Buy/Sell Score — blends 5 weighted components: RSI position (25), MACD histogram… Deepwick Script runs a subset of Pine Script.
Running…
Loading chart…
What Composite Buy Sell Score does
Composite Buy/Sell Score — blends 5 weighted components: RSI position (25), MACD histogram sign (25), DMI bias (25), ADX trend strength (25), Stochastic position (25). Range -100 to +100.
- Above +50 = strong buy bias; below -50 = strong sell bias.
- Filter trades by requiring |score| > 25.
Source code
Deepwick Script, a subset of Pine Script · read-only
//@version=6
indicator("Composite Buy Sell Score", overlay=false)
colorLine = input.color("color.blue", "Color Line")
colorNeutral = input.color("color.gray", "Color Neutral")
rsi = ta.rsi(close, 14)
[m, s, h] = ta.macd(close, 12, 26, 9)
macdH = h
[plus, minus, adx] = ta.dmi(14, 14)
score = (rsi - 50) / 2 + (macdH > 0 ? 25 : -25) + (plus > minus ? 25 : -25) + (adx > 25 ? 25 : 0)
hline(50, "Strong buy", color=colorNeutral)
hline(-50, "Strong sell", color=colorNeutral)
p_Score = plot(score, "Score", color=colorLine, linewidth=2)
alertcondition(ta.crossover(score, 50), "Strong buy", "Composite score above +50")
alertcondition(ta.crossunder(score, -50), "Strong sell", "Composite score below -50")
No comments yet.
Sign in to comment.