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 de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?


🔻My Website: hercules.money/
🔻Blog: hercules.money/blog/
🔻Telegram : t.me/hercules_trading
🔻Discord: discord.gg/hudcJvcCAq
También en:

Exención de responsabilidad