40+ Coin Screener (workaround to 40 Security Limit Per Script)
Nov 22, 2021

The 40+ Coin Screener tool allows users to track price performance across 72 different margin coins on Kucoin by bypassing the standard script security limits through a batch-based selection system.
Usage
The Usage section describes how the script can be used to monitor market movements and identify potential leaders or laggards after a market event.
- Relative Strength Comparison: By setting a specific starting time, users can observe which assets recover fastest or hold gains better than others during a market "pump" or "dump."
- Batch Selection: Because of platform limits on concurrent security calls, the assets are split into three sets. To view all 72 coins, add the indicator to your chart multiple times, select a different set for each instance, and merge them into a single pane.
- Performance Tracking: The script calculates the percentage change from a user-defined anchor point, allowing you to filter out "fake" initial bounces and identify sustained momentum.
Details
The script uses a "batching" workaround to handle a large number of assets without hitting the 40-security limit per script execution. It utilizes the request.security function to fetch data for 24 coins per set.
The calculation logic identifies the low price at the user-specified dftStartTime and tracks the percentage change relative to that point. This specific implementation is optimized for Kucoin Margin pairs using the USDT base currency.
Settings
- Kucoin Margin set: Selects which group of 24 coins to display (Set 1, 2, or 3).
- Input Time/Date for Starting Price: Sets the anchor timestamp from which all percentage change calculations begin. This can be selected by clicking a point on the chart when adding the script.
- Hide all plot: A toggle to disable all visual plots. This is useful if you want to selectively enable only a few specific coins from the "Style" tab to reduce visual clutter.
FAQ
How do I access 40+ Coin Screener? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Why are the coins split into sets? TradingView scripts have a limit on how many external symbols they can request at once. Splitting them into sets of 24 ensures the script remains responsive and handles alerts efficiently.
Can I change the starting point of the calculation? Yes, you can modify the "Input Time/Date" in the settings or simply re-add the script to the chart and click on your desired starting candle.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.