This is the original Trend Balance Point System created by Welles Wilder in 1978, with rules found in his book New Concepts in Technical Trading Systems. It identifies trend with momentum and sets stops/targets in a structured way to form a robust trend following system.
The key components and rules are:
Momentum indicator: Calculates price change over N periods to determine trend.
Long condition: Momentum rising over current and previous two periods.
Short condition: Momentum falling over current and previous two periods.
Stop loss: Previous day’s average price ± previous day’s range.
Take profit: 2 * previous day’s average price - previous day low (long) or high (short).
Exits with stop or target after entry.
The strategy directly uses momentum for trend identification and a structured stop/target approach to control risk and form a robust trend following system.
Compared to other trend following strategies, the main advantages are:
Simple momentum calculation, easy to implement.
Multi-period combo filters noise.
Structured stop/target is robust.
Limits loss per trade.
Drawdown controllable, profit taking clear.
Easy to operate flexibly.
Adjustable parameters for different markets.
Intuitive and simple logic.
Overall good stability and risk control.
However, the risks are:
Momentum lag may miss key turns.
Performance relies on parameter tuning.
No volume filter, risk of being trapped.
Stop/target settings are rigid, may fail in practice.
Limited backtest period, need to verify long-term robustness.
Fixed size lacks dynamic adjustment.
Limited optimization space, uncertain alpha.
Need to monitor reward/risk ratios and curve fitting.
In light of the analysis, enhancements may involve:
Testing different momentum calculations.
Adding volume confirmation.
Optimizing stop/target parameters.
Introducing machine learning for dynamic signals.
Evaluating robustness across products and timeframes.
Constructing dynamic position sizing models.
Setting maximum tolerable drawdown limit.
Optimizing risk management strategies.
Continual backtesting to prevent overfitting.
In summary, this is a relatively simple and direct trend following system. But continual optimizations and robustness testing are key for any strategy to stay adaptive. Through systematic efforts, strategy performance and stability can be enhanced.
/*backtest start: 2023-09-15 00:00:00 end: 2023-09-22 00:00:00 period: 5m 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/ // © 2020 X-Trader.net //@version=3 strategy("Trend Balance Point System by Welles Wilder", overlay=true, default_qty_type = strategy.percent_of_equity, default_qty_value = 100, initial_capital = 10000) MomPer = input(2, "Momentum Period") isLong = strategy.position_size > 0 isShort = strategy.position_size < 0 longTrigger = mom(close, MomPer)[1] > mom(close, MomPer)[2] and mom(close, MomPer)[1] > mom(close, MomPer)[3] shortTrigger = mom(close, MomPer)[1] < mom(close, MomPer)[2] and mom(close, MomPer)[1] < mom(close, MomPer)[3] longEntry = (not isLong) and longTrigger shortEntry = (not isShort) and shortTrigger longStop = valuewhen(longEntry, ((high[1]+low[1]+close[1])/3 - (high[1]-low[1])), 0) longTP = valuewhen(longEntry, (2*(high[1]+low[1]+close[1])/3 - low[1]), 0) shortStop = valuewhen(shortEntry, ((high[1]+low[1]+close[1])/3 + (high[1]-low[1])), 0) shortTP = valuewhen(shortEntry, (2*(high[1]+low[1]+close[1])/3 - high[1]), 0) strategy.entry(id = "Long", long = true, when = longEntry) strategy.exit("Exit Long", "Long", profit = longTP, loss = longStop, when = isLong) strategy.entry(id = "Short", long = false, when = shortEntry) strategy.exit("Exit Short", "Short", profit = shortTP, loss = shortStop, when = isShort)template: strategy.tpl:40:21: executing "strategy.tpl" at <.api.GetStrategyListByName>: wrong number of args for GetStrategyListByName: want 7 got 6