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

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?


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

Clause de non-responsabilité