technicalIndicators_plusDM
Calculate Plus Directional Movement (+DM) to measure upward price momentum for stocks, using symbol, interval, and time period parameters to identify bullish trends.
Instructions
Plus Directional Movement (+DM)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>",
"interval": "<interval>",
"time_period": "<time_period>"
},
"name": "technicalIndicators_plusDM"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | The stock symbol (e.g., "IBM"). | |
| interval | Yes | Time interval (e.g., "daily", "60min", "weekly"). Check Alpha Vantage docs for valid intervals per indicator. | |
| datatype | No | Data format for the response. | json |
| month | No | Specific month for intraday intervals (YYYY-MM format). | |
| time_period | Yes | Number of data points used to calculate the indicator. |