PROTECTED SOURCE SCRIPT
已更新

Easy Gold Buy/Sell

455
VetriFX Hub - XAUUSD is an advanced momentum-based trend following indicator specifically optimized for gold. It utilizes a multi-layered confirmation system to identify high-probability entries.

Key Features:
Dynamic Trend Engine: Automatically switches bias based on Federal Interest Rate differentials or manual user selection.

Momentum Confirmation: Uses "N-Candle" streak logic combined with body-size momentum filters to ensure strong trade participation.

Active Trade Management: Features real-time, self-cleaning Take Profit (TP) and Stop Loss (SL) visual levels that appear only when a trade is active.

On-Chart Dashboards: Includes a performance tracker (Win Rate/Total Trades) and a global market session visualizer (Sydney, Tokyo, London, New York).

Multi-Style Support: Compatible with both standard OHLC and Heikin Ashi candle types.
發行說明
VetriFX Hub
發行說明
NEW UPDATE: LIVE ALERTS NOW ACTIVE This indicator has been updated to support full TradingView alerts. You can now receive instant Buy/Sell notifications directly to your phone, email, or desktop.


🔔 How to Set Up Alerts:

Add Easy Gold Buy/Sell to your XAUUSD chart.

Click the "Alerts" (Clock Icon) on the right sidebar.

Select Condition: Easy Gold Buy/Sell.

Choose "Buy Signal" or "Sell Signal".

Select "Once Per Bar Close" (Important!).

Check "Notify on App" and "Play Sound".
發行說明
1. CORE TREND & SAFETY ARCHITECTURE
Smart Chart Detection Protocol: A background safety check that instantly detects the chart type. If the user is not on Heikin Ashi, it triggers a "Visual Lockout" (Red Screen) to prevent false signals.

Trend Direction Filter: A manual "Master Switch" (trendSelection) that forces the algorithm to look only for specific setups (UPTREND, DOWNTREND, or SIDEWAYS).

Data Integrity Engine: Uses request.security to pull Heikin Ashi data from the backend, ensuring the mathematical calculation of trends remains stable regardless of visual volatility.

2. INTELLIGENT TRADE MANAGEMENT SYSTEM
Auto-Entry Calculation: Captures the exact close price of the signal candle as the Entry Price.

Dynamic Risk Management: Automatically calculates Take Profit (TP) and Stop Loss (SL) levels based on user-defined percentage inputs (tpPercent, slPercent).

Exit Logic Monitor: Tracks price action bar-by-bar after entry.

Win Condition: Checks if High >= TP (for Buys) or Low <= TP (for Sells).

Loss Condition: Checks if Low <= SL (for Buys) or High >= SL (for Sells).

3. DYNAMIC VISUALIZATION SUITE
Smart Graphics Cleanup: A utility function (deleteOldGraphics) that automatically removes old TP/SL lines and labels when a new signal appears, keeping the chart clean.

Contextual Candle Coloring: Dynamically changes candle colors to provide instant visual feedback:

Aqua: Buy Signal

Yellow: Sell Signal

Green: Winning Trade

Red: Losing Trade

Weekly Range Mapper: Plots dashed lines representing the 7-Day High and 7-Day Low, providing visible support and resistance zones.

4. PROFESSIONAL PERFORMANCE ANALYTICS
Dual-Mode Backtester: A switch that allows users to toggle between Visible Range Analysis (current screen) and Monthly Backtest Mode (specific historical month).

Growth Calculator: An algorithm that computes the Net Estimated Growth based on the formula: (Total Wins * TP%) - (Total Losses * SL%).

Live Dashboard: A table in the bottom-right corner that displays Real-Time Stats (Win Rate, Total Trades, Trade Mix) and active Signal Parameters.

5. REAL-TIME ALERT SYSTEM
Dynamic Alert Messages: Generates a custom text string for every signal containing the exact Entry Price, TP Level, and SL Level.

Server-Side Hooks: Includes alertcondition() functions for "VetriFX BUY" and "VetriFX SELL," allowing the script to be connected to external trading bots or mobile push notifications.

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。