Type/to search

Dynamic Price Swing Oscillator Strategy

Cryptocurrency
Created: 2023-11-23 10:45:02
Last modified: 3 years ago
1
Follow
1778
Followers

img

Overview

The Dynamic Price Swing Oscillator is a strategy for identifying price trends. It combines moving averages, price channels and Fibonacci retracements to implement dynamic entry and exit. The advantage of this strategy is that it can identify changes in price trends for flexible operation.

Principles

The strategy is mainly built on the following principles:

  1. Use fast EMA and slow EMA to determine the direction of the price trend to prevent trading against the trend

  2. Use price upper and lower channel limits to determine breakout signals, go short when the price breaks through the upper limit channel, and go long when it breaks through the lower limit channel

  3. Use moving average crossovers as judgment signals, go long on golden crosses, and go short on death crosses

  4. Use Fibonacci retracement lines as judgment signals, go short when the price breaks through the Fibonacci upper limit line, and go long when it breaks through the lower limit line

After determining based on these indicators to enter the market, stop loss and take profit exit mechanisms are set.

Advantage Analysis

The biggest advantage of this strategy is that it combines multiple indicators to identify changes in price trends. The main advantages are:

  1. Using fast and slow EMAs to determine the major trend prevents trading against the trend and can reduce losses

  2. Price channel judgments can capture price breakout opportunities with greater profit potential

  3. Moving average crossover judgments are simple and practical, easy to implement

  4. Fibonacci retracements add another way of judging to make the strategy more three-dimensional

Risk Analysis

Some risks of this strategy need to be noted:

  1. Improper parameter settings for fast and slow EMAs can lead to misjudgments

  2. Improper timing of breaking through the upper and lower limits of the price channel may lead to loss orders

  3. The choice of moving average crosses also needs to be prudent

  4. Improper width settings of the Fibonacci retracement bands will also affect the judgment effect

These risks can be reduced through parameter optimization.

Optimization Directions

There are some directions that can be optimized for this strategy:

  1. Test and optimize parameters such as EMA cycle, channel width, and moving average period

  2. Add judgment rules for other technical indicators such as RSI and Bollinger Bands

  3. Combine trading volume energy indicators such as OBV to determine the reliability of breakouts

  4. Use machine learning and other technologies to automatically find the optimal parameters

Conclusion

The Dynamic Price Swing Oscillator is a highly flexible and adaptable strategy. It can dynamically adapt to price changes and trade after determining breakouts through multiple indicator judgments. Although there are some risks, they can be reduced by continuous optimization to improve the stability and profitability of the strategy. The strategy is worth in-depth research.

Source
Pine
/*backtest
start: 2023-11-15 00:00:00
end: 2023-11-22 00:00:00
period: 1m
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/
//@version=4

// ██████╗██████╗ ███████╗ █████╗ ████████╗███████╗██████╗     ██████╗ ██╗   ██╗    
Strategy parameters
Strategy parameters
Start Time
End Time
Long/Short for Mixed Market, Long for Bull, Short for Bear
Trade Types
Stop Loss %
Target Profit %
Stop Trading After This Many Losing Days
Maximum % of Equity Lost to Halt Trading
Number of bars to look back on to calculate price swings.
Max Lookback Period
High Source
Low Source
Trend uses Fast and Slow EMA to prevent going the wrong direction
RSI Length
EMA Fast Length
EMA Slow Length
Use Average Price Channel Only
Use Price Moving Average Only
Use Price Fibonacci Average Only
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)