Momentum strategies capture the continuation of existing price trends by buying assets with strong recent performance and selling weak performers. These strategies ride the wave of market trends until momentum shows signs of exhaustion.
1 个算法1 个库
算法网络
动量算法如何跨库连接
📈Momentum
🔧
vn.py1 algos
DoubleMaStrategybeginner
交易决策流程
动量算法如何在交易系统中协同工作
1
📊
Trend Detection
Momentum measurement
Moving average slope
Rate of change (ROC)
2
💪
Momentum Strength
Trend conviction level
ADX > 25 (strong trend)
Volume confirmation
3
📈
Trend Entry
Ride the momentum
Fast MA crosses above slow MA
Price above 200-period MA
4
📉
Momentum Exit
Trend exhaustion detection
MA crossover reversal
Momentum divergence
5
🛡️
Chop Filter
Avoid ranging markets
ADX < 20 = no trade
Volatility regime check
复杂度:
vn.py
DoubleMaStrategy
vn.py
动量beginner
Classic dual moving average crossover strategy going long on golden cross, short on death cross.
Classic dual moving average crossover strategy going long on golden cross, short on death cross. 关键参数: fast_window (Fast MA period), slow_window (Slow MA period).源代码: https://github.com/vnpy/vnpy_ctastrategy.