OPEN-SOURCE SCRIPT

Extension from 20 Period Simple Moving Average

Simple indicator to help show when stocks are over extended intraday. It's based on the distance between a stock and it's moving average. The thesis being that, the farther away a stock is from it's 20 period simple moving average, the move extended it is. I've found that when a stock is more than 2-3% extended from it's 5min 20 period moving average, it's typically getting over extended, and can be a great time to start considering a short.

I primarily use this indicator when shorting intraday parabolic moves, while the stock is still on the frontside of the move. Note that this works best when the indicator is showing overextended AND there's a volume spike/mountain matching the overextension. In the attached example, you can see that I overlay this indicator on top of the volume panel because it helps me better visualize when the stock is getting over extended on heavy/elevated volume.

Hope this helps; any feedback is appreciated!

P.S. This works best on a 5min chart, but I'm sure it could be helpful on other timeframes, but may need to tweak the default outer bounds percentage.
Parabolic Stop and Reverse (PSAR)Simple Moving Average (SMA)

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal