Ergotic Momentum Direction Convergence Trading Strategy
Overview
The name of this strategy is Ergotic Momentum Direction Convergence Trading Strategy. It is a quantitative trading strategy designed based on the technical indicator described in William Blau's book "Momentum, Direction and Divergence". This strategy focuses on three key aspects - momentum, direction and divergence, by calculating price momentum indicators of stocks, determining market trend direction, and finding divergences between price and indicators to spot trading opportunities.
Strategy Logic
The core indicator of this strategy is Ergotic TSI, and its calculation formula is as follows:
Val1 = 100 * EMA(EMA(EMA(price change, r), s), u)
Val2 = EMA(EMA(EMA(absolute value of price change, r), s), u))
Ergotic TSI = If Val2 != 0, Val1/Val2, else 0
where r, s, u are smoothing parameters. This indicator reflects the ratio of price change to the absolute value of price change, which belongs to the momentum oscillator indicator. Then we calculate the EMA moving average of Ergotic TSI as the signal line. Go long when TSI crosses over the signal line, and go short when it crosses below.
Advantage Analysis
The main advantages of this strategy are:
- Strong ability to capture price change trends
- Good filtering of price fluctuations
- Relatively good divergence characteristics
- Flexible parameter settings to adjust smoothing
Risk Analysis
There are also some risks in this strategy:
- Wrong signals may occur at trend reversal points
- Inappropriate parameter settings may miss trading opportunities or increase false signals
- Parameters need proper adjustment to suit different products and trading environments
Risks can be controlled by optimizing parameters, combining other indicators for confirmation, and setting stop loss.
Optimization Directions
This strategy can be optimized in the following aspects:
- Test different price inputs, such as open, close, mid price, etc.
- Adjust r, s, u parameter values to find optimal parameter combinations
- Add other indicators or filters to further confirm signals
- Set stop loss points and exit mechanisms
Conclusion
This strategy integrates considerations of momentum change, trend judgment and divergence features. It can effectively capture trend opportunities. With parameter optimization, signal filtering and risk control methods, good strategy performance can be achieved. Overall, the strategy is designed reasonably and worth further research and practice.
/*backtest
start: 2023-01-26 00:00:00
end: 2024-02-01 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version = 2
////////////////////////////////////////////////////////////
// Copyright by HPotter v1.0 13/12/2016
// r - Length of first EMA smoothing of 1 day momentum 4- 1

