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)

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明