OPEN-SOURCE SCRIPT

Stock Gaps SPY Correlation Strategy

This is daytrade stock strategy, designed to take the best out of the daily gaps that are forming between the close of previous day and opening of present day.

At the same time its logic has been adapted for SPY chart, in order to use correlation with the other stocks/assets/ etf which are linked with SP500 movement.

Lastly it has been added 2 new confirmation logics, based on the USI: advance/decline chart and percentage above vwap among all US stocks.


The rules for entry are simple :

We are at the opening daily candle, we have a long/short gap based on where the opening is happening and at the same time we are checking to see that the current different between the current difference between low and previous high (or viceversa) is higher than an established parameter(minimal deviation )

For exit, we exit based on time/clock parameter, in this case by default I selected 1h and half before close of the US session.

For testing purposes I have used 10% of the available capital, with a 0.0035$ comission per each share bought ( IBKR comissions)



If there are any questions, please let me know either here or in private !
botdaytradeLONGnasdaqshortSPX (S&P 500 Index)S&P 500 (SPX500)SPDR S&P 500 ETF (SPY) statisticsStocksTrend Analysis

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?


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

Penafian