OPEN-SOURCE SCRIPT
Az's EMA Scalper with Trend Confirmation (Fast TF)

Az's EMA Scalper with Trend Confirmation combines fast-moving average signals with multi-timeframe trend analysis for precision intraday trading. The strategy uses a customizable moving average (7 types including EMA, HMA, ALMA) applied to Heikin-Ashi or regular candles on user-defined timeframes.
Core Mechanics:
Trend Identification:
Calculates MA values for open/close/high/low prices
Determines trend direction Bullish (green) and bearish (red)
Entry Signals:
Long entries when MA_close crosses above MA_open
Short entries when MA_close crosses below MA_open
Trade filters: LONG/SHORT/BOTH/NONE
Risk Management:
Fixed stop loss (points)
Fixed take profit (points)
Auto-position closing for directional modes
Visual Features:
Colored trend cloud (bullish/bearish)
Optional MA plots for close/high/low
Customizable colors and transparency
Optimized For:
Fast timeframes (1-15min charts)
Configurable trend confirmation (any higher timeframe)
Backtesting window control
The strategy simplifies price action into clear visual trends while maintaining flexibility through 15+ input parameters. Trades align with the dominant trend direction shown by the colored MA cloud, with exits triggered by profit targets, stop losses, or counter-trend MA crosses.
Core Mechanics:
Trend Identification:
Calculates MA values for open/close/high/low prices
Determines trend direction Bullish (green) and bearish (red)
Entry Signals:
Long entries when MA_close crosses above MA_open
Short entries when MA_close crosses below MA_open
Trade filters: LONG/SHORT/BOTH/NONE
Risk Management:
Fixed stop loss (points)
Fixed take profit (points)
Auto-position closing for directional modes
Visual Features:
Colored trend cloud (bullish/bearish)
Optional MA plots for close/high/low
Customizable colors and transparency
Optimized For:
Fast timeframes (1-15min charts)
Configurable trend confirmation (any higher timeframe)
Backtesting window control
The strategy simplifies price action into clear visual trends while maintaining flexibility through 15+ input parameters. Trades align with the dominant trend direction shown by the colored MA cloud, with exits triggered by profit targets, stop losses, or counter-trend MA crosses.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.