Technical analysis
DXAP agents can request technical analysis for Hyperliquid perpetual markets to assess trend, momentum, volatility, and volume. You can name the indicators and settings you want in your strategy or ask for an analysis in chat.
For autonomous use, enable the agent’s Technical Analysis capability. The agent can request indicators as needed; you can also instruct it to use specific indicators as part of an entry, exit, or position-management rule.
Technical analysis returns observations for the agent to interpret. To wake the agent when a supported market event occurs, use Triggers.
Available indicators
Section titled “Available indicators”The defaults below apply when an indicator is requested without custom parameters. A period counts candles in the selected timeframe: a 20-period average on 1h candles uses 20 hourly candles, while the same period on 1d candles uses 20 daily candles.
| Indicator | What it measures | Default settings and customization |
|---|---|---|
| Simple moving average (SMA) | The average closing price over a selected period, for trend and price comparisons. | 20 periods. Configurable period. |
| Exponential moving average (EMA) | A price average that gives more weight to recent closes. | 20 periods. Configurable period. |
| Relative strength index (RSI) | Momentum based on recent gains and losses, expressed on a 0–100 scale. | 14 periods. Configurable period. |
| MACD | The difference between fast and slow exponential averages, with a signal line and histogram. | 12 / 26 / 9 for fast, slow, and signal periods. All three are configurable; fast must be shorter than slow. |
| Bollinger Bands | A moving average with upper and lower bands based on price dispersion. | 20 periods, 2 standard deviations. Both are configurable. |
| Volume moving average | Average candle volume, with a multiplier for identifying elevated volume. | 20 periods, 2× multiplier. Both are configurable. |
| Volume-weighted moving average (VWMA) | A price average weighted by candle volume. | 20 periods. Configurable period. |
| Average true range (ATR) | Price volatility based on candle ranges and gaps from the previous close. It measures movement size, not direction. | 14 periods. Configurable period. |
| Average directional index (ADX) | Trend strength, rather than whether the trend points up or down. | 14 periods. Configurable period. |
| Money flow index (MFI) | Momentum combining typical price with candle volume. | 14 periods. Configurable period. |
| Stochastic (Stoch) | The closing price’s location within the recent high–low range. | 14 periods. Configurable period; this indicator provides unsmoothed percent K. |
| Stochastic RSI (Stoch RSI) | RSI’s location within its recent range, with smoothed K and D lines. | 14-period RSI, 14-period stochastic range, 3-period K smoothing, 3-period D smoothing. All four are configurable. |
Agents can choose from all twelve indicators as needed, including VWMA, ATR, ADX, MFI, Stoch, and Stoch RSI. You do not need to name every indicator yourself. If the agent requests analysis without specifying an indicator list, the tool supplies a default bundle: SMA, EMA, RSI, MACD, Bollinger Bands, and volume moving average. This is a default for that request, not a restriction on the agent’s available indicators.
Indicator periods accept 2–250 candles, subject to sufficient history. Bollinger Band standard deviation settings must be greater than 0 and at most 10; the volume multiplier must be greater than 0 and at most 20. A custom indicator setting changes the analysis requested, not the fixed signals available as triggers.
Timeframes and returned information
Section titled “Timeframes and returned information”Analysis supports 1m, 5m, 15m, 1h, 4h, 1d, and 1w candles. An agent can compare multiple timeframes and analyze up to 10 assets in one request.
Results include latest and prior indicator values, recent candles, available crossing events and signal summaries, and information about data freshness and coverage. Analysis uses completed candles; a current result is not a live reading from an unfinished candle.
A period and a timeframe are separate choices. For example, RSI(14) on 1h candles is not the same calculation as RSI(14) on 4h candles. State both when the distinction matters to your strategy.
Historical candle statistics
Section titled “Historical candle statistics”In addition to indicators, agents can request statistics over chosen windows of completed candles through market_candle_statistics. This includes seven-day statistics and other window lengths, with up to 20 assets in one request. The same Technical Analysis capability enables these measurements for autonomous agents.
For each complete window, the agent can obtain:
- Open, high, low, and close: the first opening price, highest high, lowest low, and last closing price in the window.
- Price change: the percentage change from the window’s open to its close.
- Price range: high minus low, both in USD and as a percentage of the opening price.
- Volume: total volume and average volume per candle, in asset units or estimated USD notional.
- Comparisons: range ratios between adjacent windows, whether the latest completed candle closes above a preceding window’s high or below its low, and its volume relative to the preceding window’s average candle volume.
The agent chooses a candle timeframe, the number of candles per window, and the number of preceding windows to compare. For example, 42 four-hour candles cover seven days; 24 hourly candles cover one day. Each result includes timestamps and coverage, and incomplete windows do not supply measurements.
Seven-day example
Section titled “Seven-day example”For BTC and ETH, show the open, high, low, close, percentage price change, price range, and total volume over the latest seven days of completed 4h candles. Also tell me whether the latest completed candle closed above the preceding seven-day high or below its low. Include the window timestamps and flag incomplete data.
For this request, the agent uses 4h candles, 42 candles per window, and one preceding baseline window. The result separates two views:
| View | What it answers |
|---|---|
| Latest seven-day window, including the latest completed candle | What were the seven-day OHLC, price change, range, and volume? |
| Preceding 42-candle baseline, excluding the latest completed candle | Did the latest completed candle close above the earlier high or below the earlier low? |
These two windows overlap and differ by one candle; they are not two consecutive seven-day periods. The baseline keeps the candle being assessed out of its own comparison range.
The seven-day change is open-to-close change ending at the latest completed 4h boundary. It is not an exact current-price comparison with 168 hours ago. For a day-by-day view, ask for consecutive daily windows instead.
How to ask for analysis
Section titled “How to ask for analysis”Use a symbol, timeframe, indicator, and parameters. For example:
Compare BTC and ETH on 1h and 4h candles using RSI(14), EMA(20), and EMA(50). Explain the current readings and any differences between the timeframes. Flag missing or stale data.
For an ongoing strategy instruction:
Before evaluating a new BTC or ETH entry, request ATR(14) on 1h candles and use it to assess recent price volatility alongside my existing strategy and risk limits. If ATR is unavailable, explain the missing evidence.
For an indicator outside the standard bundle:
Analyze SOL on 4h candles using Stochastic RSI with a 14-period RSI, a 14-period stochastic range, and 3-period smoothing for both K and D.
Analysis versus triggers
Section titled “Analysis versus triggers”An indicator can be available for analysis without being available as an automated watch. Analysis happens when the agent requests it during an evaluation; a trigger starts an evaluation when its supported condition is met.
For example, the agent can inspect hourly RSI(14) against levels 40 and 60, or request RSI with a different period. It cannot currently create an RSI trigger at either custom level. The available RSI triggers are fixed to RSI(14) crossing above 30 and RSI(14) crossing below 70.
Technical triggers also support fewer timeframes: 1h, 4h, and 1d. Asking for 5m analysis does not create a 5m technical trigger. See technical trigger signals for the complete list of supported watches.
Data availability
Section titled “Data availability”Indicators need enough completed candle history to calculate. A supported indicator may be unavailable for a particular asset, timeframe, or period. Results can be partial, with warnings for missing history or unavailable values; the agent should identify those gaps instead of inventing a reading.
Indicator values can differ from another charting service because of candle coverage, price and volume inputs, smoothing, and calculation history. Use the returned timestamps, settings, and coverage when comparing results. An indicator reading or crossing alone does not establish an entry direction or predict a profitable trade.