Triple EMA Trend Strength

Triple EMA Trend Strength NinjaTrader 8 indicator screenshot

Description

The Triple EMA Trend Strength indicator is a powerful tool designed for NinjaTrader 8 that analyzes market trends by applying three Exponential Moving Averages (EMAs) to the High, Low, and Close prices of a trading instrument. This indicator identifies and confirms trends by ensuring that price movements adhere to specific criteria, including the relationship between price and EMAs, the slope of the EMAs, and the Average True Range (ATR). It is ideal for trend-following strategies, providing traders with a robust method for assessing market momentum and validating trend signals.

Key Features:

  • Triple EMA Application: Applies separate EMAs to the High, Low, and Close prices to determine trend direction.
  • Price Touch Analysis: Confirms trends based on the number of bars that do not touch the lower or upper EMA.
  • Slope Calculation: Analyzes the slope of the EMAs to ensure that the trend is strong enough, using a customizable segment length.
  • ATR-Based Slope Validation: Utilizes the ATR to validate the minimum slope required for a trend to be considered significant.
  • Maximum Slope Evaluation: Measures the maximum slope over a defined period and compares it to the current slope to validate trend strength.
  • Visual Plotting: Displays uptrend, downtrend, and no trend conditions on the chart using different color-coded plots.

Tips for Implementation:

  • Strategic Confirmation: Combine this indicator with support and resistance levels or other trend indicators to confirm trade entries.
  • Volatility Filtering: Adjust the Min ATR Multiple to filter out trends that do not meet the required volatility conditions.
  • Parameter Customization: Fine-tune the EMAPeriod, Slope Period, and Min Slope Percentage to adapt the indicator to different trading instruments and timeframes.
  • Complementary Indicators: Use in conjunction with other indicators like the Relative Strength Index (RSI) or Bollinger Bands to enhance trend confirmation.
  • Backtesting Necessity: Always backtest this indicator across different market conditions to optimize its parameters and ensure its effectiveness in your trading strategy.

Parameters

EMA Period

  • Type: int
  • Description: The period used for calculating the EMAs on High, Low, and Close prices.
  • Default Value: 34
  • Valid Values: Any positive integer.

Min Bars Without Touch

  • Type: int
  • Description: The minimum number of bars during which the High (for uptrends) or Low (for downtrends) should not touch the lower or upper EMA respectively.
  • Default Value: 5
  • Valid Values: Any positive integer.

Segment

  • Type: int
  • Description: The number of bars used to calculate the segment for determining the slope of the trend.
  • Default Value: 5
  • Valid Values: Any positive integer.

Min ATR Multiple

  • Type: double
  • Description: The multiple of the ATR that determines the minimum slope of the segment required to confirm a trend.
  • Default Value: 0.1
  • Valid Values: Any positive number.

Slope Period

  • Type: int
  • Description: The period over which the maximum slope of the EMAs is calculated.
  • Default Value: 10
  • Valid Values: Any positive integer.

Min Slope Percentage

  • Type: int
  • Description: The minimum percentage of the maximum slope required to validate the trend direction.
  • Default Value: 20
  • Valid Values: 0 - 100 (percentage).

Plots

Trend Up

  • Type: Plot
  • Style: Bar
  • Color: Green
  • Description: Indicates an uptrend when the necessary conditions are met. The plot shows green bars during periods of confirmed uptrends.

Trend Down

  • Type: Plot
  • Style: Bar
  • Color: Red
  • Description: Indicates a downtrend when the necessary conditions are met. The plot shows red bars during periods of confirmed downtrends.

No Trend

  • Type: Plot
  • Style: Bar
  • Color: Alice Blue
  • Description: Indicates periods where no significant trend is identified. The plot shows light blue bars during these periods.

Build Your Trading Edge

Get The Playbook — our weekly email: NinjaTrader indicator breakdowns, structured order-flow setups, and what we’re actually testing. No hype, no signals.

No spam, unsubscribe anytime. See our Privacy Policy.