Skip to content
All library documents

Dual EMA Crossover Indicator for Trend Direction

Article Strategy library · Author: ChaoZhang

Summary

This indicator compares a shorter EMA, labeled Wave, with a longer EMA, labeled Tide. A bullish crossover changes the plotted lines and fill to a positive color, while a bearish crossover changes them to a negative color; alert conditions mark both transitions. The supplied default lengths are 20 and 200, and users can choose a price source for each average. The source also includes long and short strategy entries at the crossover points.

The accompanying configuration specifies BTC-USDT futures, four-hour bars, and fifteen-minute base data for a historical interval, but no backtest results are presented. The brief description focuses on color changes, while the source includes strategy orders, so the material combines an indicator display with example trading logic. It does not explain position sizing, transaction costs, stop placement, or risk controls, and a crossover system can react after a move has begun. Its usefulness is therefore as a simple trend signal example rather than evidence of a validated strategy.

Key ideas

  • The indicator compares two EMAs calculated from user-selected price sources.
  • Crossovers between the shorter and longer EMA change the chart colors and trigger alerts.
  • The source includes long and short entries at bullish and bearish crossovers.
  • The BTC-USDT futures configuration reports no performance results or risk controls.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.