All indicators

Full Crypto Swing Strategy ALMA Cross with MACD

Aug 29, 2021

Static chart image
SignalsOscillatorsCandlestickMoney ManagementMoving Averages

The Full Crypto Swing Strategy ALMA Cross with MACD indicator is a comprehensive trading tool designed to capture medium-to-long-term trends in the cryptocurrency markets using a combination of moving average crossovers and momentum confirmation. It specifically utilizes the Arnaud Legoux Moving Average (ALMA) for reduced lag and smoother filtering, paired with the MACD histogram to validate trend strength.

Usage

The strategy is optimized for higher timeframes, such as the 4-hour (4h) and daily (D) charts, where market noise is reduced.

  • Long Entry: Triggered when the Fast ALMA crosses above the Slow ALMA while the MACD histogram is ascending (higher than the previous bar).
  • Short Entry: Triggered when the Fast ALMA crosses below the Slow ALMA while the MACD histogram is descending (lower than the previous bar).
  • Exits: Positions are closed based on predefined percentage-based Take Profit (TP) and Stop Loss (SL) levels, or upon receiving an opposite entry signal.

Details

This strategy integrates two main technical components to identify high-probability swing setups:

  1. ALMA (Arnaud Legoux Moving Average): Unlike standard exponential or simple moving averages, ALMA uses a Gaussian distribution to provide a superior balance between smoothness and responsiveness. This helps in identifying the core trend while filtering out minor price fluctuations.
  2. MACD Histogram: Acts as a secondary momentum filter. By requiring the histogram to be trending in the direction of the ALMA cross, the strategy avoids entries where momentum is already fading.

Users also have the option to calculate all signals based on Heikin Ashi candles, which can further smooth the data and reduce premature exits in volatile crypto environments.

Settings

ALMA & MACD

  • Length Size Fast: The window size for the fast ALMA line.
  • Length Size Slow: The window size for the slow ALMA line.
  • Offset: Adjusts the ALMA smoothness (0.85 is more responsive, higher values are smoother).
  • Sigma: Controls the focus of the ALMA Gaussian filter.
  • Fast/Slow Length: Parameters for the internal MACD calculation.
  • Signal Smoothing: The smoothing period for the MACD signal line.

Risk Management

  • Take Profit Long/Short (%): The percentage gain required to trigger a take-profit exit.
  • Stop Loss Long/Short (%): The maximum percentage loss allowed before a stop-loss exit.

Calculation & Timeframe

  • Use Heikin Ashi Candles: When enabled, the script uses Heikin Ashi price data for all internal calculations instead of standard candles.
  • From/To Date: Defines the backtesting window for the strategy.

FAQ

How do I access Full Crypto Swing Strategy ALMA Cross with MACD?

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

What timeframes work best for this strategy?

While it can be used on any timeframe, it is specifically designed for swing trading on the 4-hour chart and above to capture significant market moves.

Can I change the risk-to-reward ratio?

Yes, the Take Profit and Stop Loss settings for both Long and Short positions are fully adjustable in the settings menu to fit your specific risk profile.

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.