Type/to search

The Dynamic Box Percentage Tracking Strategy

Cryptocurrency
Created: 2023-11-23 10:32:39
Last modified: 3 years ago
1
Follow
1779
Followers

img

Overview

This strategy uses percentage price changes to set entry lines and stop loss lines. It enters positions when prices break through the entry line and exits positions when prices fall below the stop loss line. Its main feature is that it only takes on one unit of risk, meaning that new positions will only be added after the previous position reaches a preset profit target.

Principles

The strategy first sets a benchmark price and uses 10% of that price as the price range - the upper bound is the entry line and the lower bound is the stop loss line. When prices break through the entry line, fixed quantities will be bought. When prices fall below the stop loss line, positions will be closed out. After making profits, the entry and stop loss lines will be adjusted by percentage to expand the profit range. This allows the strategy to track trend runs.

Another key point of the strategy is that it only takes on one unit of risk. That is, new positions will only be added after the current position reaches the profit target. The new positions will also follow the new entry and stop loss lines. This limits risk.

Advantage Analysis

This strategy combines the advantages of trailing stops and position sizing, allowing for effective risk control while being profitable.

  1. Using percentage ranges for entry and stop loss lines allows automatic trend tracking
  2. Risk is limited to single digits, avoiding major losses
  3. New positions are only added after profits, avoiding chasing trends
  4. Stop loss lines move up after profits, locking in gains

Risk Analysis

There are also some risks:

  1. If percentage ranges are too wide, risk may expand
  2. If ranges are too narrow, profit potential is limited
  3. Improper stop loss placement may lead to premature exiting
  4. Aggressive additions may amplify losses

These risks can be avoided by adjusting parameters like range sizes, entry filters etc.

Optimization

There is room for further optimization:

  1. Combining with trend indicators to determine trend direction
  2. Adding machine learning models for more adaptive lines
  3. Testing different addition conditions to lower risk
  4. Finding optimal holding periods through testing

Conclusion

This is a simple and practical percentage range-based system. Through parameter tuning and model optimization, this strategy can become a reliable trend tracking tool, generating stable outperformance for investors.

Source
Pine
/*backtest
start: 2022-11-16 00:00:00
end: 2023-11-22 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=4
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © HermanBrummer 4 April 2021
Strategy parameters
Strategy parameters
Risk losing this much per trade
The System won't trade if price is below this MA
Box size in %
Box size in %
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)