OPEN-SOURCE SCRIPT
Mis à jour

Multi-Trend

5 518
Multi-Trend is an indicator that simplifies the task of tracking market trends across up to 10 custom timeframes. With the flexibility to select your preferred timeframes, with current or any specific data in past, this indicator offers a clear visual representation of the market's direction.

For each chosen timeframe and history, Multi-Trend provides a straightforward arrow-based signal system: an upward arrow signifies a rising market, a downward arrow indicates a falling market, and a right arrow denotes a market at equilibrium. These default symbols can be effortlessly personalized to your choice of symbols or text, allowing you to tailor the indicator to your specific needs.

The trend direction is calculated using a reliable methodology based on the percentage change in the close price for the selected timeframe.
Notes de version
Updated: the missing 'Past' keyword for historical data.
Notes de version
Removed: code cleanup.
Notes de version
Added: Now, users have the flexibility to choose between using the opening price or the previous close to calculate market trends.
Notes de version
Added: Introducing a new feature - Volume trends.
Now, you have the option to display volume trends, providing additional insights into market dynamics. Explore and analyze trading volumes effortlessly with this latest enhancement.
Notes de version
Versions updated for imported libraries.
Notes de version
Version Update: Migrated from Pine Script v5 → v6

✨ New Features

Expanded Source Tracking – Users can now track all standard data sources:
Open, High, Low, Close, Volume
Customizable Percent Change Options:
  • Open: Open vs Previous Open || Open vs Previous Close
  • High: High vs Previous High || High vs Previous Close || High vs Current Open
  • Low: Low vs Previous Low || Low vs Previous Close || Low vs Current Open
  • Close: Close vs Previous Close || Close vs Current Open
  • Volume: Volume vs Previous Volume

Heatmap Coloring – Visualize strength of movements with depth-based color gradients.
Tooltips with Advanced Insights – Hovering over a cell shows detailed calculations and data context.



🎨 Customization

Fully redesigned interface with flexible controls:
  • Adjust data sources, and calculation modes
  • Personalize colors, layout, and overall look & feel

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.