Tool to calculate Moving Average Convergence/Divergence (MACD) technical indicator for a forex pair. Use when you need momentum analysis, trend identification, or trading signal generation for currency pairs.
limitintegerMaximum number of results to return. Must be between 1 and 5000. Defaults to 10.
orderstringThe order in which to return results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.
adjustedbooleanWhether the aggregates used to calculate MACD are adjusted for splits. Defaults to True.
timespanRequiredstringThe size of the aggregate time window (e.g., 'day', 'hour', 'minute').
timestampstringFilter by timestamp. Can be a date in YYYY-MM-DD format or a millisecond timestamp.
long_windowRequiredintegerThe long window size (number of periods) used to calculate MACD data. Typically 26.
series_typestringThe price field in the aggregate which will be used to calculate MACD. Defaults to 'close'.
forex_tickerRequiredstringThe forex ticker symbol in format C:FROMTO (e.g., 'C:EURUSD', 'C:GBPJPY'). Must include the 'C:' prefix for forex currency pairs.
short_windowRequiredintegerThe short window size (number of periods) used to calculate MACD data. Typically 12.
timestamp_gtstringRange filter - only include results where timestamp is greater than this value. Format: YYYY-MM-DD or millisecond timestamp.
timestamp_ltstringRange filter - only include results where timestamp is less than this value. Format: YYYY-MM-DD or millisecond timestamp.
signal_windowRequiredintegerThe window size (number of periods) used to calculate the MACD signal line. Typically 9.
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.