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.

Want to use this script on a chart?
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)


one of the best indicators i have ever seen the important part is its very easy to analyze stuff thank a ton may the almighty give you more and may you always be happy & prosper ..regards from india
This is great, thank you. If I see the blue line spiking upwards a few times, and the red line slight spiking upwards along with the blue line, it's a good indication of where the market is trending towards. Lots of spikes up (with red line also slightly up), and it's bullish. Lots of spikes up (with the red line slightly spiking downwards), and it's bearish.

The only thing to really watch is the level of zoom you have on your chart, as that will point out spikes more so at certain zoom levels, while if you are zoomed out too far, you might not visually be able to really see the spikes.
Hem Aktie-screener Forex-screener Krypto-screener Ekonomisk kalender Om Diagramfunktioner Priser Tipsa en vän Ordningsregler Hjälpcenter Webbsidor och mäklarlösningar Widgets Diagramlösningar Lightweight Charting Library Blogg och nyheter Twitter