Type/to search

TrendSurfing - стратегия трендового пересечения двух скользящих средних

Common strategy
Created: 2024-01-04 17:28:14
Last modified: 3 years ago
1
Follow
1802
Followers

Overview

The TrendSurfing strategy is a trend tracking strategy based primarily on double moving average crossover signals. It also incorporates triangle visual indicators, 200-day EMA, ROC indicator and RSI indicator to filter out noise and accurately capture trend reversals. This strategy is suitable for medium-to-long-term holding and can achieve steady growth in a bull market.

Strategy Logic

The TrendSurfing strategy mainly relies on golden cross and death cross formed by fast moving average and slow moving average to generate buy and sell signals. When the fast MA crosses above the slow MA, a buy signal is generated. When the fast MA crosses below the slow MA, a sell signal is generated.

In addition, the strategy incorporates several auxiliary indicators to filter out false signals or determine trend quality, including:

  1. ROC indicator to determine price trend and momentum
  2. RSI oscillator to detect overbought/oversold levels
  3. 200-day EMA to determine overall trend direction
  4. Triangle visual indicators to mark entry points on chart

By comprehensively judging various indicators, the TrendSurfing strategy can accurately locate trend turning points and track definite medium-to-long term trends without being misguided by market noise or short-term corrections.

Advantage Analysis

1. Catch Medium-to-Long Term Trend
The strategy basically judges trend reversal based on MA crosses, and uses indicators like 200-day EMA to filter out short-term noise, with focus on medium-to-long term trend capture.

2. Multiple Indicators Ensure High Quality Entry
On top of MA crossover itself, the incorporation of ROC, RSI and other indicators enables avoidance of consolidation zones on reversal points and ensures quality entry.

3. Intuitive Triangle Visual Indicators
Green downward triangles indicate long entries, red upward triangles indicate short entries. Clean and straightforward.

4. Customizable Parameters for Different Needs
Users can freely adjust parameters like MA periods, ROC length, RSI length etc according to their own trading style.

5. Stop Loss and Take Profit Control
The strategy sets stop loss and take profit based on ATR value multiplied by risk percentage, enabling per trade risk control.

Risk Analysis

1. Risk of Missing Trades
Any MA crossover based strategy has inherent risk of missing trades or being stopped out when MA is oscillating.

2. Over-optimization from Improper Parameter Settings
Users should avoid chasing hypothetically ideal parameter values. Parameters should be tested and adapted based on different market conditions and products.

3. Невозможность полной фильтрации событий «черного лебедя»
В экстремальных рыночных условиях стратегии все еще могут нести крупные убытки из-за системных рыночных рисков.

Направления оптимизации

1. Тестирование и оптимизация значений параметров
Периоды скользящих средних, длина ROC, значения RSI и т.д. должны пройти тщательное бэктестирование и оптимизацию для соответствия характеристикам различных торговых продуктов.

2. Тестирование и включение других вспомогательных индикаторов
Продолжить тестирование комбинаций других индикаторов, таких как BOLL, KDJ и т.д., с пересечениями скользящих средних для улучшения производительности.

3. Координация с алгоритмической торговлей для лучшего контроля рисков
Внедрение алгоритмов машинного обучения для более интеллектуального стоп-лосса и тейк-профита, адаптирующихся к динамичной рыночной среде.

4. Исследование комбинаций с другими стратегиями или моделями
Комбинирование с фундаментальными стратегиями отбора акций, стратегиями статистического арбитража, моделями оптимизации портфеля и т.д. может дополнительно улучшить контроль рисков и доходность.

Заключение

Стратегия TrendSurfing — это простая, понятная стратегия следования за трендом с контролируемым риском. Торговые сигналы генерируются на основе пересечений скользящих средних и фильтруются с помощью нескольких вспомогательных индикаторов. Она подходит для средне- и долгосрочного удержания позиций для стабильного отслеживания бычьих трендов. Мы продолжим оптимизацию этой стратегии путем тестирования параметров, расширения индикаторов, контроля рисков и т.д., чтобы добиться более надежной производительности на различных рынках.

Source
Pine
/*backtest
start: 2023-12-27 00:00:00
end: 2024-01-03 00:00:00
period: 1m
basePeriod: 1m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=4
strategy("Moving Average Crossover with Triangles, 200 EMA, ROC, and RSI", overlay=true)

// Define input parameters
Strategy parameters
Strategy parameters
Fast MA Length
Slow MA Length
ROC Length
RSI Length
Risk Percentage
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)