OPEN-SOURCE SCRIPT

EMA6–EMA18 Trend Signal System

162
This is a dual-timeframe trend-following indicator designed for intraday traders.

It combines exponential moving averages (EMAs) from two timeframes:

1-hour EMA6 and EMA18 are used to define the major trend direction.

If EMA6 > EMA18 on the hourly chart, the background turns green (indicating an uptrend).

If EMA6 < EMA18, the background turns red (indicating a downtrend).

Entry signals are triggered only on the 15-minute chart:

A long signal appears when EMA6 crosses above EMA18 during an hourly uptrend.

A short signal appears when EMA6 crosses below EMA18 during an hourly downtrend.

Signal arrows are plotted directly on the chart:

Green triangle up = Long signal

Red triangle down = Short signal

Both EMA6 and EMA18 are plotted for visual reference.

This setup helps align lower timeframe entries with higher timeframe trend confirmation, offering traders more precise entry points and reducing noise.


The script is intended for use on 15-minute charts and works best in trending markets.

© All rights reserved. Author: hank552

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.