Skip to content

Convert Images to cTrader Tools with Xen AI

What this Feature Does

Xen allows you to upload an image and convert it into a working trading tool using AI. Instead of starting with code, you can work from a visual reference and generate a baseline implementation automatically.

This is useful when you have a screenshot, layout, or concept but no access to the original source code. Xen analyses the structure of the image and produces cTrader-compatible C# code based on what it can detect. The feature is designed for rapid prototyping and reconstruction of tools, not exact replication.

Create Indicator from Image Video

Watch this video to learn how to create a cTrader indicator from an image uploaded.

Tip: Set the video quality to HD (1080p) for the best viewing experience.

When to Use Image Conversion

Image-based workflows are useful when you want to recreate or prototype a tool from a visual reference. This includes chart screenshots, indicator visuals, UI layouts, or dashboard concepts.

Typical use cases include:

  • recreating an indicator from a chart
  • building a panel from a UI mockup
  • generating a dashboard from a layout
  • prototyping a tool without writing code manually

For best results, treat the generated output as a starting point that you refine through testing.

Convert Indicator from Image

Use this workflow when the image represents a technical indicator, such as moving averages, oscillators, or signal overlays. Xen will analyse the visual elements and attempt to reconstruct the calculations and chart output as closely as possible.

👉 See full workflow:
Convert Indicator Workflow

Build Trading Panel from Image

Use this workflow when the image represents a trading interface or control panel. This includes layouts with buttons, toggles, or execution controls. Xen focuses on recreating the structure and layout first, then building a functional panel that can be extended with logic.

👉 See full workflow:
Build Trading Panel Workflow

Build Market Dashboard from Image

Use this workflow when the image represents a dashboard or multi-symbol display. These are typically used for monitoring indicators, signals, or market conditions. Xen will generate a structured layout designed to display and update data in a clear format.

👉 See full workflow:
Build Dashboard Workflow

How to Use Image Conversion

The process is straightforward and follows a consistent flow.

  1. Select the appropriate workflow for your use case
  2. Upload the image
  3. Optionally describe the expected behaviour
  4. Xen analyses the structure
  5. Review the generated code and test it in cTrader

Providing a short description alongside the image improves accuracy, especially when behaviour is not obvious from the visual alone.

Tips for Best Results

Image quality has a direct impact on the output. Clear, focused inputs produce better results.

  • use high-resolution images
  • avoid cluttered or overlapping elements
  • focus on a single tool per image
  • include a short description if logic is important
  • refine results with follow-up requests

Limitations

Image conversion is based on visible structure, so not all logic can be inferred.

Be aware that:

  • hidden calculations cannot always be reconstructed
  • complex tools may require multiple refinement steps
  • UI behaviour may need manual adjustment
  • generated code should always be tested before use

Treat the output as a baseline rather than a final solution.

After generating a tool, compile and test it in cTrader to confirm behaviour. Validate calculations, signals, and UI interactions before extending the tool further. Once the baseline is working, continue development using standard workflows to refine logic, add features, or improve structure.