All indicators

MACD - EURUSD - 1min Long Only

Mar 3, 2019

Static chart image
SignalsOscillatorsMoving Averages

The MACD - EURUSD - 1min Long Only indicator is a strategy tool designed to identify long entry opportunities on low timeframes by detecting mean-reversion setups when the MACD and signal lines are in deeply oversold territory.

Usage

This strategy is specifically tuned for the EURUSD 1-minute chart, focusing exclusively on long positions. An entry is triggered when the MACD line crosses above the signal line while both are below a specific threshold (set at -0.00025). This approach aims to capture reversals in an "under-bought" or oversold trend.

The strategy exits the long position when the MACD line crosses over the histogram value, signaling a potential loss in bullish momentum. Users can monitor the color-coded histogram to gauge the strength of the move:

  • Green: Increasing bullish or decreasing bearish momentum.
  • Red: Increasing bearish or decreasing bullish momentum.

Details

The strategy utilizes the standard Moving Average Convergence Divergence (MACD) construction, calculating the difference between a fast and a slow moving average. By requiring the crossover to occur below a fixed negative threshold, the script attempts to filter out "noise" crossovers that occur near the zero line, focusing instead on significant price exhaustion points.

The implementation allows for switching between Exponential Moving Averages (EMA) and Simple Moving Averages (SMA) for both the oscillator and the signal line, providing flexibility in how the trend smoothing is calculated.

Settings

  • Fast Length: Sets the period for the shorter moving average used in the MACD calculation.
  • Slow Length: Sets the period for the longer moving average used in the MACD calculation.
  • Source: Determines the price data used for calculations (e.g., Close, Open, HL2).
  • Signal Smoothing: Adjusts the period of the moving average applied to the MACD line to create the Signal line.
  • Simple MA(Oscillator): When enabled, uses SMA instead of EMA for the fast and slow lengths.
  • Simple MA(Signal Line): When enabled, uses SMA instead of EMA for the signal line smoothing.

FAQ

How do I use this strategy for other pairs?

While optimized for EURUSD on a 1-minute timeframe, you can experiment with other pairs by adjusting the hardcoded threshold in the script or modifying the length settings to suit different volatility profiles.

What do the histogram colors represent?

Bright green and bright red columns represent increasing momentum in their respective directions (bullish/bearish), while faded colors represent a deceleration in that momentum.

How can I access MACD - EURUSD - 1min Long Only?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.