المؤشرات والاستراتيجيات
VWMACD-MFI-OBV Composite# MACD-MFI-OBV Composite
A dynamic volume-based technical indicator combining Volume-Weighted MACD, Money Flow Index (MFI), and normalized On Balance Volume (OBV). This composite indicator excels at identifying breakouts and strong trend movements through multiple volume confirmations, making it particularly effective for momentum and high-volatility trading environments.
## Overview
The indicator integrates trend, momentum, and cumulative volume analysis into a unified visualization system. Each component is carefully normalized to enable direct comparison, while the background color system provides instant trend recognition. This version is specifically optimized for breakout detection and strong trend confirmation.
## Core Components
### Volume-Weighted MACD
Visualized through the background color system, this enhanced MACD implementation uses Volume-Weighted Moving Averages (VWMA) instead of traditional EMAs. This modification ensures greater sensitivity to volume-supported price movements while filtering out less significant low-volume price changes. The background alternates between green (bullish) and red (bearish) to provide immediate trend feedback.
### Money Flow Index (MFI)
Displayed as the purple line, the MFI functions as a volume-weighted momentum oscillator. Operating within a natural 0-100 range, it helps identify potential overbought and oversold conditions while confirming volume support for price movements. The MFI is particularly effective at validating breakout momentum.
### Normalized On Balance Volume (OBV)
The white line represents normalized OBV, providing insight into cumulative buying and selling pressure. The normalization process scales OBV to match other components while maintaining its ability to confirm price trends through volume analysis. This component excels at identifying strong breakout movements and volume surges.
## Signal Integration
The indicator generates its most powerful signals when all three components align, particularly during breakout conditions:
Strong Bullish Signals develop when:
- Background shifts to green (VWMACD bullish)
- MFI shows strong upward momentum
- OBV demonstrates sharp volume accumulation
Strong Bearish Signals emerge when:
- Background turns red (VWMACD bearish)
- MFI exhibits downward momentum
- OBV shows significant volume distribution
## Market Application
This indicator variant is specifically designed for:
Breakout Trading:
The OBV component provides excellent sensitivity to volume surges, making it ideal for breakout confirmation and momentum validation.
Trend Following:
Sharp OBV movements combined with MFI momentum help identify and confirm strong trending conditions.
High Volatility Markets:
The indicator's design excels in active, volatile markets where clear signal generation is crucial for decision-making.
## Technical Implementation
Default Parameters:
Volume-Weighted MACD maintains traditional periods (12/26/9) while leveraging volume weighting. MFI uses standard 14-period calculation with 80/20 overbought/oversold thresholds. All components undergo normalization over a 100-period lookback for stable comparison.
Visual Elements:
- Background: VWMACD trend indication (green/red)
- Purple Line: Money Flow Index
- White Line: Normalized OBV
- Yellow Line: Combined signal (arithmetic mean of normalized components)
- Reference Lines: Key levels at 20, 50, and 80
## Trading Methodology
The indicator supports a systematic approach to breakout and momentum trading:
1. Breakout Identification
Monitor for background color changes accompanied by significant OBV movement, indicating potential breakout conditions.
2. Volume Surge Confirmation
Examine OBV slope and magnitude to confirm genuine breakout scenarios versus false moves.
3. Momentum Validation
Use MFI to confirm breakout strength and identify potential exhaustion points.
4. Combined Signal Analysis
The yellow line provides a unified view of all components, helping identify high-probability breakout opportunities.
## Interpretation Guidelines
Breakout Confirmation:
Strong breakouts typically show alignment of all three components with notable OBV surge. This configuration often precedes significant price movements.
Trend Strength:
Continuous OBV expansion during trends, supported by steady MFI readings, suggests sustained momentum.
## Market Selection
Optimal Markets Include:
- High-beta growth stocks
- Momentum-driven securities
- Stocks with significant volatility
- Active trading instruments
- Examples: TSLA, NVDA, growth stocks
## Version Information
Current Version: 2.0.0
This indicator represents a specialized adaptation of volume-based analysis, optimized for breakout trading and momentum strategies in high-volatility environments.
metaconnectorLibrary "metaconnector"
metaconnector
buy_market_order(License_ID, symbol, lot)
Places a buy market order
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
lot (int) : Number of lots to buy
Returns: String syntax for the buy market order
sell_market_order(License_ID, symbol, lot)
Places a sell market order
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
lot (int) : Number of lots to sell
Returns: String syntax for the sell market order
buy_limit_order(License_ID, symbol, lot, price)
Places a buy limit order
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
lot (int) : Number of lots to buy
price (float) : Limit price for the order
Returns: String syntax for the buy limit order
sell_limit_order(License_ID, symbol, lot, price)
Places a sell limit order
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
lot (int) : Number of lots to sell
price (float) : Limit price for the order
Returns: String syntax for the sell limit order
stoploss_for_buy_order(License_ID, symbol, lot, stoploss_price)
Places a stop-loss order for a buy position
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
lot (int) : Number of lots to buy
stoploss_price (float)
Returns: String syntax for the buy stop-loss order
stoploss_for_sell_order(License_ID, symbol, lot, stoploss_price)
Places a stop-loss order for a sell position
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
lot (int) : Number of lots to sell
stoploss_price (float)
Returns: String syntax for the sell stop-loss order
takeprofit_for_buy_order(License_ID, symbol, lot, target_price)
Places a take-profit order for a buy position
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
lot (int) : Number of lots to buy
target_price (float)
Returns: String syntax for the buy take-profit order
takeprofit_for_sell_order(License_ID, symbol, lot, target_price)
Places a take-profit order for a sell position
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
lot (int) : Number of lots to sell
target_price (float)
Returns: String syntax for the sell take-profit order
buy_stop_order(License_ID, symbol, lot, price)
Places a buy stop order above the current market price
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
lot (int) : Number of lots to buy
price (float) : Stop order price
Returns: String syntax for the buy stop order
sell_stop_order(License_ID, symbol, lot, price)
Places a sell stop order below the current market price
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
lot (int) : Number of lots to sell
price (float) : Stop order price
Returns: String syntax for the sell stop order
close_all_positions(License_ID, symbol)
Closes all positions for a specific symbol
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
Returns: String syntax for closing all positions
close_buy_positions(License_ID, symbol)
Closes all buy positions for a specific symbol
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
Returns: String syntax for closing all buy positions
close_sell_positions(License_ID, symbol)
Closes all sell positions for a specific symbol
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
Returns: String syntax for closing all sell positions
close_partial_buy_position(License_ID, symbol, lot)
Closes a partial buy position for a specific symbol
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
lot (int) : Number of lots to close
Returns: String syntax for closing a partial buy position
close_partial_sell_position(License_ID, symbol, lot)
Closes a partial sell position for a specific symbol
Parameters:
License_ID (string) : Unique license ID of the user
symbol (string) : Trading symbol
lot (int) : Number of lots to close
Returns: String syntax for closing a partial sell position
Market Structure CHoCH/BOS (Fractal) [vandji]Explication de la stratégie Market Structure CHoCH/BOS (Fractal)
Introduction
La stratégie Market Structure CHoCH/BOS (Fractal) est conçue pour analyser les structures de marché en identifiant les changements de caractère (Change of Character - CHoCH) et les cassures de structure (Break of Structure - BOS) basées sur des fractales. Cette approche permet aux traders de repérer les renversements de tendance ainsi que la continuation de celle-ci à l'aide d'un outil visuel intuitif et de niveaux clés marqués directement sur le graphique.
Fonctionnement de l'indicateur
L'indicateur utilise des fractales pour identifier des points hauts et bas significatifs dans le marché. Ces points permettent de :
Identifier les structures haussières (Bullish) :
Une cassure d'un sommet fractal indique une continuation ou un renversement haussier.
Des niveaux de support sont tracés pour repérer les zones où le prix peut rebondir.
Identifier les structures baissières (Bearish) :
Une cassure d'un bas fractal signale une continuation ou un renversement baissier.
Des niveaux de résistance sont tracés pour surveiller les zones où le prix peut se retourner.
L'indicateur utilise également des labels visuels tels que CHoCH et BOS :
CHoCH (Change of Character) : Indique un changement de tendance.
BOS (Break of Structure) : Confirme la continuation de la tendance.
Visualisation des Niveaux Clés
Support : Tracé lorsque la structure haussière est identifiée.
Résistance : Tracée lorsque la structure baissière est détectée. Ces niveaux servent de repères pour placer des ordres ou évaluer la force de la tendance.
Avantages
Identification claire des tendances : Les CHoCH et BOS aident à distinguer les renversements des continuations.
Zones clés définies : Les supports et résistances fractals donnent des points d'entrée ou de sortie potentiels.
Convient aux styles variés de trading : Applicable pour le scalping, le day trading ou le swing trading.
Exemple Visuel
Graphique annoté
L'image suivante illustre le fonctionnement de l'indicateur sur un graphique.
Les sommets fractals haussiers et baissiers sont marqués.
Les niveaux de support et de résistance sont dessinés.
Les labels CHoCH et BOS indiquent des points importants de renversement ou de continuation.
Price Projection by Linear RegressionPurpose:
This is a TradingView Pine Script indicator that performs a linear regression on historical price data to project potential future price levels. It's designed to help traders visualize long-term price trends and potential future price targets.
Key Components:
User Inputs:
Historical Data Points (default 1000 bars) - The amount of historical data used to calculate the trend
Years to Project (default 10 years) - How far into the future to project the price
Technical Implementation:
Uses linear regression (ta.linreg) to calculate the trend slope
Converts years to trading days using 252 trading days per year
Limits visible projection to 500 bars due to TradingView's drawing limitations
Projects prices using the formula: current_price + (slope × number_of_bars)
Visual Elements:
Blue line showing actual historical prices
Red projection line showing the expected price path
Label showing the projected price at the visible end of the line
Information table in the top-right corner showing:
Current price
Final projected price after the full time period
Limitations:
Can only display projections up to 500 bars into the future (about 2 years) due to TradingView limitations
The full projection value is still calculated and shown in the table
Past performance doesn't guarantee future results - this is a mathematical projection based on historical trends
Usage:
Traders can use this to:
Visualize potential long-term price trends
Set long-term price targets
Understand the historical trend's trajectory
Compare current prices with projected future values
Support Resistance with Moving AveragesFilter Lambda Issue:
Removed the array.filter() lambda call and replaced it with a loop to maintain compatibility.
Improved Support/Resistance Level Management:
Added explicit checks to ensure levels are within the loopback period.
Syntax Fixes:
Verified all parentheses and lambda functions to prevent mismatched input errors.
Streamlined Logic:
Cleaned up redundant or unnecessary conditions.
Day Break LinesDay Break Lines Indicator
The Day Break Lines Indicator is a simple tool designed to enhance your chart analysis by visually marking the start of a new trading day with vertical lines. This is particularly useful for intraday traders and those analyzing time-based price movements.
Key Features:
Automatically detects the start of a new trading day.
Draws customizable vertical lines that span the entire visible chart height.
Fully customizable line attributes, including:
Color: Choose a transparent or solid color.
Width: Adjust line thickness (1-5).
Style: Select solid, dotted, or dashed lines.
EMAs by ccrisanThis indicator provides confluience for EMA12 with EMA 26 and SMA 100 with SMA 200 in a single indicator.
Day Range with Resistance and SupportThis script is a comprehensive indicator designed to identify key support and resistance zones, display proximity-based signals, and provide close-comparison insights. Below is a breakdown of its main features:
1. Input Configurations:
Open, High, and Low Prices: Allows manual input of daily open, high, and low prices.
Bars to Check: Configurable parameter for the number of bars to consider when detecting certain signals.
Moving Average (20,50,100,200) With Cross (Golden & Death)This Pine Script v6 indicator plots four moving averages (20, 50, 100, and 200) in different colors, each labeled with its length and current value on the latest bar. It also detects when the 50-period MA (green) crosses above or below the 200-period MA (red), automatically creating “Golden Cross” or “Death Cross” labels at the crossing point.
STOCKDALE VERSION1EMA 골든크로스, RSI 상승 다이버전스, Stochastic RSI 골든크로스, MACD 양수, OBV 상승 조건이 모두 충족되었을 때, 매수 신호를 생성합니다. 또한, 거래량이 높은 구간에서만 신호를 필터링합니다.
Cloud TxKO CryptoIchimoku Cloud TK Cross Candle Open Open Crypto
The TK Cross in the Ichimoku Cloud system occurs when the Tenkan-Sen (Conversion Line) crosses the Kijun-Sen (Base Line), signaling momentum shifts or potential trend changes.
Bullish Cross: Tenkan-Sen crosses above Kijun-Sen, indicating upward momentum.
Bearish Cross: Tenkan-Sen crosses below Kijun-Sen, signaling downward momentum.
Signal Strength:
Above the Cloud: Strong signal.
Inside the Cloud: Moderate signal.
Below the Cloud: Weak signal.
The TK Cross is vital for identifying trends and is more effective when combined with other Ichimoku components like the Kumo Cloud and Chikou Span.
4EMAs+OpenHrs+FOMC+CPIThis script displays 4 custom EMAs of your choice based on the Pine script standard ema function.
Additionally the following events are shown
1. Opening hours for New York Stock exchange
2. Opening Time for London Stock exchange
3. US CPI Release Dates
4. FOMC press conference dates
5. FOMC meeting minutes release dates
I have currently added FOMC and CPI Dates for 2025 but will keep updating in January of every year (at least as long as I stay in the game :D)
Red Pill VWAP/RSI DivergenceI created this indicator to identify moments in time VWAP and RSI are diverging.
Ideally useful in strong trend, bullish or bearish, as a potential entry point on a pull back for continuation. Not to be used as a stand alone signal, but rather in conjunction with any possible trend/momentum strategy.
VWAP is identified as the blue line. Green label(blue pill) is your potential entry on a pull back when price is above, stacked EMAS & VWAP for a long position. Red label(red pill) is your potential entry on a pull back when price is below inversely stacked EMAS & VWAP for a short position. These are the 2 ideal scenarios I have found. Please back test for yourself
I have had great results but must emphasis this is not a stand alone buy/sell. I use it in confluence to add conviction to my current A+ setups.
***Pivot ribbon in chart created by Saty Mahajan set to 3/10 time warp works ideal in conjunction.
***please note false positive and false negative signals can occur, particularly in chop
I hope you find this helpful . TRADE SAFE!
weakly dividesThis indicator takes the last weekly candle and divides it into the number the user wants. This is a great strategy.
Market Turn Breakout Strategy OptimizerThis is a script made for a friend of mine. It is intended to be used as a visual tool to see which combination of RR is best for a Breakout Strategy he made.
5-Min EMA Signalthis is a learning and testing indicator , do not follow this for trading or investment purpose
Engulfing Candle by SmanovThis custom Pine Script indicator highlights bullish and bearish engulfing candles while ensuring the previous candle is not an inside bar (relative to the candle before it). Engulfing candles are often seen as potential reversal signals. By including an extra filter that excludes so-called “inside bars,” the indicator aims to provide stronger and more reliable signals.
How It Works
Bullish Engulfing Condition
The current candle is bullish (close > open).
The current candle’s low is lower than the previous candle’s low, and the current candle’s high is higher than the previous candle’s high (true “engulfing” from top to bottom).
The current candle closes above the previous candle’s high (confirms a breakout above the previous high).
Bearish Engulfing Condition
The current candle is bearish (close < open).
The current candle’s high is higher than the previous candle’s high, and the current candle’s low is lower than the previous candle’s low.
The current candle closes below the previous candle’s low (confirms a breakdown below the previous low).
Non-Inside-Previous-Bar Filter
The indicator checks the previous candle to ensure it is not an inside bar (where the entire high-low range of the previous candle sits inside the range of the candle before it).
By doing so, the indicator ignores signals where the previous candle is potentially indecisive or “inside.”
When these conditions are met, the indicator plots a triangle above (for bearish) or below (for bullish) the candle. You can also enable alerts to receive notifications each time a valid engulfing candle forms.
Features
Clear Markers on the Chart: Triangles appear near the bars that fulfill the engulfing criteria, simplifying quick identification of potential reversal points.
Non-Inside Bar Filtering: Reduces false signals by ensuring the previous candle range is not contained within the range of the candle before it.
Alert Conditions: Create TradingView alerts to be notified via push messages, email, or pop-ups whenever a bullish or bearish engulfing setup occurs.
Easy Customization: You can tweak the logic for stricter or looser engulfing definitions or add your own additional filters (volume, RSI, etc.) if needed.
How to Trade with It
Reversal Opportunities
Bullish Engulfing: Signals a potential bullish reversal. Traders might look to go long if other supporting factors (support level, bullish divergence, etc.) confirm the trend change.
Bearish Engulfing: Signals a potential bearish reversal. Traders might go short if there is additional confluence (resistance level, overbought conditions, etc.).
Combine with Other Indicators
While an engulfing candle by itself can be meaningful, adding a momentum oscillator (e.g., RSI, MACD) or volume analysis often strengthens confirmation.
Look for bullish engulfing signals near known support levels, or bearish engulfing signals near known resistance levels.
Risk Management
Place stop-loss orders below (for bullish entries) or above (for bearish entries) the engulfing candle to reduce risk.
Use your usual position sizing and money management rules.
Avoid Choppy Markets
Because this indicator focuses on engulfing patterns that break the previous candle’s high or low, it can reduce whipsaws in sideways markets. Still, confirm that the market isn’t in an extended range before acting.
Disclaimer:
This indicator is a technical tool designed to assist traders in identifying potential reversal points. It is not a standalone trading system. Always practice proper risk management, and confirm signals with additional analysis before entering any trade.