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.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。