OPEN-SOURCE SCRIPT

Swing Trading SPX Correlation

4 374
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 !

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.