Stopping Volume Finder (Reversals)
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © Bcullen175

//@version=5
indicator("Stopping VOL. Module", overlay = true)

//This Indicator is designed to be used along side the Traders Reality indicator as well as RSI/TDI

// Works Best on 15 and 5 Minute Timeframes

//It highlights candles where there has been a stop hunt, this helps to indentify reversals with the use of divergence in for example RSI as well as using past price actions to identify points of intrest.

//Legend:

//Bullish Reversal:
//Green/Purple Arrow

//Bearish Reversal:
//Red/Blue Arrow

//Mixed Signal
//Either:
//Green & Blue Arrow
//Red & Purple Arrow
//> A stop hunt has happened both ways and will now likely move to the nearest pool of liquidity

// Stopping Volume Candles

// Bull SVCs
Bull_SVC1 = (open<close) and ((close-open)/(open-low)<0.30) and (volume>(ta.sma(volume,10)*1.49))
plotshape(Bull_SVC1, "SVC", shape.triangledown, location.abovebar, color.lime)

Bull_SVC2 = ((open<close) and (close-open)/(high-close)<0.30) and (volume>(ta.sma(volume,10)*1.49))
plotshape(Bull_SVC2, "SVC", shape.triangleup, location.belowbar, color.red)


// Bear SVCs
Bear_SVC1 = (open>close) and ((open-close)/(high-open)<0.30) and (volume>(ta.sma(volume,10)*1.49))
plotshape(Bear_SVC1, "SVC", shape.triangleup, location.belowbar, color.red)

Bear_SVC2 = (open>close) and ((open-close)/(close-low)<0.30) and (volume>(ta.sma(volume,10)*1.49))
plotshape(Bear_SVC2, "SVC", shape.triangledown, location.abovebar, color.lime)


