Trend Signal with Alert

■ Display Settings
Simple View: Enables a minimal visual mode using a global transparency value.
Simple View Transparency: Controls opacity when Simple View is active.
■ Theme Settings
Theme: Selects one of six predefined color themes (BASIC, CYBER_PINK, FUTURE_MINT, MODERN_MINIMAL, OCEAN_WAVE, GOLD_LUXURY).
Each theme automatically sets up-trend main/glow colors and down-trend main/glow colors.
■ Custom Color Settings
Use Custom Colors: Overrides theme colors with user-defined colors.
Down Main / Down Glow: Colors applied when open > close.
Up Main / Up Glow: Colors applied when close ≥ open.
■ Line Settings
Line Width: Thickness of the main trend lines.
Glow Width: Thickness of glow lines.
Main Line Transparency: Opacity for main lines.
Glow Transparency: Opacity for glow layers.
Fill Transparency: Opacity for the area-fill between open and close plots.
■ Heiken Ashi Calculation
The script uses TAExt.heiken_ashi to generate smoothed Heiken Ashi values with:
Pre-HA smoothing (length + selectable MA type),
Post-HA smoothing (length + selectable MA type),
resulting in cleaner, noise-reduced trend representation.
■ Trend Color Logic
The indicator determines trend direction as:
Down Trend: open > close → applies MAIN_UP / GLOW_UP colors.
Up Trend: close ≥ open → applies MAIN_DOWN / GLOW_DOWN colors.
Colors adapt automatically to theme, Simple View, or custom settings, with dynamic transparency adjustments.
■ Plotting Structure
The script plots four main components:
1. Main Trend Lines
Two primary lines (open and close HA values) using main_color and user-selected line width.
2. Area Fill
A fill between the open and close plots using fill_color, providing visual body thickness.
3. Glow Layer
Multiple glow lines around the HA structure (o and c) using glow_color and reduced opacity for a layered halo effect.
4. Simplified Mode Support
When Simple View is enabled, all colors dynamically shift to a unified transparency for a softer minimal look.
■ Core Behavior
The indicator does not generate signals or predictions; it purely visualizes trend conditions using smoothed Heiken Ashi values enriched by color styling, glow layers, and theme customization.
■ Purpose
Provide a visually enhanced smoothed trend indicator.
Improve trend recognition through glow effects and area fills.
Offer flexible visual themes and full customization.
Support clean minimal mode for distraction-free charting.
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact c9indicator directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Disclaimer
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact c9indicator directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.