Tool to calculate Moving Average Convergence/Divergence (MACD) technical indicator for a crypto ticker. Use when you need momentum analysis, trend identification, or trading signal generation for cryptocurrency pairs.
limitintegerLimit the number of results returned. Must be between 1 and 5000. Defaults to 10.
orderstringOrder of results by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.
adjustedbooleanWhether or not the aggregates used to calculate the MACD are adjusted for splits. Defaults to True.
timespanstringThe size of the aggregate time window. Options: minute, hour, day, week, month, quarter, year. Defaults to 'day'.
timestampstringQuery by timestamp. Either a date with format YYYY-MM-DD or a millisecond timestamp.
long_windowRequiredintegerThe long window size (number of periods) used to calculate MACD data. Traditional value: 26.
series_typestringThe price in the aggregate which will be used to calculate MACD. Options: open, high, low, close. Defaults to 'close'.
short_windowRequiredintegerThe short window size (number of periods) used to calculate MACD data. Traditional value: 12.
crypto_tickerRequiredstringThe crypto ticker symbol in format X:FROMTO (e.g., 'X:BTCUSD', 'X:ETHUSD'). Must include the 'X:' prefix for cryptocurrency pairs.
signal_windowRequiredintegerThe window size (number of periods) used to calculate the MACD signal line. Traditional value: 9.
expand_underlyingbooleanWhether to include the aggregates used to calculate this indicator in the response. Defaults to False.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
Aident-managed access. Risk level 0 of 5.
$0.001 / call
No published Skills explicitly reference this Action yet.