OPEN-SOURCE SCRIPT
Atualizado

Moving Average Cross Strategy

10 558
Simply choose your moving averages and backtest shorting and longing the crossing of these MA's. Meant for dialing in MA crosses as part of a trading setup and not reason enough to take the trade. First script, work in progress.
Notas de Lançamento
Thanks to allanster for the Date Range code:
How To Set Backtest Date Range

Added input settings to change the chart time period / the number of days being backtested
Notas de Lançamento
*big fix

Aviso legal

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.