Issue with alert on a custom script

Some indicators and strategies can potentially get repainted, and if your alert is set on such a script, alert behavior and chart behavior may differ. Scripts that are prone to repainting may show different results when using historical and real-time data. This discrepancy can be observed when adding a script to the chart: wait until the script compiles and calculates on real-time data and refresh the page afterwards.

Repainting can be caused by a number of reasons. At the moment, there is no workaround for this behavior. Because of this, we strongly recommend not to set alerts on scripts that are prone to repainting.

Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out