OPEN-SOURCE SCRIPT

Price Spread Indicator v2

Updated
Version 2 of this script. Looks at the spread of current price to two prior MA's. Defaults to 200 and 90 however 20 and 58 provide some nice results. A -1.3% spread ratio is used to trigger alerts ie -1.3% spread on 200 and 90. This has been derived from backtesting what optimised P&L.
Ideal for investors rather than traders. Out performs simple buy and hold by 5-6 times.
Release Notes
Updated version of script with additional checks expanded to 18 day and 60 day MA look backs
multitimeframePortfolio management

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