logo
Developers

Moving Average Displaced Envelope & ATRTS

Script from: TradingViewSwingTrend followingVolatility

Utilize the Moving Average Displaced Envelope by setting percentage factors on the displaced EMA to generate buy and sell signals based on previous highs and lows interaction with the envelope. Enhance signals with Vervoort's ATR Trailing Stops to filter and validate entries, with the color-changing script indicating signal strength. Adjust envelope percentages for optimal signal quality.

Cronos/Tether (CROUSDT)

+ Moving Average Displaced Envelope & ATRTS

@ Daily

1.67

Risk Reward

6,330.56 %

Total ROI

91

Total Trades

Mantle (MNTUSD)

+ Moving Average Displaced Envelope & ATRTS

@ 4 h

1.43

Risk Reward

1,956.21 %

Total ROI

254

Total Trades

MNTUSDT SPOT (MNTUSDT)

+ Moving Average Displaced Envelope & ATRTS

@ 4 h

1.36

Risk Reward

1,625.13 %

Total ROI

242

Total Trades

KAIA / TetherUS (KAIAUSDT)

+ Moving Average Displaced Envelope & ATRTS

@ 2 h

1.22

Risk Reward

240.77 %

Total ROI

265

Total Trades

KAIA / TetherUS (KAIAUSDT)

+ Moving Average Displaced Envelope & ATRTS

@ 4 h

1.22

Risk Reward

209.27 %

Total ROI

143

Total Trades

Premium users only

Premium users can access all backtests with a Risk/Reward Ratio > 3

@ Daily

3.71

Risk Reward

1,091.16 %

Total ROI

16

Total Trades

Robinhood Markets, Inc. (HOOD)

+ Moving Average Displaced Envelope & ATRTS

@ 4 h

1.50

Risk Reward

351.28 %

Total ROI

109

Total Trades

Lucid Group, Inc. (LCID)

+ Moving Average Displaced Envelope & ATRTS

@ 15 min

1.47

Risk Reward

1,616.74 %

Total ROI

934

Total Trades

Bank of America Corporation (BAC)

+ Moving Average Displaced Envelope & ATRTS

@ 2 h

1.30

Risk Reward

1,699.80 %

Total ROI

962

Total Trades

Stellantis NV (STLAP)

+ Moving Average Displaced Envelope & ATRTS

@ 4 h

1.24

Risk Reward

639.94 %

Total ROI

429

Total Trades

IREN LIMITED (IREN)

+ Moving Average Displaced Envelope & ATRTS

@ 2 h

1.23

Risk Reward

604.45 %

Total ROI

230

Total Trades

Verizon Communications Inc. (VZ)

+ Moving Average Displaced Envelope & ATRTS

@ 4 h

1.21

Risk Reward

123.15 %

Total ROI

343

Total Trades
Create your account for free to see all 101+ backtests

Access filters, details, best timeframes, explore 100K+ backtests and more

Active Trades

Create your account to see on which symbols Moving Average Displaced Envelope & ATRTS is currently trading on.

Guide

How does the Moving Average Displaced Envelope & ATRTS strategy work ?

The Moving Average Displaced Envelope & ATRTS (MADE+ATR) strategy on TradingView combines two systems: envelope-based signals and trailing stops. It uses the exponential moving average (EMA) as its core, modified by displaced percentage factors to create the envelopes.

  • To generate trade signals, adjust the percentage factors—this determines the sensitivity of the signals. A sell is indicated when the previous high surpasses the upper envelope, while a purchase is advised if the previous low dips below the lower envelope.
  • The Average True Range (ATR) Trailing Stops component filters these envelope signals, based on Vervoort's method. An ATR calculated trailing stop adapts to price volatility, letting the position remain open during smaller fluctuations yet closing it when the trend reverses against us.
  • Envelopes and trailing stops collaborate: Only when the ATR trailing condition is met will a long trade be entered after a buy envelope signal—and similarly for a short sale after a sell signal.

This dual strategy aims to enhance decision-making by cross-verifying signals through different methods, potentially improving the accuracy of trade entries and exits.

How to use the Moving Average Displaced Envelope & ATRTS strategy ?

This trading strategy creates buying and selling signals based on the Moving Average Displaced Envelope (MADE) which are modified by a certain percentage above and below the displaced exponential moving average (EMA). Additionally, it uses an Average True Range Trailing Stop (ATRTS) to filter the MADE signals and determine stop levels for exiting the trades.

