PROTECTED SOURCE SCRIPT
已更新 MTF Custom Synthetic Index

MTF Custom Synthetic Index - Ultimate Index Creation Tool
🎯 What is this indicator?
The MTF Custom Synthetic Index is a powerful, fully customizable indicator that allows you to create your own synthetic index using up to 6 different instruments of your choice. Unlike traditional indices, this tool gives you complete control over instrument selection, weightings, and calculation methodology.
⭐ Key Features
🔧 Complete Customization
Choose ANY instruments: Forex pairs, stocks, commodities, indices, cryptocurrencies, bonds, etc.
Manual weight control: Set exact percentage weights for each instrument (must total 100%).
Flexible instrument direction: Ability to invert enabled instruments that move opposite to your desired index direction (i.e. you can use instruments that are negatively correlated).
📊 Multi-Timeframe Analysis
Simultaneous monitoring: View index strength across up to 3 additional timeframes.
Strength rating system: Automatic classification (Very Strong, Strong, Neutral, Weak, Very Weak).
Normalization options: Z-Score, Min-Max, or Percentage methods for timeframe comparison.
Visual summary table: Real-time strength ratings for all timeframes.
🎨 Professional Visualization
Clean chart display: Smooth index strength line with customizable styling.
Dynamic labelling: Real-time value display with strength ratings.
Color-coded indicators: Visual strength representation with intuitive colour schemes.
💡 Use Cases
🌍 Currency Strength Analysis
USD Index: Combine EURUSD (inverted), USDJPY, AUDUSD (inverted), etc.
EUR Index: Combine EURUSD, EURGBP, EURJPY, etc.
Multi-currency baskets: Track regional currency performance.
📈 Sector/Industry Tracking
Technology sector: Combine AAPL, MSFT, GOOGL with custom weights.
Energy sector: Combine oil, gas, and energy stocks.
Precious metals: Combine gold, silver, platinum with custom allocations.
🏛️ Macro Economic Indices
Interest rate sensitivity: Combine bonds, currency pairs, and rate-sensitive stocks.
Inflation hedges: Combine commodities, TIPS, and inflation-sensitive assets.
Risk appetite: Combine safe havens vs. risk assets.
💰 Portfolio Replication
Custom benchmarks: Create indices that match your specific portfolio allocation.
Strategy testing: Build theoretical indices to test investment strategies.
🔥 Key Benefits
✅ Precision Control
Exact weight specifications with mandatory 100% total.
Choose instruments that matter to your trading strategy.
Advanced ADX/DI calculation methodology with configurable parameters.
✅ Versatile Application
Works with any asset class available on TradingView.
Suitable for scalping, day trading, swing trading, and long-term analysis.
Perfect for both retail and institutional approaches.
✅ Multi-Timeframe Insights
Quickly and easily pot divergences between timeframes.
Confirm trends across multiple time horizons.
Make better-informed trading decisions.
⚙️ Technical Specifications
Calculation Method
Base algorithm: Advanced ADX (Average Directional Index) with Directional Indicators.
Bias calculation: Normalized or raw DI difference with ADX weighting.
Smoothing options: Configurable periods for DI calculation and ADX smoothing.
Validation & Safety
Weight validation: Must total exactly 100% - prevents calculation errors.
Data integrity: Handles missing data and invalid symbols gracefully.
Timeframe validation: Prevents duplicate or invalid timeframe selections.
🚀 Perfect For
Currency traders seeking custom dollar/euro/yen/etc strength indices.
Commodity traders seeking custom precious metal/energy/etc strength indices.
Portfolio managers needing custom benchmark creation.
Macro traders building economic strength indicators.
Systematic traders requiring precise, repeatable index calculations.
📋 Quick Start
Add the indicator to your chart
Configure instruments: Select your desired symbols and weights (must total 100%).
Set timeframes: Choose additional timeframes for multi-timeframe analysis.
Customize display: Adjust colors, labels, and table settings to your preference.
Start trading: Use the index strength readings to guide your trading decisions.
⚠️ Important Notes
Weights must total exactly 100%: The indicator will show an error if weights don't add up correctly.
Data requirements: All selected instruments must have available data for the calculation to work.
Timeframe selection: Multi-timeframe analysis requires different timeframes from your main/selected chart.
Transform your trading with the power of custom index creation. Take control of your analysis and build indices that truly matter to your trading strategy.
🎯 What is this indicator?
The MTF Custom Synthetic Index is a powerful, fully customizable indicator that allows you to create your own synthetic index using up to 6 different instruments of your choice. Unlike traditional indices, this tool gives you complete control over instrument selection, weightings, and calculation methodology.
⭐ Key Features
🔧 Complete Customization
Choose ANY instruments: Forex pairs, stocks, commodities, indices, cryptocurrencies, bonds, etc.
Manual weight control: Set exact percentage weights for each instrument (must total 100%).
Flexible instrument direction: Ability to invert enabled instruments that move opposite to your desired index direction (i.e. you can use instruments that are negatively correlated).
📊 Multi-Timeframe Analysis
Simultaneous monitoring: View index strength across up to 3 additional timeframes.
Strength rating system: Automatic classification (Very Strong, Strong, Neutral, Weak, Very Weak).
Normalization options: Z-Score, Min-Max, or Percentage methods for timeframe comparison.
Visual summary table: Real-time strength ratings for all timeframes.
🎨 Professional Visualization
Clean chart display: Smooth index strength line with customizable styling.
Dynamic labelling: Real-time value display with strength ratings.
Color-coded indicators: Visual strength representation with intuitive colour schemes.
💡 Use Cases
🌍 Currency Strength Analysis
USD Index: Combine EURUSD (inverted), USDJPY, AUDUSD (inverted), etc.
EUR Index: Combine EURUSD, EURGBP, EURJPY, etc.
Multi-currency baskets: Track regional currency performance.
📈 Sector/Industry Tracking
Technology sector: Combine AAPL, MSFT, GOOGL with custom weights.
Energy sector: Combine oil, gas, and energy stocks.
Precious metals: Combine gold, silver, platinum with custom allocations.
🏛️ Macro Economic Indices
Interest rate sensitivity: Combine bonds, currency pairs, and rate-sensitive stocks.
Inflation hedges: Combine commodities, TIPS, and inflation-sensitive assets.
Risk appetite: Combine safe havens vs. risk assets.
💰 Portfolio Replication
Custom benchmarks: Create indices that match your specific portfolio allocation.
Strategy testing: Build theoretical indices to test investment strategies.
🔥 Key Benefits
✅ Precision Control
Exact weight specifications with mandatory 100% total.
Choose instruments that matter to your trading strategy.
Advanced ADX/DI calculation methodology with configurable parameters.
✅ Versatile Application
Works with any asset class available on TradingView.
Suitable for scalping, day trading, swing trading, and long-term analysis.
Perfect for both retail and institutional approaches.
✅ Multi-Timeframe Insights
Quickly and easily pot divergences between timeframes.
Confirm trends across multiple time horizons.
Make better-informed trading decisions.
⚙️ Technical Specifications
Calculation Method
Base algorithm: Advanced ADX (Average Directional Index) with Directional Indicators.
Bias calculation: Normalized or raw DI difference with ADX weighting.
Smoothing options: Configurable periods for DI calculation and ADX smoothing.
Validation & Safety
Weight validation: Must total exactly 100% - prevents calculation errors.
Data integrity: Handles missing data and invalid symbols gracefully.
Timeframe validation: Prevents duplicate or invalid timeframe selections.
🚀 Perfect For
Currency traders seeking custom dollar/euro/yen/etc strength indices.
Commodity traders seeking custom precious metal/energy/etc strength indices.
Portfolio managers needing custom benchmark creation.
Macro traders building economic strength indicators.
Systematic traders requiring precise, repeatable index calculations.
📋 Quick Start
Add the indicator to your chart
Configure instruments: Select your desired symbols and weights (must total 100%).
Set timeframes: Choose additional timeframes for multi-timeframe analysis.
Customize display: Adjust colors, labels, and table settings to your preference.
Start trading: Use the index strength readings to guide your trading decisions.
⚠️ Important Notes
Weights must total exactly 100%: The indicator will show an error if weights don't add up correctly.
Data requirements: All selected instruments must have available data for the calculation to work.
Timeframe selection: Multi-timeframe analysis requires different timeframes from your main/selected chart.
Transform your trading with the power of custom index creation. Take control of your analysis and build indices that truly matter to your trading strategy.
發行說明
- Fixed a bug that was causing the index label for the current timeframe to retain historical versions of the label. Now only the current (most up-to-date) label is displayed.發行說明
Fixed a bug.受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。