OPEN-SOURCE SCRIPT

Market Monitor

Updated
Overview

The Market Monitor Indicator provides a customisable view of dynamic percentage changes across selected indices or sectors, calculated by comparing current and previous closing prices over the chosen timeframe.

Key Features
  • Choose up to 20 predefined indices or your own selected indices/stocks.
  • Use checkboxes to show or hide individual entries.
  • Monitor returns over daily, weekly, monthly, quarterly, half-yearly, or yearly timeframes
  • Sort by returns (descending) to quickly identify top-performing indices or alphabetically for an organised and systematic review.


snapshot

Customisation
  • Switch between Light Mode (Blue or Green themes) and Dark Mode for visual clarity.
  • Adjust the table’s size, position, and location.
  • Customise the table title to your own choice e.g. Sectoral, Broad, Portfolio etc.


Use Cases
  • Use multiple instances of the script with varying timeframes to study sectoral rotation and trends.
    snapshot
  • Customise the stocks to see your portfolio returns for the day or over the past week, or longer.
Release Notes
  • Option to give custom titles to chosen indices. Can be used when a spread of stocks is used to create a custom index.
  • Ascending sorting also added.
  • Alphabetical sorting disabled for custom titles.


snapshot
Release Notes
  • The script can now be shifted horizontally using a custom offfset value. This allows us more than 3 iterations of the table on one chart using multiple script instances.
  • Alphabetical sorting is now possible in custom names too.


snapshot
indexIndicesmarketoverviewmultitimeframePortfolio managementstatistics

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer