OPEN-SOURCE SCRIPT

Multi-Signal the Flasher

121
Title: Multi-Signal Flasher - External Signal Alert System
Short Description: Visual screen flash alerts triggered by external indicator signals. Supports 4 signal sources with separate Long/Short flash colors.

Description:

This indicator provides a powerful visual alert system that flashes your entire chart when external indicator signals fire. Perfect for traders who need unmissable alerts when their custom signals trigger.
Features

4 External Signal Sources - Connect up to 4 different indicators
Long/Short Classification - Assign each signal as Long or Short for different colored flashes
OR Logic - Any enabled signal firing triggers the flash
Customizable Flash Colors - Separate color schemes for Long and Short signals
Adjustable Cycles - Control how many times the colors alternate
On-Screen Message - Displays "LONG SIGNAL!" or "SHORT SIGNAL!" during flash

How It Works
The indicator monitors your selected external signal sources. The trigger fires when a signal transitions from no value to a value >= 1, the chart flashes with alternating colors to grab your attention.

Signals set to Long → Flash with Long colors (default: green/purple)
Signals set to Short → Flash with Short colors (default: red/yellow)

Setup

Add your signal indicators to the chart first
Add this indicator
In settings, enable Signal 1-4 as needed
Select each signal's plot from the dropdown
Set each signal as Long or Short
Check "Enable the Flasher" to arm the system
Customize colors and messages to your preference

Important Notes

⚠️ Seizure Warning - This indicator flashes colors rapidly. User discretion is advised for those with photosensitive epilepsy.
Flashes only occur in real-time - historical bars will not trigger flashes
The trigger fires when a signal transitions from no value to a value >= 1. not while signal persists
Color cycling depends on feed updates

Use Cases

Multi-indicator confluence alerts
Separate long/short signal systems
High-visibility scalping alerts
Any system where missing a signal is costly


Credits:
Original "the Flasher" code by allanster

Core flash function and table-based color cycling system

Modified by m4ybee

Multi-signal source support (4 inputs)
External indicator integration via input.source()
Long/Short signal classification
OR logic signal combining
Separate color schemes for Long/Short

免責事項

この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。