OPEN-SOURCE SCRIPT

Proxy Index [MTF] [Open]

481
Description
The Proxy Index [MTF] [Open] is an advanced Intermarket Data Analysis tool that allows traders to create synthetic assets or custom indices using mathematical formulas.

By releasing this script as Open-Source, developers can study how to effectively use request.security to pull OHLC (Open, High, Low, Close) data from multiple different tickers simultaneously and compile them into a single, cohesive custom candlestick chart.

Underlying Concepts & Methodology
The script acts as a mathematical compiler for price feeds.

Data Acquisition: It retrieves the exact price data from up to 4 user-defined assets (A, B, C, and D).

Algebraic Engine: It applies a selected mathematical formula (e.g., Asset A * Asset B / Asset C) to every individual Open, High, Low, and Close point.

Visualization: The resulting data is plotted either as a traditional synthetic Candlestick chart or a continuous Line chart, allowing traders to perform technical analysis on a non-existent, composite asset.

Key Features

Custom Synthetic Formulas: Choose between multiple algebraic structures (multiplication and division) mixing up to 4 different tickers.

Multi-Timeframe (MTF): Analyze the synthetic index on a higher timeframe without leaving your current chart.

Built-in Smoothing: Includes an integrated Moving Average (SMA or EMA) calculated directly over the synthetic proxy data to help identify macro trends.

How to Use

Macro Spreads: Create yield spreads (e.g., US10Y - US02Y equivalents) or commodity ratios (e.g., Gold/Silver ratio) to gauge market risk sentiment.

Custom Indices: Create your own weighted currency indices if the standard DXY or EXY doesn't fit your institutional view.

[English Translation of User Interface]

To comply with House Rules regarding non-English UI, here is the translation of the script's settings menu:

1. Construção do Proxy (Proxy Construction)

Fórmula do Proxy = Formula Structure (A*B, A/B, etc.)

Ativo A / B / C / D = Asset A / B / C / D Ticker Input

2. Tempo Gráfico (MTF Timeframe)

Usar Tempo Gráfico Personalizado = Use Custom Timeframe

Tempo Gráfico = Select Timeframe

3. Exibição (Display Options)

Modo de Exibição = Display Mode (Velas/Candles vs. Linha/Line)

Cor Alta / Baixa / Pavio = Bull / Bear / Wick Colors

Cor da Linha / Espessura = Line Color / Width

Mostrar Linha Zero = Show Zero Line

4. Média Móvel do Proxy (Proxy Moving Average)

Mostrar Média Móvel = Show Moving Average

Tipo de MA = MA Type (SMA / EMA)

Comprimento / Cor / Espessura = Length / Color / Width

[Português]

Descrição
O Proxy Index [MTF] agora é Open-Source! Esta é uma ferramenta de Análise Intermercado e de Dados que permite criar "Ativos Sintéticos". Com ele, você pode misturar até 4 ativos diferentes usando fórmulas matemáticas para gerar um gráfico de velas totalmente customizado.

Funcionalidades

Fórmulas Matemáticas: Crie índices multiplicando ou dividindo ativos (ex: Ouro dividido por Prata, ou um Índice Dólar customizado).

Velas Sintéticas: Transforma o resultado da equação matemática em um gráfico de velas real (OHLC) ou linha contínua.

Média Móvel Integrada: Analise a tendência do seu ativo sintético com uma SMA ou EMA embutida.

Código Aberto: Excelente base de estudo para manipulação de arrays e requisições de múltiplos ativos simultâneos.

Pernyataan Penyangkalan

Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.