Back to Tutorials
Automation - Intermediate

Custom Alerts System

Never miss a signal - get instant notifications on phone, email, and desktop

📖 12 min read 👁️ 2,600 views 📅 Updated today

📋 Table of Contents

You can't watch charts 24/7. Alerts let GAIN OPTIMIZER notify you the instant a high-quality setup appears, so you never miss opportunities.

1. Why Use Alerts

Professional traders use alerts to maximize efficiency without screen time burnout.

The Screen Time Problem

⚠️ Without Alerts
  • Must watch charts 8+ hours daily
  • Miss signals when away from computer
  • Mental fatigue from constant monitoring
  • Eye strain and health issues
  • Opportunity cost (can't do other work)
✅ With Alerts
  • Get notified instantly on any device
  • Check chart only when signal appears
  • Trade while working, traveling, or relaxing
  • Mental freshness for better decisions
  • Better work-life balance

Professional Benefits

Benefit Without Alerts With Alerts Impact
Response Time 5-60 minutes 30-120 seconds Better entries
Signals Caught 40-60% 95-100% More opportunities
Screen Time 6-10 hours/day 1-2 hours/day Better health
Trading Quality Fatigue errors Fresh decisions Higher win rate

2. Alert Types Available

GAIN OPTIMIZER supports multiple alert conditions. Here's what you can monitor.

Signal Alerts

BUY/SELL Signal Alerts

Get notified when:

  • New BUY signal appears
  • New SELL signal appears
  • Signal meets your confluence threshold

Alert message includes:

  • Signal type (BUY/SELL)
  • Price level
  • Confluence score (X/7)
  • ADX value
  • Timeframe

Example notification:

🟢 GAIN OPTIMIZER: BUY Signal
XAUUSD M15
Price: 2645.50
Score: 6/7 | ADX: 28

Peak Profit Alerts

Exit Opportunity Alerts

Get notified when:

  • Peak Profit label appears (trend exhaustion)
  • Optimal exit point detected
  • Maximum profit zone reached

Use case:

You entered a trade and want to be alerted when it's time to exit for maximum profit.

Metric-Based Alerts

Condition Alerts

Alert when specific conditions met:

  • ADX crosses above/below threshold - Trend strength change
  • RSI enters oversold/overbought - Extreme levels
  • Trend changes direction - Supertrend flip
  • Price crosses EMA - Support/resistance test
  • Confluence score reaches X/7 - Quality filter

Price Action Alerts

Level Alerts

Alert when price action occurs:

  • Price crosses specific level
  • New high/low formed
  • Support/resistance touched
  • Breakout from consolidation

3. Setting Up Alerts

TradingView makes alert setup simple. Here's the step-by-step process.

Method 1: Quick Alert (One Click)

Steps

  1. Open chart with GAIN OPTIMIZER
  2. Click clock icon (⏰) in top toolbar
  3. Or right-click on indicator name → "Add alert on GAIN OPTIMIZER"
  4. TradingView creates default alert
  5. Click "Create" to activate

Default alert: Notifies on any indicator condition

Method 2: Custom Alert (Recommended)

Complete Setup Process

Step 1: Open Alert Creation

  1. Click clock icon (⏰) top-right
  2. Click "Create Alert" button
  3. Alert dialog opens

Step 2: Configure Condition

  • Condition 1: Select "GAIN OPTIMIZER"
  • Condition 2: Choose trigger:
    • "Any alert() function call" (all signals)
    • Or specific condition

Step 3: Set Alert Actions

  • Alert name: "GAIN OPTIMIZER BUY M15" (descriptive)
  • Trigger: "Once Per Bar Close" (recommended)
  • Expiration: "Open-ended" (never expires)

Step 4: Choose Notification Methods

  • ☑️ Notify on app - Mobile push notification
  • ☑️ Show popup - Desktop alert when on TradingView
  • ☑️ Send email - Email notification
  • Webhook URL - For automation (advanced)

Step 5: Customize Message

🟢 GAIN OPTIMIZER: {{ticker}}
Signal: BUY
Price: {{close}}
Time: {{time}}
Timeframe: {{interval}}

Step 6: Create Alert

  • Review all settings
  • Click "Create"
  • Alert now active!
📸 Screenshot: Alert Creation Dialog

Alert Frequency Options

Frequency Behavior Best For Alert Volume
Only Once Fires once, then stops Specific price levels 1 alert total
Once Per Bar Max 1 alert per candle Scalping M1-M5 High (12-60/hour)
Once Per Bar Close Alert when bar closes M15+ (RECOMMENDED) 4-8/hour
Every Time Every tick that meets condition Rarely useful 100s per minute
💡 Best Practice

Use "Once Per Bar Close" for 99% of alerts.

Why? Prevents false alerts from candles that form signals mid-bar but close without confirmation. Only confirmed signals trigger alerts.

4. Advanced Alert Strategies

Go beyond basic alerts with these professional configurations.

Multi-Condition Alerts

Combining Multiple Filters

Example: High-Quality Signals Only

Create alert that fires ONLY when:

  • GAIN OPTIMIZER signal appears
  • AND confluence ≥ 6/7
  • AND ADX > 25
  • AND trend filter aligned

Setup:

  1. Settings → Filters → Set minimum confluence to 6/7
  2. Settings → Filters → Set ADX threshold to 25
  3. Settings → Filters → Enable "Filter by Trend"
  4. Create alert on "Any alert() function call"
  5. Now only premium setups trigger alerts

Result: 2-4 alerts per day instead of 12-15, but 85%+ win rate

Session-Specific Alerts

Trade Only Best Hours

Goal: Only get alerts during London-NY overlap (8 AM - 12 PM EST)

Method:

  1. Create separate charts for different sessions
  2. Set alert on "London-NY" chart only
  3. Use chart timezone = America/New_York
  4. Disable other session charts when away

Alternative: Some brokers offer session filtering in alerts

Tiered Alert System

Priority-Based Notifications

Setup 3 alert tiers:

Tier 1: Premium Signals (6-7/7 confluence)

  • Push notification + Email + Sound
  • Immediate response required
  • 2-4 alerts per day

Tier 2: Standard Signals (5/7 confluence)

  • Push notification only
  • Check when convenient
  • 6-10 alerts per day

Tier 3: Monitoring (4/7 confluence)

  • Email only, no sound
  • Review end of day
  • 15-20 alerts per day

Implementation:

  • Create 3 separate charts with different settings
  • Name clearly: "GOLD M15 PREMIUM", "GOLD M15 STANDARD", "GOLD M15 WATCH"
  • Configure alerts with appropriate notification methods

Pair-Watching System

Monitor Multiple Assets

Common setup:

  • XAUUSD (Gold)
  • EURUSD
  • GBPUSD
  • BTCUSD

Alert configuration:

  1. Create chart for each asset
  2. Apply GAIN OPTIMIZER to each
  3. Create alerts with asset name in title
  4. Use same settings across all charts

Result: Get notified of opportunities across portfolio

5. Mobile Notifications

Mobile alerts are the most practical for active traders. Here's how to optimize them.

TradingView Mobile App Setup

Initial Configuration

  1. Download TradingView app (iOS/Android)
  2. Login with your account
  3. Enable push notifications:
    • Phone Settings → TradingView → Notifications → Allow
  4. Configure in-app settings:
    • TradingView app → Profile → Settings → Notifications
    • Enable "Alert notifications"
    • Choose sound (distinct, not default)
  5. Test alert:
    • Create simple price alert
    • Verify notification received

Notification Best Practices

✅ Mobile Alert Optimization
  • Use descriptive names: "GOLD M15 BUY 6/7" not "Alert 1"
  • Custom sound: Different from other apps
  • Badge count: Enable to see unread alerts
  • Lock screen display: Allow for instant visibility
  • Do Not Disturb exception: Add TradingView to allowed apps

Managing Alert Fatigue

⚠️ Too Many Alerts = Ignored Alerts

If you get 50+ alerts per day, you'll start ignoring them.

Solutions:

  • Increase confluence threshold (5/7 → 6/7)
  • Limit to specific session (overlap only)
  • Use tiered system (premium alerts only to phone)
  • Consolidate timeframes (trade H1 instead of M5)
  • Take weekends OFF (disable alerts Friday evening)

6. Alert Management

Proper alert management prevents chaos and maintains effectiveness.

Alert Limits by Account Type

TradingView Plan Active Alerts Cost Recommendation
Free 1 alert $0 Not practical
Essential 20 alerts $12.95/mo Good for 1-2 pairs
Plus 100 alerts $24.95/mo Good for 3-5 pairs
Premium 400 alerts $49.95/mo Multiple pairs + timeframes

Organizing Your Alerts

Naming Convention

Use consistent format:

[ASSET] [TIMEFRAME] [TYPE] [QUALITY]

Examples:
✅ "GOLD M15 BUY 6/7"
✅ "EUR H1 SELL PREMIUM"
✅ "BTC M30 PEAK PROFIT"
✅ "GBP M15 BUY STANDARD"

Benefits:

  • Instantly know what triggered
  • Easy to find and edit
  • Professional organization

Weekly Alert Maintenance

Sunday Evening Routine

  1. Review alert list
    • Delete outdated/unused alerts
    • Check none expired
  2. Test one alert
    • Ensure notifications still working
    • Verify sound/vibration
  3. Plan week
    • Which pairs to focus on?
    • Any news events to avoid?
    • Enable/disable as needed
  4. Check alert quota
    • How many alerts used?
    • Room for additions?

What You've Learned

🎓 Alert System Mastery
  • ✅ Alerts free you from constant chart watching
  • ✅ Use "Once Per Bar Close" frequency
  • ✅ Set up tiered system (premium/standard/watch)
  • ✅ Enable mobile push notifications
  • ✅ Use descriptive naming convention
  • ✅ Limit alerts to avoid fatigue (10-20/day max)
  • ✅ Review and cleanup weekly
  • ✅ Essential or Plus plan minimum recommended
💡 Quick Start Guide
  1. Today: Create your first GAIN OPTIMIZER alert
  2. This week: Test with confluence 5/7
  3. Next week: If too many alerts, increase to 6/7
  4. Refine: Find your sweet spot (4-10 alerts/day)
← Market Structure Analysis Backtesting & Optimization →