Indicators
macd
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.
macd (tick)
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.
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 macd WITH fastMinutes=12, slowMinutes=26, signalMinutes=9 > 0 THEN order SET size=100, price=51.00, transmit=truekstSignal
KST Signal Line is a smoothed version of the KST Line that helps confirm trend changes. Crossovers between the KST Line and Signal Line can indicate potential trend reversals.
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.