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

PropTypeDefaultDescription
fastMinutesnumber12The number of minutes for fast EMA calculation
slowMinutesnumber26The number of minutes for slow EMA calculation
signalMinutesnumber9The 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=true

On this page