To trade this strategy manually on TradingView:

  • Apply an Exponential Moving Average (EMA) to your chart and set the period to a default value of 9.
  • Create two envelopes: one displaced above the EMA by a certain percentage (default is 0.5%) and another displaced below by the same percentage. You can use the 'Multiplier' setting in the EMA's settings to adjust the displacement percentage or calculate these manually.
  • Adjust the displacement of the EMA by 13 periods to the right, which means you look at the EMA value 13 periods ago.
  • Introduce an Average True Range (ATR) indicator with the period set to 15. Calculate a trailing stop by multiplying the ATR by 2 (ATR Multiple) and subtracting (for long positions) or adding (for short positions) this value from the close price.
  • Entry conditions: Buy signal occurs when the previous low is below the lower envelope and the close is above the ATR trailing stop. Sell signal occurs when the previous high is above the upper envelope and the close is below the ATR trailing stop.
  • Exit conditions: Close buy positions when the price closes below the ATR trailing stop and close sell positions when the price closes above the ATR trailing stop.
  • Optional: If the 'Trade reverse' option is activated (set to true), positions will be reversed when opposite conditions are met.
  • Use bar color changes to visually represent trade signals on the chart: red for sell, green for buy, and blue for hold/no position.

How to optimize the Moving Average Displaced Envelope & ATRTS trading strategy ?

Improving the "Moving Average Displaced Envelope & ATRTS" strategy through manual trading involves a meticulous approach to parameter optimization and additional technical analysis. While the strategy offers a solid foundation, several enhancements can be made:

  • Refine Percentage Factors: Experiment with different percentage factors for the displaced EMA envelopes to find the optimal setting that reduces false signals and enhances signal quality. Consider the asset's volatility when adjusting percentages.
  • Adjust Displacement Period: The default displacement is 13 periods; however, depending on the timeframe and asset class, consider testing different displacement values to improve the responsiveness or smoothness of the envelopes.
  • Optimize ATR Period and Multiplier: The Average True Range (ATR) period and multiplier affect the trailing stop's sensitivity. Trial various combinations to better suit the current market conditions and the asset's volatility.
  • Incorporate Price Action: Envelopes and ATR trailing stops can be combined with price action analysis. Look for candlestick patterns and support/resistance levels near the envelope edges to confirm entry and exit signals.
  • Enhance with Additional Indicators: Diversify your decision-making tools by adding indicators such as RSI, MACD, or Bollinger Bands. Their integration can help confirm the strength of the trend and signal validity.
  • Utilize Multiple Timeframes: Confirm trade signals by analyzing multiple timeframes. For instance, a signal on a smaller timeframe can be validated by a similar trend direction on a higher timeframe.
  • Set Fixed Risk Parameters: Regardless of signal strength, establish fixed risk parameters to preserve capital. Only risk a small percentage of your account on each trade.
  • Assess Fundamental Factors: Even though the strategy is technical, be informed about fundamental factors that could affect the asset's price, such as economic reports or news events.
  • Backtesting and Journaling: Record the outcomes of your trades and strategy adjustments. Use backtesting to validate improvements before applying them to live trading.
  • Seek Peer Review: Collaboration with other traders can provide fresh perspectives and help identify potential weaknesses in your strategy enhancements.

By thoughtfully applying these tactics, you can refine the automated "Moving Average Displaced Envelope & ATRTS" strategy, transitioning it into a robust manual trading system that's well-tuned to your trading goals and risk tolerance.

For which kind of traders is the Moving Average Displaced Envelope & ATRTS strategy suitable ?

This strategy suits traders who favor technical analysis and are comfortable with active trading. It's particularly suitable for:

  • Intraday and swing traders: The flexibility to adjust the percentage factors and displacement allows the strategy to be calibrated for short to medium-term trading horizons.
  • Traders with a quantitative approach: The strategy involves precision in setting envelope percentages and ATR parameters, aligning with a data-driven trading style.
  • Risk-managed traders: Utilizing ATR trailing stops helps in controlling risk dynamically, in line with current market volatility.

It is not particularly aimed at traders who rely heavily on fundamental analysis or those seeking a set-and-forget trading system. The strategy demands attention to signal quality and parameter adjustments, indicative of a hands-on, engaged trading style.

Key Takeaways of Moving Average Displaced Envelope & ATRTS

  • How it works: Generates signals using displaced EMA envelopes; buy when the price falls below the lower envelope and sell when it rises above the upper.
  • ATR Trailing Stops: Adds a volatility-based trailing stop for exit points, refining signal accuracy.
  • Automation potential: Can be coded into a TradingView script for automated signal generation and bar color changes for easy visualization.
  • Manual trading application: Adjust envelope percentages and ATR settings based on asset volatility by analyzing the EMA and ATR indicators manually.
  • Combining approaches: Use alerts for signal notifications, then apply manual analysis for confirmation.
  • Optimization: Fine-tune envelope settings and ATR parameters through backtesting and calibration.
  • Risk management: Establish fixed risk parameters and confirm signals with additional indicators or price action to protect capital.
Explore the best Trading & TradingView strategies

Stop trading blindly. Explore the best strategies among 100K+ backtests and improve your trading skills with data.

Start for free