OPEN-SOURCE SCRIPT
SCALP AI

This script is a collection of various trading concepts and indicators integrated into a single Pine Script file. I would like to express my sincere gratitude to the original authors whose work, ideas, and components made this compilation possible.
Core Functionalities
Dashboard & AI Scoring System:
Features a configurable dashboard showing real-time market data.
Uses a proprietary scoring mechanism based on trend analysis (EMA 20/200), RSI, volume, VWAP, ADX, and Multi-Timeframe (MTF) alignment to output signals ("A+ SETUP" to "NO TRADE").
Trend & Filter Analysis:
Uses Exponential Moving Averages (EMA) to identify trends and simple moving averages (SMA 9, 20, 89, 200) for visual filter support.
Color-coded bar highlights based on short-term EMA 9 trends.
Session Engine:
Tracks specific market sessions (NY, London, Asia, US Pre-market) with visual markers on the chart.
Includes alerts for upcoming session starts.
Levels & Price Action:
Automatically plots Daily Open, High of Day (HOD), and Low of Day (LOD) levels with extendable lines.
Features an advanced Supply & Demand zone detection system that ranks zones based on strength, mitigates broken zones, and visualizes zone strength using bar-based meters.
Multi-Timeframe Data:
Integrates multiple daily EMAs (3, 9, 20, 50, 100, 200) to help gauge long-term momentum alongside the short-term scalping logic.
The script leverages complex array structures to manage active supply and demand zones, ensuring that invalid or "broken" zones are removed from the chart, while keeping the most relevant ones ranked by a calculated score. It also utilizes request.security for multi-timeframe data fetching to provide a broader context for the current chart timeframe.
Core Functionalities
Dashboard & AI Scoring System:
Features a configurable dashboard showing real-time market data.
Uses a proprietary scoring mechanism based on trend analysis (EMA 20/200), RSI, volume, VWAP, ADX, and Multi-Timeframe (MTF) alignment to output signals ("A+ SETUP" to "NO TRADE").
Trend & Filter Analysis:
Uses Exponential Moving Averages (EMA) to identify trends and simple moving averages (SMA 9, 20, 89, 200) for visual filter support.
Color-coded bar highlights based on short-term EMA 9 trends.
Session Engine:
Tracks specific market sessions (NY, London, Asia, US Pre-market) with visual markers on the chart.
Includes alerts for upcoming session starts.
Levels & Price Action:
Automatically plots Daily Open, High of Day (HOD), and Low of Day (LOD) levels with extendable lines.
Features an advanced Supply & Demand zone detection system that ranks zones based on strength, mitigates broken zones, and visualizes zone strength using bar-based meters.
Multi-Timeframe Data:
Integrates multiple daily EMAs (3, 9, 20, 50, 100, 200) to help gauge long-term momentum alongside the short-term scalping logic.
The script leverages complex array structures to manage active supply and demand zones, ensuring that invalid or "broken" zones are removed from the chart, while keeping the most relevant ones ranked by a calculated score. It also utilizes request.security for multi-timeframe data fetching to provide a broader context for the current chart timeframe.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.