OPEN-SOURCE SCRIPT
Updated

GoldenFLow - CARE 7891

922
🔷 GoldenFlow - CARE 7891 is a complete 5-minute session-based trading assistant designed to combine liquidity mapping, market structure, imbalance detection, trade setup tracking, and risk visualization into one organized charting environment.

This script was built for traders who want a structured way to read the market through the interaction between sessions, liquidity levels, displacement zones, BOS/ChoCh structure, and controlled trade execution references. Instead of displaying isolated tools, GoldenFlow connects each module into a single workflow: session context, liquidity reaction, structural confirmation, imbalance-based entry logic, and risk planning.

📌 Main purpose

GoldenFlow helps the trader identify where price interacts with important session liquidity, how structure reacts after that interaction, and where a potential entry, stop loss, and take profit zone may be evaluated.

The indicator does not guarantee results, does not predict the market, and does not replace trader discretion. It is a visual and analytical tool designed to support disciplined decision-making.

⏱️ Timeframe

This script is locked to the 5-minute timeframe.

If it is loaded on another timeframe, the script will display a runtime restriction message. This keeps the logic consistent with the intended session and execution model.

🕒 Session framework

GoldenFlow divides the trading day into three main New York time sessions:

• Asia: 18:00 - 02:00 NY
• London: 02:00 - 08:00 NY
• New York: 08:00 - 17:00 NY

Each session can be displayed with customizable background colors, allowing the trader to visually separate market behavior by time block.

💧 Liquidity levels

The script tracks and displays liquidity levels from the main sessions:

• Asia Range High and Low
• London High and Low
• New York High and Low

These levels can remain visible as active references and may freeze after being touched. This allows the trader to study how price reacts when it reaches previous session highs or lows.

The frozen-history option helps preserve touched levels in a softer visual style, making it easier to review previous liquidity reactions without overloading the chart.

🎯 Trade signal engine

GoldenFlow includes a BUY/SELL tracking engine based on a structured sequence:

A liquidity level is swept or touched.
The script waits for reversal structure.
A 50% reference level is frozen from the structure range.
The closest valid imbalance open beyond the 50% level is selected.
The setup waits for body confirmation.
A retest of the selected entry level may trigger the BUY or SELL label.

This creates a logical flow from liquidity to structure to imbalance to entry confirmation.

The script includes optional chart labels for setup tracking, but they can be disabled for a cleaner chart. Persistent BUY/SELL retest labels can also be displayed to keep historical entry references visible.

📊 Imbalance detector

GoldenFlow includes three imbalance concepts:

• Fair Value Gaps
• Opening Gaps
• Volume Imbalances

Each imbalance type can be enabled or disabled depending on the trader’s preference. This gives flexibility to traders who prefer using only FVGs or who want to include other imbalance references in their execution model.

If no valid imbalance is found within the operational structure, the script includes an optional ChoCh fallback mode. This fallback uses the ChoCh-side structure level as an alternative entry reference while maintaining the same body confirmation and retest rules.

📉📈 ZigZag and market structure

GoldenFlow includes a ZigZag-based structure module that helps visualize swing movement and structural shifts.

The structure module can show:

• Swing connections
• Active structure lines
• BOS labels
• ChoCh labels
• Right-side live structure tags
• Customizable colors and line styles

This allows the trader to distinguish between continuation breaks and potential changes in character.

🧬 50% structure reference

The script includes a Fibonacci-style 50% reference module based on the latest confirmed internal pivot and the active BOS-side structure. This level is used as part of the trade setup logic and may also be displayed visually when enabled.

The purpose of this level is not to act as a standalone signal, but to provide a structured midpoint reference inside the post-liquidity reaction range.

💸 Risk module

GoldenFlow includes a risk panel designed to support trade planning.

The module allows the trader to configure:

• Account base currency
• Units per lot
• Account balance
• Account risk percentage
• Panel visibility
• Panel position
• Panel text size

The panel is designed to keep trade information organized and visible while reducing the need for manual calculations.

🎨 Customization

Most visual elements are customizable, including:

• Session background colors
• Liquidity line colors
• Liquidity line width
• Active and frozen level styles
• Touch tag colors
• Entry, SL, and TP colors
• Trade result label visibility
• ZigZag color and thickness
• BOS and ChoCh colors
• Panel position and size

This makes the indicator adaptable to different chart styles while keeping the logic consistent.

📌 Result labels

GoldenFlow can show result labels based on the configured risk-reward model.

