OPEN-SOURCE SCRIPT

MA Dist% Screener [Pineify]

94
MA Distance Screener: Multi-Asset Market Scanner for TradingView

Screen multiple symbols and multiple timeframes on TradingView with the MA Distance Screener. Compare asset prices to flexible moving average types. Visual table view, custom assets, timeframes, and MA types. Supercharge your TradingView screener, optimize your workflow, and catch opportunities across assets in real time.

Key Features
  • Screen up to 10 custom symbols simultaneously across four configurable timeframes.
  • Choose from multiple Moving Average types: EMA, SMA, WMA, HMA, RMA, VWMA for flexible market context.
  • Visualize real-time % distance between price and moving average per asset/timeframe in a clean, color-coded table.
  • Highly customizable: Set your own symbol list, timeframes, MA length and type.
  • Alerts for symbol/MA deviations—instantly see overbought/oversold status with intuitive background coloring.
  • Optimized for crypto, FX, and traditional assets – all asset types supported.


How It Works
The MA Distance Screener acts as a dynamic multi-symbol, multi-timeframe scanner. For each selected symbol and timeframe, it calculates the percentage distance between the latest close price and the selected type of moving average (EMA/SMA/etc.). This is achieved by making secure `request.security` calls per asset/timeframe combination, retrieving updated values for each matrix cell. The computed distance (%) is displayed in a color-coded table: a positive value signals price above the MA (potential trend strength), while negatives indicate price below the MA (potential weakness or retracement). Custom colors highlight extreme overbought/oversold readings for quick visual cues.

Trading Ideas and Insights
  • Quickly spot assets showing the largest deviation from their moving averages – ideal for mean reversion or trend-following entries.
  • Identify clusters of assets and timeframes lining up in overbought or oversold states; optimize entries with multi-timeframe confirmation.
  • Scan the market in one glance—reduce chart-hopping and never miss an opportunity when multiple assets align for signals.

The ability to scan distance-to-MA across assets and periods gives traders a statistical edge, surfacing hidden pivots, breakouts, and mean-reversion trades that single-chart analysis may miss.


How Multiple Indicators Work Together
At its core, this screener allows the trader to configure what gets scanned—pick your top 10 assets and favorite 4 timeframes. With each matrix cell, the selected MA (e.g., 14-period EMA) is recalculated, and the current price's distance (%) from that value is computed. By offering six distinct moving average algorithms (EMA, SMA, RMA, HMA, WMA, VWMA), traders can choose their preferred method, adapting the screener for trend, swing, or mean-reversion style. All values are visualized in a single table, creating a true "market dashboard" effect for real-time cross-asset assessment.

Unique Aspects
  • True cross-asset, cross-timeframe screening in a unified table—rare for Pine Script indicators.
  • Full flexibility—customizable list of assets, timeframes, and MA parameters to suit any market/trading plan.
  • Intuitive color-coding and table display eliminates guesswork, enabling “at-a-glance” screening and rapid decision-making.
  • Efficient, optimized Pine v6 codebase—minimal lag even with 40+ concurrent streams.


How to Use
  1. Add the indicator to your TradingView chart (overlay: off, use a clean chart).
  2. In the settings panel, enter up to 10 symbols (tickers) you want to screen—crypto, stocks, FX, or indices.
  3. Set the 4 timeframes to scan (e.g., 1m, 5m, 15m, 1h), plus your preferred moving average length and type.
  4. Review the results in the pop-up table, where each cell shows "% Distance" from MA for each symbol/timeframe.
  5. Monitor table background/text color for overbought vs. oversold cues.


Customization
  • Symbol List: Track any asset by typing its TradingView ticker.
  • Timeframes: Full freedom to select 4 timeframes per scan, from 1min to monthly.
  • MA Config: Choose period length and MA algorithm (classic or exotic types).
  • Color Themes: Easily spot signals with dynamic color backgrounds and customizable thresholds.


Conclusion
The MA Distance Screener is a must-have tool for systematic traders, portfolio managers, and retail chartists seeking a true multi-asset edge. With real-time cross-checking against multiple moving averages and timeframes, it empowers faster, more confident decision-making, while reducing chart fatigue and missed setups.
Unlock new insights, catch broad and hidden opportunities, and optimize your market workflow—all in a single TradingView panel.

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。