OPEN-SOURCE SCRIPT
Relative Performance Binary Filter

Description:
This indicator monitors the relative performance of 30 selected crypto assets and generates a binary signal for each: 1 if the asset’s price has increased above a user-defined threshold over a specified lookback period, 0 otherwise. The script produces a JSON-formatted output suitable for webhooks, allowing you to send the signals to external applications like Google Sheets.
Key Features:
Configurable lookback period, price source, and performance threshold.
Supports confirmed or real-time bar data.
Monitors 30 crypto assets simultaneously.
Produces a one-line JSON output with batch grouping for easy webhook integration.
Includes an optional visual sum plot showing how many assets are above the threshold at any time.
Use Cases:
Automate performance tracking across multiple crypto assets.
Feed binary signals into external dashboards, trading bots, or Google Sheets.
Quickly identify which assets are outperforming a set threshold.
This indicator monitors the relative performance of 30 selected crypto assets and generates a binary signal for each: 1 if the asset’s price has increased above a user-defined threshold over a specified lookback period, 0 otherwise. The script produces a JSON-formatted output suitable for webhooks, allowing you to send the signals to external applications like Google Sheets.
Key Features:
Configurable lookback period, price source, and performance threshold.
Supports confirmed or real-time bar data.
Monitors 30 crypto assets simultaneously.
Produces a one-line JSON output with batch grouping for easy webhook integration.
Includes an optional visual sum plot showing how many assets are above the threshold at any time.
Use Cases:
Automate performance tracking across multiple crypto assets.
Feed binary signals into external dashboards, trading bots, or Google Sheets.
Quickly identify which assets are outperforming a set threshold.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.