INVITE-ONLY SCRIPT
Diupdate

[blackcat] L5 Alchemy Gold (ALGOLD)

9 841
"[blackcat] L5 Alchemy Gold (ALGOLD)" indicator is a trend-following indicator that blends volume and price data to create a MACD-like oscillator, aiming to address the lagging issue typical in price-only indicators. The integration of leading volume information with lagging price data is a smart approach to create more timely signals. Additionally, incorporating a volatility filter to reduce false signals during sideways markets is a thoughtful enhancement.

It is shaping up to be quite comprehensive. It includes:
  • - An adaptive filter for smoothing price and volume data.
  • - A volatility filter based on Average True Range (ATR).
  • - A trigger moving average for generating smoothed price information.
  • - An ALMA (Arnaud Legoux Moving Average) for further filtering of price and volume.
  • - A divergence detector to identify potential trend reversals.


Entry Criteria: A composite crossover and crossunder of the fast and slow lines of the ALGOLD oscillator.
Exit Criteria: A crossover and crossunder of the fast and slow lines of the ALGOLD oscillator, but using a lower time frame for more sensitivity.

The input parameters of "[blackcat] L5 Alchemy Gold (ALGOLD)" indicator, are categorized into three groups:

Group 1, Alchemy Setting:
  • Alchemy Sharpness (Default: 7) - Controls the sharpness of the adaptive filter.
  • Alchemy Period (Default: 55) - Determines the smoothness of the oscillator.


Group 2, DVATAR Setting:
  • DVATR Length (Default: 11) - Sets the period length for the DVATR, similar to ATR's Length.
  • DVATR Threshold (Default: 0.07) - Adjusts sensitivity for sideways market detection.
  • Smooth Length (Default: 21) - Smoothens the DVATR output, balancing with volatility detection.


Group 3, Divergence Setting:
  • Parameters like Pivot Lookback, Max/Min of Lookback Range - Sets the sensitivity for divergence detection.
  • Options to enable or disable plots for various types of divergence (Bullish, Hidden Bullish, Bearish, Hidden Bearish).


"[blackcat] L5 Alchemy Gold (ALGOLD)" indicator are vivid and intuitive:

Candle Bar Color:
Gradient color changes to indicate trend strength, with warmer colors for bullish and cooler colors for bearish trends.

Line Colors and Shapes:
  • Green color represents the fast line, red for the slow line.
  • Crosses of these lines signal entries (triangles) and exits (cross shapes).
  • A band is created between these lines, filled with green for uptrends and red for downtrends.

Histogram:
  • Red histogram for above 0 and uptrend.
  • Blue histogram for above 0 and retracement.
  • Green histogram for below 0 and downtrend.
  • Yellow histogram for below 0 and bounce-up.


Catatan Rilis
Add automatic trendlines for ALGOLD and a trendline trigger alert; This auto trend line can be turned on or off with input parameters and trend line look back bars can be set to decide how many trend line would be displayed.
Catatan Rilis
Add ghost moving average for ALGOLD for key support and resistance.
Catatan Rilis
clear up the main chart.
Catatan Rilis
Add alert() to regular bullsih divergence, hidden bullish divergence, regular bearish divergence and hidden bearish divergence.
Catatan Rilis
█ OVERVIEW

L5.2 Alchemy Gold (ALGOLD) is a comprehensive trend-following indicator that fuses multiple signal methodologies to generate high-quality entry and exit signals. It combines Kalman-filtered price analysis with Trend Strength Index (TSI) and Ehlers Predictive Average (EPA) techniques, featuring an integrated Trend Line system for visual confirmation and signal bot compatibility.

█ CONCEPTS

This indicator utilizes three core methodologies working in harmony:

Alchemy Gold Oscillator
• Kalman filter for noise reduction and price smoothing
• Volume-weighted price analysis for trend identification
• Gold/trigger line crossover system for trend direction

TSI-EPA Signal Engine
• Ehlers Predictive Average for momentum prediction
• Trend Strength Index for directional confirmation
• Transition detection for precise entry/exit timing

Signal Fusion Logic
• L6.6 TSI-EPA signals confirmed by L5 Gold trend
• Logical AND/OR modes for signal quality vs. quantity tradeoff
• Volume flow filter for additional confirmation

Trend Line System
• Fractal-based trend lines on gold oscillator
• Touch and break detection with visual labels
• Optional entry/exit signals on trend line breaks

█ HOW TO USE

Basic Setup
1 — Add the indicator to your chart
2 — Configure signal fusion mode (AND for quality, OR for quantity)
3 — Set anti-repaint mode based on your trading style
4 — Configure Signal Bot credentials if using automated alerts

Signal Interpretation
• EL (Entry Long): Bullish entry signal - L6.6 TSI-EPA transition confirmed by L5 gold uptrend
• ES (Entry Short): Bearish entry signal - L6.6 TSI-EPA transition confirmed by L5 gold downtrend
• XL (Exit Long): Close long position - TSI-EPA upper plot transitions to NA
• XS (Exit Short): Close short position - TSI-EPA lower plot transitions to NA
• TL-EL/TL-ES: Trend line break entry signals (when enabled)

