OPEN-SOURCE SCRIPT
تم تحديثه CVD Flow Engine

CVD Flow Engine
CVD Flow Engine is an advanced order-flow analysis framework that combines Cumulative Volume Delta (CVD), structural flow analysis, retention-style candles, trend detection, strength signals, and divergences into a single indicator.
Unlike traditional CVD indicators that focus only on cumulative delta, CVD Flow Engine attempts to classify the quality and persistence of buying and selling pressure by analyzing both trend and structure.
Key Features
• CVD Profiles
Builds a profile from cumulative delta activity, allowing traders to identify areas where buying and selling pressure have accumulated over time.
• Retention-Style CVD Candles
Transforms CVD Balance, CVD Delta, or CVD Acceleration into candle structures where each candle opens from the previous value. This provides a clearer visualization of participation and flow persistence than a traditional line plot.
• Structural Flow Analysis
Instead of relying solely on EMA position, the engine evaluates whether order flow is improving or deteriorating through market structure.
The candle coloring system identifies:
* Strong Bull Flow: CVD above trend and maintaining bullish momentum.
* Bullish Recovery: CVD remains below trend but begins producing Higher Highs and Higher Lows, indicating improving participation.
* Strong Bear Flow: CVD below trend and maintaining bearish momentum.
* Bearish Weakness: CVD remains above trend but begins producing Lower Highs and Lower Lows, suggesting deterioration in buying pressure.
This allows traders to identify improving flow conditions before traditional trend filters react.
• Dynamic Trend Engine
A CVD EMA is used to classify the prevailing order-flow regime. EMA slope analysis helps distinguish bullish, bearish, and transitional environments.
• Strong Bull / Strong Bear Signals
The indicator identifies periods where trend, momentum, and flow retention align. Compact markers highlight these states without cluttering the chart.
• Divergence Detection
Bullish and bearish divergences compare price structure against order-flow structure.
Bullish Divergence:
* Price makes a Lower Low.
* CVD makes a Higher Low.
Bearish Divergence:
* Price makes a Higher High.
* CVD makes a Lower High.
These conditions may indicate weakening participation behind the current move.
How To Use
Bullish Environment:
* Retention candles are predominantly green.
* Higher High and Higher Low structures continue to form.
* Strong Bull signals appear.
* Bullish divergences can identify pullback opportunities.
Bearish Environment:
* Retention candles transition into bearish structure.
* Lower High and Lower Low sequences develop.
* Strong Bear signals appear.
* Bearish divergences can identify weakening rallies.
Transition Environment:
* EMA slope flattens.
* Structure begins shifting before trend confirmation.
* Recovery or deterioration states emerge.
* Divergences become more frequent.
The objective of CVD Flow Engine is not to predict future price movement but to provide a structured view of whether order flow is strengthening, weakening, recovering, or deteriorating beneath the surface of price action.
By combining cumulative delta, structural analysis, trend classification, and divergence detection, the indicator helps traders evaluate whether participation is supporting the current market move or signaling a potential transition.
CVD Flow Engine is an advanced order-flow analysis framework that combines Cumulative Volume Delta (CVD), structural flow analysis, retention-style candles, trend detection, strength signals, and divergences into a single indicator.
Unlike traditional CVD indicators that focus only on cumulative delta, CVD Flow Engine attempts to classify the quality and persistence of buying and selling pressure by analyzing both trend and structure.
Key Features
• CVD Profiles
Builds a profile from cumulative delta activity, allowing traders to identify areas where buying and selling pressure have accumulated over time.
• Retention-Style CVD Candles
Transforms CVD Balance, CVD Delta, or CVD Acceleration into candle structures where each candle opens from the previous value. This provides a clearer visualization of participation and flow persistence than a traditional line plot.
• Structural Flow Analysis
Instead of relying solely on EMA position, the engine evaluates whether order flow is improving or deteriorating through market structure.
The candle coloring system identifies:
* Strong Bull Flow: CVD above trend and maintaining bullish momentum.
* Bullish Recovery: CVD remains below trend but begins producing Higher Highs and Higher Lows, indicating improving participation.
* Strong Bear Flow: CVD below trend and maintaining bearish momentum.
* Bearish Weakness: CVD remains above trend but begins producing Lower Highs and Lower Lows, suggesting deterioration in buying pressure.
This allows traders to identify improving flow conditions before traditional trend filters react.
• Dynamic Trend Engine
A CVD EMA is used to classify the prevailing order-flow regime. EMA slope analysis helps distinguish bullish, bearish, and transitional environments.
• Strong Bull / Strong Bear Signals
The indicator identifies periods where trend, momentum, and flow retention align. Compact markers highlight these states without cluttering the chart.
• Divergence Detection
Bullish and bearish divergences compare price structure against order-flow structure.
Bullish Divergence:
* Price makes a Lower Low.
* CVD makes a Higher Low.
Bearish Divergence:
* Price makes a Higher High.
* CVD makes a Lower High.
These conditions may indicate weakening participation behind the current move.
How To Use
Bullish Environment:
* Retention candles are predominantly green.
* Higher High and Higher Low structures continue to form.
* Strong Bull signals appear.
* Bullish divergences can identify pullback opportunities.
Bearish Environment:
* Retention candles transition into bearish structure.
* Lower High and Lower Low sequences develop.
* Strong Bear signals appear.
* Bearish divergences can identify weakening rallies.
Transition Environment:
* EMA slope flattens.
* Structure begins shifting before trend confirmation.
* Recovery or deterioration states emerge.
* Divergences become more frequent.
The objective of CVD Flow Engine is not to predict future price movement but to provide a structured view of whether order flow is strengthening, weakening, recovering, or deteriorating beneath the surface of price action.
By combining cumulative delta, structural analysis, trend classification, and divergence detection, the indicator helps traders evaluate whether participation is supporting the current market move or signaling a potential transition.
ملاحظات الأخبار
uنص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.