OPEN-SOURCE SCRIPT
Order Flow Profiler (Zeiierman)

█ Overview
Order Flow Profiler (Zeiierman) is a price-based volume profiling indicator that estimates how buying and selling activity is distributed across different price levels within a selected chart window.
Rather than displaying only total volume, the indicator divides the selected auction range into individual price cells and estimates how much buying and selling activity occurred inside each area.
Each candle’s volume is separated into estimated buy and sell participation using its close position, candle body direction, and wick structure. That activity is then distributed across the price levels the candle touched.
The result is a two-sided Order Flow Profile that helps visualize where buyers and sellers were most active, where one side dominated, and where significant pressure imbalances developed.

⚪ Order Flow Profile
The profile is divided around a central spine.
Sell activity extends to the left while buy activity extends to the right.
The width of each profile row represents the estimated amount of activity occurring at that price level. Larger profile sections therefore highlight prices where more participation was concentrated.
When Delta Dominance is enabled, the indicator also compares estimated buy and sell activity inside each individual price row.
• Positive Delta extends to the right and highlights prices where buying activity is stronger.
• Negative Delta extends to the left and highlights prices where selling activity is stronger.
• Larger and more prominent Delta cells indicate a stronger imbalance between both sides.
This allows the profile to show both where activity occurred and which side dominated at each price level.

█ How It Works
█ How to Use
⚪ Identify High-Volume Areas
Wide sections of the profile show price levels where activity was higher. These areas can help highlight important zones of participation, support, resistance, or consolidation.

⚪ Use the Control Price
The Control Price marks the price level with the highest combined buy and sell activity.
Traders can use it as a key reference level for acceptance, rejection, or potential mean reversion.

⚪ Read Buy and Sell Dominance
The profile wings, Delta cells, and Active Profile Readout help show which side is stronger at different price levels.
• Buy dominance can support bullish continuation or absorption.
• Sell dominance can support bearish continuation or rejection.
• Balanced areas show more even participation between both sides.

⚪ Compare Historical Profiles
Historical Profiles help show how the auction changes over time.
A rising Control Price and stronger buy activity can suggest improving bullish participation, while a falling Control Price and stronger sell activity can suggest increasing bearish participation.
The profile is most useful when combined with price structure, trend, support and resistance, and the surrounding market context.

█ Settings
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Order Flow Profiler (Zeiierman) is a price-based volume profiling indicator that estimates how buying and selling activity is distributed across different price levels within a selected chart window.
Rather than displaying only total volume, the indicator divides the selected auction range into individual price cells and estimates how much buying and selling activity occurred inside each area.
Each candle’s volume is separated into estimated buy and sell participation using its close position, candle body direction, and wick structure. That activity is then distributed across the price levels the candle touched.
The result is a two-sided Order Flow Profile that helps visualize where buyers and sellers were most active, where one side dominated, and where significant pressure imbalances developed.
⚪ Order Flow Profile
The profile is divided around a central spine.
Sell activity extends to the left while buy activity extends to the right.
The width of each profile row represents the estimated amount of activity occurring at that price level. Larger profile sections therefore highlight prices where more participation was concentrated.
When Delta Dominance is enabled, the indicator also compares estimated buy and sell activity inside each individual price row.
• Positive Delta extends to the right and highlights prices where buying activity is stronger.
• Negative Delta extends to the left and highlights prices where selling activity is stronger.
• Larger and more prominent Delta cells indicate a stronger imbalance between both sides.
This allows the profile to show both where activity occurred and which side dominated at each price level.
█ How It Works
⚪ Buy and Sell Volume Estimation
Each candle’s volume is divided into estimated buy and sell activity using its close position, body direction, and wick structure.Pine Script®
⚪ Price Cell Distribution
The profile range is divided into Price Cells, and each candle’s estimated buy and sell volume is distributed across the prices it traded through.
Cell Concentration controls how tightly that activity is focused around its estimated buy and sell centers.
⚪ Control Price
The Control Price is the price cell with the highest combined buy and sell activity.
Its color shows which side is dominant at that level.
⚪ Acceptance Area
Starting from the Control Price, the indicator expands through neighboring cells until the selected percentage of total profile activity is included.
This produces the Upper Acceptance Level and Lower Acceptance Level shown in the Data Window.
⚪ Delta Dominance
Delta measures the difference between estimated buy and sell activity at each price cell.Pine Script®
• Positive Delta shows buy dominance.
• Negative Delta shows sell dominance.
Stronger imbalances create larger Delta cells.
⚪ Pressure Detection
Pressure Flags detect significant diagonal imbalances between neighboring price cells.
Buy Pressure compares buying activity with sell activity below, while Sell Pressure compares selling activity with buy activity above.
▲ indicates Buy Pressure.
▼ indicates Sell Pressure.
⚪ Active Profile Readout
The live profile is divided into broader price segments that compare total buy and sell activity within each area.
• BUY x MORE shows buyer dominance.
• SELL x MORE shows seller dominance.
• BALANCED shows no meaningful directional advantage.
This provides a faster summary of directional activity across the profile.
⚪ Historical Profiles
Historical Profiles preserve earlier profile snapshots, including the profile wings, Delta, Control Price, range caps, and Pressure Flags.
This allows traders to compare how the auction structure changes over time.
█ How to Use
⚪ Identify High-Volume Areas
Wide sections of the profile show price levels where activity was higher. These areas can help highlight important zones of participation, support, resistance, or consolidation.
⚪ Use the Control Price
The Control Price marks the price level with the highest combined buy and sell activity.
Traders can use it as a key reference level for acceptance, rejection, or potential mean reversion.
⚪ Read Buy and Sell Dominance
The profile wings, Delta cells, and Active Profile Readout help show which side is stronger at different price levels.
• Buy dominance can support bullish continuation or absorption.
• Sell dominance can support bearish continuation or rejection.
• Balanced areas show more even participation between both sides.
⚪ Compare Historical Profiles
Historical Profiles help show how the auction changes over time.
A rising Control Price and stronger buy activity can suggest improving bullish participation, while a falling Control Price and stronger sell activity can suggest increasing bearish participation.
The profile is most useful when combined with price structure, trend, support and resistance, and the surrounding market context.
█ Settings
- Lookback Bars: Sets how many chart candles are used to build the profile.
- Price Cells: Controls the number of price levels used inside the profile.
- Cell Concentration: Controls how tightly estimated buy and sell activity is distributed around each candle’s activity centers.
- Pressure Ratio %: Sets how strong a buy or sell imbalance must be before a Pressure Flag can appear.
- Historical Profiles: Enables previous profile snapshots on the chart.
- Snapshot Every Bars: Sets how often historical profiles are created.
- Active Profile Readout: Enables the segmented BUY, SELL, and BALANCED summary beside the live profile.
- Segments: Controls how many price sections are used in the Active Profile Readout.
- Balanced Below x: Sets how close buy and sell activity must be for a segment to display BALANCED.
- Delta Dominance: Shows which side dominates at each individual price cell.
- Pressure Flags: Enables buy and sell pressure markers.
- Wing Width: Controls the maximum width of the buy and sell profile wings.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
Access my indicators at: zeiierman.com
Join Our Free Discord: discord.gg/zeiiermantrading
Join Our Free Discord: discord.gg/zeiiermantrading
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
Access my indicators at: zeiierman.com
Join Our Free Discord: discord.gg/zeiiermantrading
Join Our Free Discord: discord.gg/zeiiermantrading
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.