OPEN-SOURCE SCRIPT

Triple SRSI-MFI Ⅲ - Multi Timeframe

267
Triple SRSI-MFI Ⅲ - Multi Timeframe Indicator
Description
The Triple SRSI-MFI Ⅲ - Multi Timeframe indicator is a powerful tool designed to combine Stochastic RSI (SRSI) and Money Flow Index (MFI) across multiple timeframes (higher, current, and lower). It provides a comprehensive view of market momentum and potential overbought/oversold conditions by calculating a weighted hybrid of SRSI-MFI values from three different timeframes. The indicator also integrates Bollinger Bands to help identify trend direction and volatility.

This indicator is ideal for traders who want to analyze market conditions across multiple timeframes without switching charts. It automatically adjusts settings based on the current timeframe and includes a dynamic weighting system optimized for Bitcoin volatility. Additionally, a real-time information panel displays the market state (buy/sell) and signal strength.

Key Features
Multi-Timeframe Analysis: Combines SRSI-MFI from higher, current, and lower timeframes for a holistic view.
Dynamic Weighting: Automatically adjusts weights for each timeframe based on Bitcoin volatility, with an option for manual customization.
Bollinger Bands Integration: Visualizes trend direction and volatility using Bollinger Bands, with customizable source selection.
Real-Time Info Panel: Displays market state (buy/sell) and signal strength (%) in the top-right corner of the chart.
Customizable Settings: Allows users to tweak MFI source, Bollinger Bands parameters, and visibility of individual components.
How to Use
Add to Chart: Add the "Triple SRSI-MFI Ⅲ - Multi Timeframe" indicator to your chart.
Interpret Signals:
Market State (Buy/Sell): Shown in the info panel. "Buy" when the average SRSI-MFI is above the Bollinger Bands basis, "Sell" when below.
Strength (%): The relative position of the average SRSI-MFI within the Bollinger Bands, scaled from 0% to 100%.
Overbought/Oversold Levels: The indicator plots horizontal lines at 80 (overbought) and 20 (oversold). Use these as potential reversal zones.
Combine with Price Action: Use the indicator in conjunction with price action or other tools for better decision-making.
Adjust Settings: Customize the settings (e.g., Bollinger Bands length, weights, visibility) to match your trading style.
Settings
MFI Source: Select the source for MFI calculation (default: "hlc3"). Options include "close", "open", "high", "low", "hl2", "hlc3", "ohlc4".
Bollinger Bands:
Length: Period for Bollinger Bands calculation (default: 20).
Multiplier: Standard deviation multiplier for the bands (default: 2.0).
Source: Choose which SRSI-MFI value to use for Bollinger Bands ("averageHybrid", "hybrid_higher", "hybrid_current", "hybrid_lower"; default: "hybrid_higher").
Weights:
Auto Weight Enabled: Enable/disable automatic weights based on Bitcoin volatility (default: true).
Higher/Current/Lower Weights: Manually set weights for each timeframe if auto-weight is disabled (defaults: 1.5, 1.0, 0.5).
Indicator On/Off:
Toggle visibility for Higher SRSI-MFI, Current SRSI-MFI, Lower SRSI-MFI, Average SRSI-MFI, and Bollinger Bands.
How It Works
SRSI-MFI Calculation:
Stochastic RSI (SRSI) and Money Flow Index (MFI) are calculated for three timeframes: higher, current, and lower.
The hybrid value (SRSI * (MFI / 100)) is computed for each timeframe.
Weighted Average:
The hybrid values are combined into a weighted average (averageHybrid) using dynamic or manual weights.
Bollinger Bands:
Bollinger Bands are applied to the selected source (e.g., hybrid_higher) to identify trend direction and volatility.
Relative Position:
The position of averageHybrid within the Bollinger Bands is scaled to a percentage (0% to 100%) for strength assessment.
Visualization:
Plots individual SRSI-MFI lines, Bollinger Bands, and overbought/oversold levels.
A real-time info panel provides market state and signal strength.
Notes
This indicator is best used as part of a broader trading strategy. It is not a standalone signal generator and should be combined with other forms of analysis.
The automatic weights are optimized for Bitcoin (BTC) volatility. For other assets, you may need to adjust the weights manually.
The indicator may require sufficient historical data to calculate higher and lower timeframe values accurately.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.