OPEN-SOURCE SCRIPT
Updated

End Point Moving Average [EPMA]

3234
The End Point Moving Average was introduced in the October 95 issue of Technical Analysis of Stocks &
Commodities in the article "The End Point Moving Average", by Patrick E. Lafferty.

The Time Series Forecast takes this value and the slope of the regression line to forecast the next day and then plots this forecasted price as today's value.

For interpretation refer to Mr. Lafferty's article.

Please note
From line 10 starts my personal experemental modifications to this script, all above is original formula by Patrick E. Lafferty.
Release Notes
Update 1.0
[*1] - Added ability to use high/low sources in one indicator (will be useful for non paid members with limit indicator count)
[*2] - Code refactoring

https://www.tradingview.com/x/b9yAzIhG/

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.