In this tutorial, we show how Xen AI can help create a Smart Money Structure indicator for cTrader by analysing an image of an existing indicator design. Instead of starting with source code, the workflow begins with a screenshot. Xen AI uses the latest Claude Opus model to review the visual layout, understand the expected behaviour, and generate a working cTrader indicator from the image.
What the Indicator Does
The Smart Money Structure indicator focuses on detecting market structure. It helps identify important price action events such as Break of Structure and Change of Character.
- BOS, Break of Structure, used to identify trend continuation.
- CHOCH, Change of Character, used to identify a possible shift in market direction.
- Swing highs and swing lows, used to define market structure.
- Visual chart markers, used to make structure changes easier to read.
Image to Indicator Development
One of the most useful features shown in this video is image-based development. Traders often find useful indicator examples on charts, videos, or forums, but do not have the source code.
With Xen AI, the user can upload an image and ask the AI coding agent to recreate the concept for cTrader. The AI analyses the visible structure, explains the likely logic, and then generates compatible cTrader indicator code.
Why This Workflow Is Useful
This approach can save time for traders and developers who want to quickly prototype an idea. It is especially useful when the goal is to recreate an indicator's behaviour, test a concept, or build a first working version before further refining the logic.
- Start from a screenshot instead of source code.
- Convert visual ideas into working cTrader indicators.
- Use AI to explain and improve the logic.
- Build, debug, and verify the indicator inside Xen AI.
- Refine the output through follow-up instructions.
Watch the Video
Watch the full tutorial below to see Xen AI build the Smart Money Structure indicator from an image.
Watch the Smart Money Structure Indicator video on YouTube
Try Xen AI
New users can start with free credits and test Xen AI for building indicators, cBots, dashboards, trading panels, and plugins for cTrader.

