Simple Trend Following Strategy
Strategy Logic
This strategy combines moving averages and Hull curves to identify market trend direction and follow through on trends.
The main logic is:
-
McGinley Dynamic MA judges overall trend direction
-
Hull curve crossovers generate specific long/short signals
-
Optional confirmation indicators for signal verification
-
Risk management via stop loss and take profit principles
-
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.
/*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)
- 1
