indicator · on price · open source
Outside Bar indicator
Outside Bar is a free open-source indicator by @deepwick. Outside bar — colours every bar whose range engulfs the previous bar's range. Deepwick Script runs a subset of Pine Script.
Running…
Loading chart…
What Outside Bar does
Outside bar — colours every bar whose range engulfs the previous bar's range. These are momentum / engulfing candles by definition and often mark a swing high or low.
- Two consecutive outside bars in the same direction = momentum expansion.
- Use the bar colour (purple) together with direction to read intent.
Source code
Deepwick Script, a subset of Pine Script · read-only
//@version=6
indicator("Outside Bar", overlay=true)
outside = high > high[1] and low < low[1]
alertcondition(outside and close > open, "Bullish outside", "Bullish outside bar printed")
alertcondition(outside and close < open, "Bearish outside", "Bearish outside bar printed")
No comments yet.
Sign in to comment.