OPEN-SOURCE SCRIPT

FlowScope [Hapharmonic]

471
FlowScope: Uncover the Market's True Intent 🔬
снимок
Ever wished you could look inside the candles and see where the real action is happening? FlowScope is your microscope for the market's flow, designed to give you a powerful edge by revealing the volume distribution that price action alone can't show you.

Instead of just looking at the open, high, low, and close, FlowScope lets you dive deeper into the market's auction process. It groups candles together and builds a detailed Volume Profile for that period, showing you exactly where the trading happened and revealing the story behind the price action.

Let's explore how you can use it to gain a powerful new edge.

🧐 Core Concept: How It Works

At its heart, FlowScope does three key things:

  1. It Groups Candles: You decide how many candles to group together. For example, setting "Group Candles" to 4 on a 5-minute chart effectively gives you a detailed 20-minute candle and profile. This helps you see the bigger picture and filter out market noise.

  2. It Builds a Volume Profile: For each group, FlowScope analyzes the volume at every single price level. It then displays this as a horizontal histogram (we call this a "footprint" or profile). Longer bars mean more volume was traded at that price, indicating a "fair" price or an area of acceptance. Shorter bars mean price moved through quickly, indicating rejection.

  3. It Creates a Custom "Grouped Candle": To summarize the group's overall price action, FlowScope draws a single, custom candle representing the entire group's:
    • Open: The open of the first candle in the group.
    • High: The absolute highest price reached within the group.
    • Low: The absolute lowest price reached within the group.
    • Close: The close of the last candle in the group.

    This gives you a crystal-clear view of the group's net result, free from the back-and-forth noise of the individual candles inside it.


Below are some of the stunning preset color palettes you can choose from to customize your view:

снимок
снимок
снимок
снимок
снимок
снимок
снимок
снимок
снимок
снимок

🚀 How to Use: Practical Applications

FlowScope isn't just for looking pretty; it's a powerful analysis tool. Here are a few ways to integrate it into your trading:

  • Identify High-Volume Nodes (HVNs): Look for the longest bars in the profile. These are price levels where the market spent the most time and traded the most volume. HVNs often act as powerful "magnets" for price, becoming key areas of support and resistance.

  • Spot Low-Volume Nodes (LVNs): These are areas with very short bars or gaps in the profile. They represent price levels that the market moved through quickly and inefficiently. If price returns to an LVN, it's likely to move through it quickly again.

  • Analyze the Summary Box: This is where the real magic happens! ✨
    Total Volume (Σ): The total volume for the entire group.
    Buy (B) vs. Sell (S) Volume: FlowScope analyzes the lower timeframe action to estimate the buying and selling pressure that made up the total volume. Is a big red candle mostly aggressive selling, or was it just a lack of buyers? The B/S data gives you clues. A high-volume candle with nearly 50/50 buy/sell pressure might indicate absorption or a potential reversal.
  • Use the Grouped Candle for Clarity: Is the market in a clear uptrend, or is it just choppy? The grouped candle can give you a much clearer signal. A series of strong, green grouped candles shows much more conviction than a mix of small green and red candles.


⚙️ Settings & Customization

This is where you can truly make FlowScope your own. Let's walk through each setting.

Profile Settings
  • Group Candles: The number of standard chart candles you want to combine into a single FlowScope profile. A setting of 1 will analyze every single bar. A higher number gives you a broader market view. When Group Candles is set to 5, the data from the 5 individual candles are combined, and the volume is calculated accordingly.
    снимок
  • Max Profile Boxes: This setting is more than just a number; it's a smart limit that ensures your profiles are always readable and relevant to the current market conditions.
    1. Adaptive Sizing (The Ideal Goal): FlowScope first tries to create the perfect profile by making each volume box's height proportional to the current market volatility. It calculates an "ideal" box height based on the Average True Range (ATR / 10). This is powerful because it automatically adapts: you get smaller, more detailed boxes in quiet, low-volatility markets, and larger, clearer boxes in volatile, fast-moving markets.

    2. The Safety Cap (Your Setting): However, what if you group several candles during a massive price move? The price range could be huge! If we only used the small, ATR-based box height, you might end up with hundreds of tiny, unreadable boxes. This is where your Max Profile Boxes setting (defaulting to 50) comes in. It acts as a maximum detail cap. If the adaptive, volatility-based calculation determines that it would need more boxes than your setting (e.g., more than 50), the indicator will override it. It will then simply divide the entire price range of the group into exactly the number of boxes you specified (e.g., 50).
    In short: You are setting the maximum allowable detail. FlowScope intelligently adapts the profile's granularity below that limit based on market volatility, ensuring you always get a clear and meaningful picture.


Style
  • Show Profile BG: A simple toggle to show or hide the faint background color behind the volume bars. Turning it off can create a cleaner look.
  • Color Mode: This dropdown controls how the volume profile text is colored.
    • Custom Gradient: This mode uses the three custom colors you select in the "Profile Colors" section to create a beautiful gradient across the profile.
    • Candle Color: This mode colors the profile based on whether the grouped candle was bullish (green) or bearish (red). The color will be a gradient, with the most intense color applied to the box with the highest volume; the colors of the other boxes will fade out from that point. It's a great way to see the profile's "mood" at a glance.
    снимок


Profile Colors 🎨
  • Use Preset Palette: This is the master switch!
    If checked: You can choose from 10 stunning, pre-designed color palettes from the Palette dropdown. The custom color pickers below will be disabled.
    If unchecked (Default): The Palette dropdown will be disabled, and you can now choose your own three colors for the gradient.
  • Palette:(Only active when "Use Preset Palette" is checked). Choose from 10 luxurious, eye-catching color schemes like "Solar Flare" or "Deep Space" to instantly change the look and feel of your chart.

  • Low Price / Mid Price / High Price:(Only active when "Use Preset Palette" is unchecked). These three color pickers allow you to design your own unique gradient for the Custom Gradient color mode.


Candle Display
  • These settings control the custom "Grouped Candle" that summarizes the profile. When using the "Show Custom Candle" feature, you should change the chart's candlestick display to Bars for a cleaner view.
    снимок
  • Show Custom Candle: This is the main toggle. When you check this box, the original chart candles will be hidden, and your custom FlowScope candle will be displayed instead. This custom candle is intentionally small to ensure it does not visually overlap with the volume profile boxes.
    снимок
  • Show Body:(Only active when "Show Custom Candle" is checked). Toggles the visibility of the candle's body.
  • Wick Width & Body Width:(Only active when "Show Custom Candle" is checked). These sliders let you control the thickness of the wick and body lines to match your personal style.
  • Up Color / Down Color:(Only active when "Show Custom Candle" is checked). Choose the colors for your bullish and bearish custom candles.


Experiment with the settings, find a style that works for you, and start seeing the market in a whole new light.

Happy trading! 📈😊

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.