mcp_plot_trading_opportunities
Visualize price data and identify trading signals by plotting moving averages. Input price lists with date, open, high, low, close, and volume; customize short and long window parameters for analysis. Generates an image with trading opportunities for informed decision-making.
Instructions
Plots price data with trading signals/opportunities.
Args:
prices: List of dicts with keys 'date', 'open', 'high', 'low', 'close', 'volume'.
short_window: Short window for the short moving average. Default is 9.
long_window: Long window for the long moving average. Default is 21.
title: Chart title.
Returns:
Dict with 'file_path' and 'base64' of the image.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| long_window | No | ||
| prices | Yes | ||
| short_window | No | ||
| title | No | Trading Opportunities |