OPEN-SOURCE SCRIPT

Pullback Warning

The Pullback Warning indicator is a simple indicator that highlights the potential for a market pullback, by measuring distances between certain key moving averages.

John Pocorobba recently shared in his general market updates, research showing that when the distance between the closing price and the 9 day exponential moving average is greater than the distance between the 9 day exponential moving average and the 20 day exponential moving average a pullback is likely.

While this condition occurs frequently, I added sensitivity options to try and filter out the noise. The sensitivity is based on the closing price’s extension from the 50 day simple moving average. Depending on your level of sensitivity, only signals that occur when price is extended either 5, 6, or 7 percent away from the 50 sma will be plotted.

Choose how to see the signal:
  • Highlight Background
  • Plot a symbol at desired location


Note this signal works best on indexes, not individual securities.
correctionmardermarketpullbackMoving AveragespocorobbaPortfolio managementpullbackVolatility

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Trusted Pine programmer. Send me a message for script development.
Also on:

Disclaimer