indicator · on price · open source
Smart Money Composite indicator
Smart Money Composite is a free open-source indicator by @deepwick. Smart Money Composite — colours each bar based on whether it broke the most recent… Deepwick Script runs a subset of Pine Script.
Running…
Loading chart…
What Smart Money Composite does
Smart Money Composite — colours each bar based on whether it broke the most recent confirmed swing high (BOS up = green) or swing low (BOS down = red). The prior swing levels are plotted so structure is visible.
- BOS + retest = high-quality entry.
- Two BOS in the same direction = trending day.
Source code
Deepwick Script, a subset of Pine Script · read-only
//@version=6
indicator("Smart Money Composite", overlay=true)
colorUp = input.color("color.green", "Color Up")
colorDown = input.color("color.red", "Color Down")
ph = ta.pivothigh(high, 5, 5)
pl = ta.pivotlow(low, 5, 5)
priorH = ta.valuewhen(not na(ph), high[5], 0)
priorL = ta.valuewhen(not na(pl), low[5], 0)
bosUp = close > priorH
bosDn = close < priorL
p_Prior_High = plot(priorH, "Prior High", color=colorUp, style=plot.style_linebr)
p_Prior_Low = plot(priorL, "Prior Low", color=colorDown, style=plot.style_linebr)
alertcondition(bosUp and not bosUp[1], "BOS up", "Smart money break of structure to the upside")
alertcondition(bosDn and not bosDn[1], "BOS down", "Smart money break of structure to the downside")
No comments yet.
Sign in to comment.