Type/to search

Simple Trend Following Strategy

Cryptocurrency
Created: 2023-09-14 18:01:07
Last modified: 3 years ago
1
Follow
1781
Followers

Strategy Logic

This strategy combines moving averages and Hull curves to identify market trend direction and follow through on trends.

The main logic is:

  1. McGinley Dynamic MA judges overall trend direction

  2. Hull curve crossovers generate specific long/short signals

  3. Optional confirmation indicators for signal verification

  4. Risk management via stop loss and take profit principles

  5. Close positions when Hull curve reverses

The strategy aims to mechanically systematize trend following, minimizing individual subjective influences.

Advantages

  • MA judges overall direction, flexible confirmations

  • Hull clear long/short signals

  • Rules-based risk management minimizes errors

Risks

  • Parameter tuning and filters require optimization

  • Trend accuracy has uncertainties

  • Hull curve prone to lagging signals

Summary

This strategy seeks to systematize trend following operations to match market rhythm. But parameter optimization and indicator limitations warrant caution for stability.

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

// © Milleman
//@version=4
strategy("Millebot", overlay=true, default_qty_type = strategy.percent_of_equity, default_qty_value = 100, initial_capital=100000, commission_type=strategy.commission.percent, commission_value=0.04)
Strategy parameters
Strategy parameters
=== Risk management settings ===
% Risk
Risk Reward Ratio
StopLoss %
=== Baseline - Switch L/S ===
McGinley source
McG length
=== Confirmation indicator ===
Confirmation indicator Activation
Source
Length
=== Entry indicator configuration ===
Source
Length HMA
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)