OPEN-SOURCE SCRIPT

Long Only Moving Average Strategy with EMA/SMA/WMA

141
This script allows you to select the type of moving average (simple moving average SMA, exponential moving average EMA or weighted moving average WMA) and generates buy signals when the price closes above the moving average and closes the trade when the price closes below it. You can choose which length of moving average to use. It is designed to capture upward trending moves.

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.