OPEN-SOURCE SCRIPT
已更新

Out of the Noise Intraday Strategy with VWAP [YuL]

961
This is my (naive) implementation of "Beat the Market An Effective Intraday Momentum Strategy for S&P500 ETF (SPY)" paper by Carlo Zarattini, Andrew Aziz, Andrea Barbon, so the credit goes to them.

It is supposed to run on SPY on 30-minute timeframe, there may be issues on other timeframes.
I've used settings that were used by the authors in the original paper to keep it close to the publication, but I understand that they are very aggressive and probably shouldn't be used like that.
Results are good, but not as good as they are stated in the paper (unsurprisingly?): returns are smaller and Sharpe is very low (which is actually weird given the returns and drawdown ratio), there are also margin calls if you enable margin check (and you should).

I have my own ideas of improvements which I will probably implement separately to keep this clean.
發行說明
2025-07-01: 1.01 - fixed moves calculation

My naive implementation was a bit too naive, after carefully checking my calculations I noticed a serious mistake in moves calculation. After fixing it, results are now much closer to the paper (although Sharpe is still too small than it looks it should be given the returns and the drawdown).

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。