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

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Хотите использовать этот скрипт на графике?


🔻My Website: hercules.money/
🔻Blog: hercules.money/blog/
🔻Telegram : t.me/hercules_trading
🔻Discord: discord.gg/hudcJvcCAq
Мои профили:

Отказ от ответственности