OPEN-SOURCE SCRIPT
Simple 1H Buy/Sell System - EMA + Supertrend + RSI By Gerard Dak

The simple 1H buy/sell indicator is a trend-following system designed to remove noise and only trigger trades when momentum, trend direction, and market structure align together.
Core logic:
Uses a fast EMA and slow EMA to identify the main trend
Uses RSI as a momentum filter to avoid weak setups
Uses ATR filtering to avoid low-volatility chop
Generates BUY signals only when:
Fast EMA crosses above slow EMA
RSI confirms bullish momentum
Price is above trend structure
Generates SELL signals only when:
Fast EMA crosses below slow EMA
RSI confirms bearish momentum
Price is below trend structure
The goal is:
Fewer fake signals
Cleaner entries
Better trend continuation trades
Easier visual interpretation on the 1-hour timeframe
Best market conditions:
Trending markets
NAS100, QQQ, SPY, BTC, major forex pairs
High-volume sessions (London/New York)
Avoid using it:
During sideways consolidation
Right before major news events
In extremely low volatility
Recommended 1H settings:
Fast EMA: 21
Slow EMA: 50
RSI Length: 14
RSI Buy Threshold: Above 55
RSI Sell Threshold: Below 45
ATR Filter: Enabled
Signal philosophy:
The indicator intentionally sacrifices early entries in exchange for higher-quality confirmation. It will not catch exact tops or bottoms. Instead, it tries to catch the “meat” of the move with fewer bad trades.
What makes it effective:
Multi-confirmation filtering
Trend + momentum alignment
Noise reduction
Prevents overtrading
Expected behavior:
Strong trends → excellent signals
Choppy markets → fewer signals (by design)
Win rate can be high if combined with:
Higher timeframe trend confirmation
Support/resistance
Volume analysis
Avoiding news spikes
A typical BUY setup on 1H:
Price consolidates
21 EMA crosses above 50 EMA
RSI moves above 55
Candle closes bullish above both EMAs
BUY signal appears
A typical SELL setup is the exact opposite.
The biggest mistake traders make with these systems is taking every signal blindly. The highest probability trades happen when:
4H trend agrees with 1H
Market is not overextended
Core logic:
Uses a fast EMA and slow EMA to identify the main trend
Uses RSI as a momentum filter to avoid weak setups
Uses ATR filtering to avoid low-volatility chop
Generates BUY signals only when:
Fast EMA crosses above slow EMA
RSI confirms bullish momentum
Price is above trend structure
Generates SELL signals only when:
Fast EMA crosses below slow EMA
RSI confirms bearish momentum
Price is below trend structure
The goal is:
Fewer fake signals
Cleaner entries
Better trend continuation trades
Easier visual interpretation on the 1-hour timeframe
Best market conditions:
Trending markets
NAS100, QQQ, SPY, BTC, major forex pairs
High-volume sessions (London/New York)
Avoid using it:
During sideways consolidation
Right before major news events
In extremely low volatility
Recommended 1H settings:
Fast EMA: 21
Slow EMA: 50
RSI Length: 14
RSI Buy Threshold: Above 55
RSI Sell Threshold: Below 45
ATR Filter: Enabled
Signal philosophy:
The indicator intentionally sacrifices early entries in exchange for higher-quality confirmation. It will not catch exact tops or bottoms. Instead, it tries to catch the “meat” of the move with fewer bad trades.
What makes it effective:
Multi-confirmation filtering
Trend + momentum alignment
Noise reduction
Prevents overtrading
Expected behavior:
Strong trends → excellent signals
Choppy markets → fewer signals (by design)
Win rate can be high if combined with:
Higher timeframe trend confirmation
Support/resistance
Volume analysis
Avoiding news spikes
A typical BUY setup on 1H:
Price consolidates
21 EMA crosses above 50 EMA
RSI moves above 55
Candle closes bullish above both EMAs
BUY signal appears
A typical SELL setup is the exact opposite.
The biggest mistake traders make with these systems is taking every signal blindly. The highest probability trades happen when:
4H trend agrees with 1H
Market is not overextended
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.