Visual Elements
• Gold Line (Lime): Main oscillator showing price deviation from filtered value
• Trigger Line (Red): Signal line for gold oscillator crossovers
• Histogram[//b]: Momentum visualization with color-coded direction
• Background: Gray when volume flow condition is OFF
• Trend Lines: Red (resistance) and Lime (support) on oscillator

█ INPUT PARAMETERS

Alchemy Settings
• Alchemy Sharpness[7]: Kalman filter sensitivity (higher = more responsive)
• Alchemy Period[55]: Smoothing period for volume/price analysis

DVATR Settings
• DVATR Length[11]: Dynamic ATR calculation period
• DVATR Threshold[0.07]: Volume flow activation threshold
• Smooth Length[21]: RMS channel smoothing period

Strategy Settings
• 13-Period MA Length: Weighted MA for main trend line
• 9-Period Range Length: Price range calculation
• 60-Period RSV Length: Raw stochastic value period
• 20-Period Trend Length: Trend line smoothing
• 5-Period Signal Length: Signal line smoothing

Trend Strength Index Settings
• TSI Length[1]: Period for trend strength calculations
• EPA Smoothing[1]: Smoothing period for high/low calculations
• Trend Smoothing[3]: Smoothing period for trend plots

Signal Fusion Settings
• Use L5 Gold Trend Confirmation: Require gold oscillator trend alignment
• Use Volume Flow Filter: Additional volume-based confirmation
• Signal Fusion Mode: AND (strict) or OR (relaxed) signal logic

Anti-Repaint Settings
• Anti-Repaint Mode: conservative (confirmed bars only), balanced (95%), aggressive (80%)
• Signal Stability Ticks: Number of ticks signal must remain stable

Trendline Settings
• Trendline On/Off: Enable/disable trend line drawing
• Fractals Period[17]: Period for detecting pivot highs/lows
• Segment Range[55]: Range for trend line segment detection
• Ray Style: How to extend trend lines (None/Both/Left/Right)
• Bars Limit[34]: Maximum bars to look back for trend lines
• Show Price Labels: Display price targets at trend line extensions
• Use Trend Line Break Signals: Generate signals on trend line breaks

Signal Bot Alert Settings
• Signal Token: Authentication token from Signal Bot
• Order Type: market or limit orders
• Investment Type: margin, contract, percentage_balance, percentage_investment
• Amount: Position size for entries/exits

█ SIGNALS

Entry Signals
• Fused Long Entry: L6.6 TSI-EPA bullish transition + L5 gold uptrend confirmation
• Fused Short Entry: L6.6 TSI-EPA bearish transition + L5 gold downtrend confirmation
• Trend Line Break: Additional entry signals when oscillator breaks trend lines

Exit Signals
• Exit Long: TSI-EPA upper plot disappears (transition to NA)
• Exit Short: TSI-EPA lower plot disappears (transition to NA)

Alert Types ( Signal Bot Compatible)
• ENTER_LONG: Open long position
• ENTER_SHORT: Open short position
• EXIT_LONG: Close long position
• EXIT_SHORT: Close short position
• TL_TOUCH_UP/TL_TOUCH_DN: Trend line touch notifications
• TL_BREAK_UP/TL_BREAK_DN: Trend line break signals

█ STATUS TABLE

The indicator displays a real-time status table showing:
• Prev Pos / Cur Pos: Previous and current position state (LONG/FLAT/SHORT)
• Signal: Current active signal (EL/ES/XL/XS)
• Progress: In-bar progress percentage for realtime bars
• Gold Trend: L5 oscillator trend direction (BULL/BEAR)
• Vol Flow: Volume flow condition status (ON/OFF)
• TSI Trend: L6.6 trend strength direction (UP/DOWN)
• TrendLine: Trend line status (BRK↑/BRK↓/TCH↑/TCH↓/ON/OFF)

█ LIMITATIONS

• Designed for trending markets; may produce false signals in ranging conditions
• Signal quality depends on proper parameter tuning for specific instruments
• Trend line drawing requires sufficient price history
• Alert functionality requires TradingView premium features for external webhooks
• Anti-repaint conservative mode may delay signals by one bar
• Not suitable for very low timeframes (below 1m) due to calculation complexity

█ NOTES

• Default parameters optimized for crypto markets on 15m-4h timeframes
• For forex/equities, consider adjusting Alchemy Period and DVATR settings
• Use conservative anti-repaint mode for live trading to avoid repainting
• Signal Fusion AND mode recommended for higher quality, fewer signals
• Trend line breaks work best as confirmation, not standalone signals
• All text in this version has been translated to English for international users

═════════════════════════════════════════════════════════════════════════
For questions or feedback, use comments section below.

Pernyataan Penyangkalan

Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.