OPEN-SOURCE SCRIPT

Swing Trading SPX Correlation

This is a long timeframe script designed to benefit from the correlation with the Percentage of stocks Above 200 moving average from SPX

At the same time with this percentage we are creating a weighted moving average to smooth its accuracy.

The rules are simple :
If the moving average is increasing its a long signal/short exit
If the moving average is decreased its a short signal/long exit.


Curently the strategy has been adapted for long only entries.


If you have any questions let me know !
correlationSPX (S&P 500 Index)S&P 500 (SPX500)SPDR S&P 500 ETF (SPY) StocksTrend AnalysisVolume Weighted Moving Average (VWMA)

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?


🔻My Website: hercules.money/
🔻Blog: hercules.money/blog/
🔻Telegram : t.me/hercules_trading
🔻Discord: discord.gg/hudcJvcCAq
Also on:

Disclaimer