OPEN-SOURCE SCRIPT
Updated 20 Day Fade

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.
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.Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.