Indicators
macdSignal
MACD Signal Line is typically a 9-period EMA of the MACD line. It helps identify potential buy and sell signals when it crosses the MACD line.
macdSignal (tick)
MACD Signal Line is typically a 9-period EMA of the MACD line. It helps identify potential buy and sell signals when it crosses the MACD line.
Input parameters
| Prop | Type | Default | Description |
|---|---|---|---|
fastMinutes | number | 12 | The number of minutes for fast EMA calculation |
slowMinutes | number | 26 | The number of minutes for slow EMA calculation |
signalMinutes | number | 9 | The number of minutes for signal line calculation |
SQL example
TICK macdSignal WITH fastMinutes=12, slowMinutes=26, signalMinutes=9 > 0 THEN order SET size=100, price=51.00, transmit=truemacd
MACD Line is the difference between fast and slow EMAs. It helps identify trend direction and momentum, with positive values indicating upward momentum and negative values indicating downward momentum.
macdHistogram
MACD Histogram is the difference between the MACD line and the signal line. It helps identify momentum and potential trend reversals, with positive values indicating increasing momentum and negative values indicating decreasing momentum.