OPEN-SOURCE SCRIPT
Feynman Renormalization: Armed Confluence & Risk Framework [Aht]

The Philosophy
This strategy is built on the principle of Price Renormalization. In high-leverage markets (like XAU/USD), price rarely moves in a straight line; it oscillates between energy states. This script identifies when the "Energy" (Trend + Volume + Momentum) has reached a critical threshold—an Armed State—before committing capital.
Core Mechanics
The system operates on a 16-point proprietary scoring engine that filters for high-probability institutional order flow:
Macro Energy (EMA 200): Ensures alignment with the primary institutional trend.
Volume Weighting: Confirms that price movement is backed by real participation, not just retail noise.
Confluence Scoring: An "Armed" status is only triggered when the Min Score (Default: 10) is met across four technical dimensions.
Dynamic Renormalization Levels: Uses ATR-based stop-entry levels to ensure we only enter when price breaks out of the "Noise Box."
Visual Intelligence
The script features a dynamic Visual Risk Box:
Aqua/Orange Axis: Real-time tracking of the Renorm levels.
Bold White Transition: The borders turn bold white the moment the system is ARMED, providing an immediate visual cue for the user to prep for execution.
Visual Intelligence
The script features a dynamic Visual Risk Box:
Aqua/Orange Axis: Real-time tracking of the Renorm levels.
Bold White Transition: The borders turn bold white the moment the system is ARMED, providing an immediate visual cue for the user to prep for execution.
Technical Specifications
Strategy Type: Trend-Following / Breakout.
Instruments: Optimized for XAU/USD, BTC/USD, and Major Forex pairs.
Timeframe: Recommended 15m or 1H for optimal confluence.
Execution: Orders are processed on the close of the confirming bar to prevent "repainting" or false triggers.
How to Use
Monitor the Label: The top-right label will switch from "Scanning" to "🔥 ARMED" when confluence is high.
The Risk Box: Watch the aqua and orange borders. When they turn Bold White, the strategy is actively placing stop-orders.
Adjust the Sensitivity: Increase the Min Score (default 10) for more conservative, high-quality signals, or decrease it for more frequent "scalp" opportunities.
Disclaimer
This is a quantitative strategy for educational and research purposes. Given the leverage potential in financial markets, always use a disciplined risk management approach.
Instructions for You (PineScript Check)
Version: I've confirmed this uses //version=6. Ensure your TradingView editor is set to V6 (the latest standard).
Performance: I included process_orders_on_close=true. This ensures your backtest results are realistic and not inflated by intra-bar "cheating."
Visuals: The white border transition is the "hook" that makes this look like a premium institutional tool.
This strategy is built on the principle of Price Renormalization. In high-leverage markets (like XAU/USD), price rarely moves in a straight line; it oscillates between energy states. This script identifies when the "Energy" (Trend + Volume + Momentum) has reached a critical threshold—an Armed State—before committing capital.
Core Mechanics
The system operates on a 16-point proprietary scoring engine that filters for high-probability institutional order flow:
Macro Energy (EMA 200): Ensures alignment with the primary institutional trend.
Volume Weighting: Confirms that price movement is backed by real participation, not just retail noise.
Confluence Scoring: An "Armed" status is only triggered when the Min Score (Default: 10) is met across four technical dimensions.
Dynamic Renormalization Levels: Uses ATR-based stop-entry levels to ensure we only enter when price breaks out of the "Noise Box."
Visual Intelligence
The script features a dynamic Visual Risk Box:
Aqua/Orange Axis: Real-time tracking of the Renorm levels.
Bold White Transition: The borders turn bold white the moment the system is ARMED, providing an immediate visual cue for the user to prep for execution.
Visual Intelligence
The script features a dynamic Visual Risk Box:
Aqua/Orange Axis: Real-time tracking of the Renorm levels.
Bold White Transition: The borders turn bold white the moment the system is ARMED, providing an immediate visual cue for the user to prep for execution.
Technical Specifications
Strategy Type: Trend-Following / Breakout.
Instruments: Optimized for XAU/USD, BTC/USD, and Major Forex pairs.
Timeframe: Recommended 15m or 1H for optimal confluence.
Execution: Orders are processed on the close of the confirming bar to prevent "repainting" or false triggers.
How to Use
Monitor the Label: The top-right label will switch from "Scanning" to "🔥 ARMED" when confluence is high.
The Risk Box: Watch the aqua and orange borders. When they turn Bold White, the strategy is actively placing stop-orders.
Adjust the Sensitivity: Increase the Min Score (default 10) for more conservative, high-quality signals, or decrease it for more frequent "scalp" opportunities.
Disclaimer
This is a quantitative strategy for educational and research purposes. Given the leverage potential in financial markets, always use a disciplined risk management approach.
Instructions for You (PineScript Check)
Version: I've confirmed this uses //version=6. Ensure your TradingView editor is set to V6 (the latest standard).
Performance: I included process_orders_on_close=true. This ensures your backtest results are realistic and not inflated by intra-bar "cheating."
Visuals: The white border transition is the "hook" that makes this look like a premium institutional tool.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.