OPEN-SOURCE SCRIPT

REM Algo - Earnings Alerts

82
Not everyone wants to hold positions through earnings announcements — and if you’re evaluating a strategy, earnings-related gaps can distort performance metrics and make results harder to interpret.

This script helps you manage earnings risk by triggering alerts during an Earnings Blackout window. You can:

  • get an alert to close positions the day before earnings, and/or
  • receive a reminder not to open new positions on blackout days prior to the earnings announcement.


Add alerts to the stocks you trade. When a blackout day occurs, the script triggers at the hour and minute you choose in the settings. The Earnings Blackout period covers the day before and the day of the earnings announcement, adjusted for weekends and market holidays.

Use it as a standalone risk-control tool — or alongside your existing strategy — so earnings gaps don’t interfere with your trading rules or your backtest results.

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.