Type/to search

Trend Following Strategy Based on Dynamic Support and Resistance

Cryptocurrency
Created: 2023-09-14 20:24:31
Last modified: 3 years ago
1
Follow
1781
Followers

This article explains in detail a trend trading strategy that utilizes dynamic support and resistance levels. It sets flexible support and resistance zones using multiple indicators to capture price trends.

I. Strategy Logic

The main components of the strategy include:

  1. Calculating highest high and lowest low over a certain period to define dynamic trading ranges.

  2. Computing ATR indicator and setting upper/lower bands as dynamic stop loss zones.

  3. Drawing dynamic support/resistance at fixed slopes when price breaks out of the trading range.

  4. Generating trade signals when price breaks through dynamic support/resistance levels.

By synthesizing dynamic support/resistance zones using various indicators, trades are only taken on breakouts to filter out unnecessary noise. The stop loss zones also adjust dynamically to market changes.

II. Advantages of the Strategy

The biggest advantage lies in the dynamic zones formed by multiple indicators, which can nimbly detect trend changes.

Another benefit is the banded stop loss zones, which reduce the probability of stops being hit.

Finally, the sloped support/resistance is simple and straightforward to implement.

III. Potential Risks

However, the following potential risks should also be considered:

Firstly, the dynamic levels may lag price moves and become invalidated.

Secondly, stop loss zones set too wide may lead to large losses.

Lastly, improper parameter tuning could lead to poor strategy performance.

IV. Summary

In summary, this article has explained a trend following strategy using multiple dynamic indicators to identify support and resistance zones. It can effectively filter out noise and detect trends. But risks like indicator lagging and overwide stops should be prevented. Overall, it provides a reasonable approach to utilize dynamic support and resistance.

Source
Pine
/*backtest
start: 2023-08-14 00:00:00
end: 2023-09-13 00:00:00
period: 2h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

// This is a strategy that draws a trend line in the form of a slope whenever the high point and low point are updated.
// The upper slope serves as a resistance line, and the lower slope serves as a support line.
// Buy when the [close] of the candle crosses the slope
Strategy parameters
Strategy parameters
Start-Year
Month
Day
End-Year
Month
Day
ATR Period
Source Upper
Source Lower
ATR Multiplier Upper
ATR Multiplier Lower
donchian_length
Slope x
Mirror Line
Short Mode On
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)