Tool to calculate Exponential Moving Average (EMA) technical indicator for a forex pair. Use when you need trend analysis or moving average calculations for currency pairs.
limitintegerLimit the number of results returned. Defaults to 10. Maximum is 5000.
orderstringThe order in which to return the results, ordered by timestamp. 'asc' for ascending/oldest first, 'desc' for descending/newest first. Defaults to 'desc'.
windowintegerThe window size used to calculate the exponential moving average (EMA). For example, a window size of 10 with daily aggregates would result in a 10 day moving average. Defaults to 50.
adjustedbooleanWhether or not the aggregates used to calculate the exponential moving average are adjusted for splits. By default, aggregates are adjusted. Set this to false to get results that are NOT adjusted for splits. Defaults to True.
timespanstringThe size of the aggregate time window. Defaults to 'day'.
timestampstringQuery by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.
series_typestringThe price in the aggregate which will be used to calculate the exponential moving average. 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.
expand_underlyingbooleanWhether or not 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.