OPEN-SOURCE SCRIPT

20 Day Fade

Updated
20 Day Fade from MarketGeeks, I like the idea!.

This indicator only looks at daily bars, regardless of what timeframe you are using.

We look for a new 20 day low that closes within the 25th percentile of it's daily range.
We also want our security to be in an uptrend.
Finally we are looking for the next day closing price (or current price) to be atleast 2% above the previous days (20 day low) high.

Once all these conditions are satisfied it produces the text bubble letting you know that it is prime to buy.

The next version I will update with short options as well.
One day I may convert this into a strategy, but probably not. If you want to, please feel free to. All I ask is that you give credit for the base code, as I have done for the idea behind this indicator.
Release Notes
Added an input to allow you to change the length of SMA used to determine trend. Default is 90.
fadetradeswingtrading

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?

Disclaimer