Graphiques via le serveur MCP local¶
Ce guide couvre les outils de base et des exemples d'invites pour utiliser les graphiques de trading, gérer les objets et dessins graphiques et appliquer des modèles de graphiques via le serveur MCP local cTrader.
Astuce
Lorsque vous démarrez une nouvelle session avec votre agent IA, commencez votre invite par Using the cTrader local MCP server.... Cela permet de s'assurer que l'agent appelle le serveur MCP au lieu de rediriger les demandes vers la recherche Web.
Ouvrir et fermer des graphiques ¶
Ouvrir un graphique ¶
Open a chart for EURUSD on the H1 period.
Open a daily chart for XAUUSD.
Fermer un graphique ¶
Close the EURUSD chart.
Mettre un graphique au premier plan ¶
Mettre un graphique spécifique au premier plan.
Focus the GBPUSD chart.
Lister tous les graphiques ¶
List all open charts with their symbols and periods.
Changer le symbole et la période ¶
Changez le symbole ou la période sur un graphique existant sans en ouvrir un nouveau.
Change the active chart to USDJPY.
Switch the active chart to the M15 period.
Change the active chart to GBPUSD on the H4 period.
Faire défiler et zoomer ¶
Faire défiler ¶
Scroll the active chart back 50 bars.
Scroll the active chart forward to the latest bar.
Zoomer ¶
Zoom in on the active chart.
Zoom out on the active chart.
Obtenir des informations sur le graphique ¶
Graphique actif ¶
What symbol and period is the active chart showing?
Fenêtre d'affichage du graphique ¶
Obtenez la plage visible du graphique actif.
Show me the viewport of the active chart including the
visible date range and price range.
Objets graphiques ¶
Les objets du graphique sont des dessins et des annotations que vous placez sur un graphique, tels que des lignes de tendance, des lignes horizontales, des rectangles et d'autres formes.
Ajouter un objet du graphique ¶
Draw a horizontal line on the active chart at price 1.1200.
Add a trend line on the active chart from the last swing
low to the current price.
Add a rectangle on the active chart between 1.1150 and
1.1250 over the last 20 bars.
Add a Fibonacci retracement on the active chart between the recent
swing high and swing low.
Draw a risk-reward block on the active chart: entry at 1.1200,
stop at 1.1150, target at 1.1300.
Add an up arrow marker at 1.1180 on the most recent bar.
Lister les objets du graphique ¶
Show me all objects on the active chart.
Mettre à jour un objet du graphique ¶
Change the colour of the trend line on the active chart to red.
Make the horizontal line at 1.1200 dashed.
Supprimer un objet du graphique ¶
Delete the horizontal line at 1.1200 on the active chart.
Effacer tous les objets du graphique ¶
Remove all objects from the active chart.
Avertissement
L'effacement de tous les objets du graphique est irréversible. Assurez-vous de ne plus avoir besoin des dessins avant de confirmer.
Modèles de graphiques ¶
Appliquer un modèle ¶
Apply the template 'My Trading Setup' to the active chart.
Lister les modèles disponibles ¶
What chart templates are available?
Enregistrer un modèle ¶
Save the current chart setup as a template called 'Swing setup'.
Supprimer un modèle ¶
Delete the chart template called 'Old setup'.
Combiner les prompts ¶
Vous pouvez combiner plusieurs opérations de graphique en une seule invite.
Open a chart for EURUSD on H1, add RSI and a 200-period SMA,
then apply my 'Swing Trading' template.
List all open charts, then close any that are on period
below H1.
Avertissement
Le serveur MCP est un outil pour le trading assisté par IA et ne fournit pas de conseils financiers, d'investissement, juridiques ou fiscaux. Les actions générées par l'IA peuvent déclencher de véritables transactions et entraîner des pertes. Les utilisateurs sont seuls responsables de la vérification des résultats, de la supervision des stratégies, de la sécurisation des informations d'identification et de l'utilisation du serveur MCP à leurs propres risques.