Python Flask TradingView API SMTP Technical Analysis

Forex Alert System

Real-Time Currency Market Monitoring & Notification Platform

Forex Alert System Interface

Screenshots

Overview

The Forex Alert System is a sophisticated monitoring tool designed for currency traders who need instant notifications when technical conditions are met. Built with Python, it continuously tracks market data, analyzes price action using custom algorithms, and delivers alerts via email or SMS, ensuring traders never miss a setup.

24/7
Market Uptime
5+
Indicators
<1s< /div>
Alert Latency

Problem Statement

Traders cannot monitor charts 24/7. Missing key entry points leads to:

  • Lost profit opportunities
  • Emotional trading / FOMO
  • Inconsistent strategy execution
  • Sleep deprivation from watching markets

Solution

An automated alert engine that:

  • Monitors multiple pairs simultaneously
  • Tracks technical levels (Support/Resistance, RSI, MA crosses)
  • Sends instant notifications to mobile devices
  • Logs historical alerts for performance analysis
  • Reduces screen time while increasing market coverage

System Architecture

Core Components

1

Data Ingestion

Real-time websocket connection to Forex brokers / TradingView

2

Analysis Engine

Python Pandas & TA-Lib for calculating indicators

3

Alert Logic

Rule-based engine defining trigger conditions

4

Notification Service

SMTP (Email) and Twilio (SMS) integrations

5

User Dashboard

HTML/JS Frontend for configuring alerts

Key Features

📈 Price Level Alerts

Set specific price targets for majors (EUR/USD, GBP/USD). System triggers when price touches or crosses the level.

📊 Indicator Confluence

Complex alerts like "RSI < 30 AND Price at Support". Filters out noise and focuses on high-probability setups.

⏰ Multi-Timeframe Analysis

Scan charts across M15, H1, H4, and Daily timeframes concurrently to spot trends and entry triggers.

📧 Instant Delivery

Low-latency notifications ensured via optimized SMTP relay and async processing queues.

Technical Stack

Backend & Logic

  • Python 3.9+
  • Flask
  • Pandas
  • TA-Lib
  • Celery (Async Tasks)

Data & Integrations

  • yfinance / AlphaVantage API
  • SQLite Database
  • SMTP / Gmail API
  • Twilio (SMS)

Frontend

  • HTML5 / Jinja2 Templates
  • CSS3 (Custom Dashboard)
  • JavaScript (ChartJS)
  • Bootstrap 5