MichaelWithersOne

Seismic Market Spike Detector v1.0

Seismic Market Spike Detector v1.0

This indicator helps identify spikes in market activity , typified by bars with extreme open / close or high / low prices.

This indicator plots 2 lines. The Blue line simply depicts extreme price movements with in that bar regardless of the initial opening price of the closing price of the bar. This allows you to get an insight into the current volatility of the price at that time in the market. Quite often big price swings with in bars are missed as people pend to tunnel vision on the open or close price - or other indicators derived from open / close.

The Red line is similar to the blue bar as it depicts extreme price movements with in the bar , but it will show the direction the market moved in by the close of the bar - and relatively how much the market moved. This is helpful for spotting breakout price action or short term spikes. Quite often after a breakout the market will restore itself to an equilibrium in the opposite direction. Sometimes this happens with an opposing aggressive spike , some times it makes a steady return to a known price level. Either way its a great time to place entry orders if you are looking to turn a fast profit or alternatively a good warning of forth coming price volatility .


Here are some tips for analysing the red and blue lines :

1)If the red line is pointing upwards , this indicates a sharp rise in the price.
2)If the red line is pointing downwards , this indicates a sharp fall in the price.
3)If the red line is flat but the blue line is spiked in either direction - this indicates the price was volatile with in the bar , but the price closed relatively near to the surrounding price bars. Perhaps a limit / stop triggered by this kind of activity - this is an easy way to determine why and re-enter.
4)If the red and the blue lines are flat - the price is steadily moving with a trend or trading sideways in a confined range.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?
//@version=2
study("Market Spike Detector", overlay=false)
//

//srcl = input(low, title="Blue Spike Start", type=source)
//srch = input(high, title="Blue Spike End", type=source)


sl252 = ema(open,1)
sh252 = ema(close,1)

sl25 = ema(low,1)
sh25 = ema(high,1)

volllPlot = ( ((sh25 - sl25) * 1000) * ((sh25 - sl25) * 1000) * ((sh25 - sl25) * 1000))  
volllPlot2 = ( ((sh252 - sl252) * 1000) * ((sh252 - sl252) * 1000) * ((sh252 - sl252) * 1000))  

plot(volllPlot,"Market Spike / Volatility" , blue , 4)
plot(volllPlot2,"Price Spike Resting Direction" , red , 4)