Type/to search

Zero Lag Overlapping Moving Average with Chandelier Exit Trading Strategy

Common strategy
Created: 2024-01-22 10:03:05
Last modified: 3 years ago
1
Follow
1802
Followers

img

Overview

The main idea of this strategy is to combine the Zero Lag Overlapping Moving Average (ZLSMA) indicator to judge the trend direction, and the Chandelier Exit (CE) indicator to find more precise entry and exit points. ZLSMA is a trend indicator that can identify trend changes earlier. CE dynamically adjusts exit points by calculating ATR to effectively control stop loss. This strategy is mainly suitable for medium-short term operations.

Strategy Principle

  1. ZLSMA part:

    • Use linear regression method to calculate 130-period LMA lines respectively.
    • Then overlay the two LMA lines to get the difference value assigned to eq.
    • Finally, construct the Zero Lag Overlapping Moving Average ZLSMA through the original LMA line plus the eq difference.
  2. CE part:

    • Calculate the ATR indicator and multiply it by a factor (default 2) to determine the dynamic distance from the most recent high or low point.
    • When the closing price exceeds the most recent long or short stop loss line, adjust the stop loss line accordingly.
    • Determine long or short direction based on the change in closing price relative to the stop loss line.
  3. Entry signal:

    • ZLSMA judges trend direction, enter when CE issues signal.
  4. Exit stop loss:

    • Fixed stop loss and take profit for long position.
    • For short position, use CE's dynamic exit to replace fixed stop loss.

Advantage Analysis

  1. ZLSMA can identify trend earlier to avoid false breakout.
  2. CE can flexibly adjust exit points according to market volatility.
  3. Customizable risk-reward ratio of the strategy.
  4. Different methods of stop loss and take profit used for long and short positions to control risk.

Risk Analysis

  1. Improper parameter settings may increase loss rate or expand stop loss range.
  2. There is still risk of stop loss being broken in case of swift market reversal.

Optimization Directions

  1. Parameters can be optimized for different markets and timeframes.
  2. Consider adjusting profit/stop parameters based on volatility or specific cycles.
  3. Try combining with other indicators or models to improve profit rate.

Summary

The strategy mainly uses Zero Lag Overlapping Moving Average to determine the trend direction, combined with Chandelier Exit indicator to find more precise entry and exit points. The advantages lie in the customizable stop/profit ratio and the dynamic adjustment of Chandelier Exit can control risks according to market conditions. Next steps could be parameter optimization and strategy combination to further improve stability and profitability.

Source
Pine
/*backtest
start: 2024-01-14 00:00:00
end: 2024-01-21 00:00:00
period: 3m
basePeriod: 1m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © GGkurg

//@version=5
Strategy parameters
Strategy parameters
take profit / stop loss
long TP%
long SL%
short TP
short SL
ZLSMA settings
Length
Offset
Source
Chandelier exit settings
ATR Period
ATR Multiplier
Use Close Price for Extremums
Visuals
Show Buy/Sell Labels
Highlight State
Alerts
Await Bar Confirmation
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)