The script includes a conservative priority option for candles where both SL and TP are touched in the same candle. The default “SL First” behavior is designed to avoid overly optimistic visual assumptions.

⚠️ Important notes

GoldenFlow is an indicator, not an automated strategy.

It does not place real orders and does not execute trades automatically. All trade decisions remain the responsibility of the user.

Signals and levels should be used as part of a complete trading plan that includes risk management, market context, session behavior, and personal validation.

Past performance, visual results, or historical chart behavior do not guarantee future results.

🧠 How to use

Load the script on a 5-minute chart.
Review the Asia, London, and New York session backgrounds.
Watch how price interacts with session liquidity levels.
Use BOS/ChoCh structure to understand directional reaction.
Review valid imbalances after liquidity interaction.
Observe whether the engine marks a valid retest entry.
Use the risk panel to evaluate position planning.
Confirm every setup with your own trading rules before taking action.

🏅 Final idea

GoldenFlow - CARE 7891 was created to bring structure, clarity, and discipline to intraday analysis. Its strength is not in showing random signals, but in connecting liquidity, structure, imbalance, session timing, and risk into a clean decision-making workflow.
Release Notes
UPDATE - 👽
This update adds a new Max SL Distance filter to GoldenFlow, designed to prevent oversized setups from being considered valid entries. When the calculated SL distance exceeds the user-defined limit, the setup is rejected, clearly marked with a “Max SL” label, highlighted in the risk panel, and supported by an alert message indicating that the trade should not be placed. This improves visual control, risk discipline, and setup filtering.
Release Notes
UPDATE - 🏅
This update refines GoldenFlow’s trade flow and performance tracking. The engine now resets cleanly after a TP or SL result, preventing old liquidity touches that occurred during an active trade from being reused as new setups. This ensures that every new setup starts from a fresh valid point after the previous trade is fully closed. The risk panel was also enhanced with monthly statistics, now displaying the full month name, the accumulated monthly result, the number of closed trades, and the monthly win rate directly below the current trade result.
Release Notes
UPDATE - 🎯
This update refines GoldenFlow’s trade flow when an active trade closes exactly at a liquidity level. The engine now continues to ignore old liquidity touches that occur during an active operation, but it makes a precise exception when the SL or TP level that closes the trade also matches an ARH, ARL, LDH, LDL, NYH or NYL level. In that case, the liquidity point is treated as valid and can generate a new setup after the trade has closed. This improves logical continuity, prevents outdated setups from being reused, and keeps the system aligned with real market structure behavior.
Release Notes
UPDATE - 🫶🏻
This update improves GoldenFlow’s risk-based result tracking. The result labels, alerts, current trade result, and monthly accumulated performance now automatically adapt to the Account Risk % selected by the user. For example, with 1% risk and a 1:2 RR, the system displays -1.00% for SL and +2.00% for TP; with 2% risk, it correctly displays -2.00% for SL and +4.00% for TP. This makes the visual results and monthly totals more accurate, personalized, and aligned with the trader’s real risk configuration.
Release Notes
UPDATE - 🍓
This update improves GoldenFlow’s visual customization by adding a dedicated Risk Panel Style section. Users can now independently customize the background and text colors of the panel cells, including the header, setup status, EP, SL, TP, result, monthly performance, cash at risk, SL distance, lots, Max SL, and neutral states. This gives traders full control over the panel’s appearance without affecting the operational colors used for chart lines, labels, or trade logic, making the interface cleaner, more personal, and easier to read during live analysis.
Release Notes
UPDATE - ✅
This update refines the Max SL Distance behavior in GoldenFlow. When a new BOS or ChoCh occurs after an EP has already been selected, the Max SL filter will no longer reject the setup based on the previous EP while the structure is transitioning. Instead, GoldenFlow now waits for the next valid range to form, recalculates the EP, SL, TP, and SL Distance from that updated structure, and only then determines whether the setup exceeds the user-defined Max SL limit. This keeps the Max SL filter aligned with the current range without changing the core entry logic.
Release Notes
UPDATE - ✨
This update enhances GoldenFlow with greater control over entry selection and trade protection. Users can now choose whether the EP is selected using the 50% range filter or from the latest valid imbalance open inside the range, while keeping the ChoCh fallback logic unchanged. A new Break Even Protection feature was also added, allowing the system to alert when price reaches a user-defined RR level, such as 1:1, so the trade can be protected by moving SL to entry. If price returns to the entry point after protection, the trade is closed as BE, counted as a positive result for monthly Win Rate while adding 0.00% to the monthly total. The BE result label also includes its own customizable color for clearer visual organization.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.