Indicator Description
VMACD (Volume MACD) is a trend indicator based on volume, reflecting the trend of market volume changes by calculating the difference between the fast and slow moving averages of volume.
Function Information
- Function Name: VMACD
- Input Parameters: Volume
- Parameter Settings: short (default: 13), long (default: 21), timeperiod (default: 13)
- Output: dif, dea, vmacd
Calculation Principle
VMACD is calculated using the following formula:
DIF = EMA(Volume, short) - EMA(Volume, long)
DEA = EMA(DIF, timeperiod)
VMACD = DIF - DEAWhere EMA is the Exponential Moving Average.
Usage Scenarios
- Volume trend analysis
- Market activity judgment
- Price trend confirmation
- Trading signal generation
Usage Recommendations
- DIF crossing above DEA can be seen as a buy signal
- DIF crossing below DEA can be seen as a sell signal
- Use in combination with price MACD
- Pay attention to volume coordination