Xaml.Diagram_Sources

by StockSharp

You receive an archive containing the C# and XAML source code of StockSharp.Xaml.Diagram, a WPF editor for strategy compositions based on the model provided by API. The source lets you embed visual ed...

56 Downloads
☆☆☆☆☆ Rating
0 Reviews
Xaml.Diagram_Sources

You receive an archive containing the C# and XAML source code of StockSharp.Xaml.Diagram, a WPF editor for strategy compositions based on the model provided by API. The source lets you embed visual editing in your own Windows application, change how blocks and links are rendered, and extend user interaction.

The project contains DiagramEditorControl, DiagramPaletteControl, and the GXDiagram canvas code with its WPF models, tools, and visual elements.

  • Composition editor: strategy elements are displayed as nodes with typed input and output sockets; links are accepted only between compatible output → input sockets.
  • Element palette: registered blocks are grouped by category, exposed through search, and dragged onto the canvas. The list follows updates from ICompositionRegistry.
  • Editing operations: multi-selection, cut, copy, paste, delete, undo/redo, link reconnection, and read-only mode.
  • Navigation and output: zooming, grid snapping, an overview minimap, and diagram export to an image.
  • Model integration: the editor tracks composition nodes and links, can clone the selected fragment, and opens editors for indicators, securities, and portfolios.
  • Debug visualization: active elements and errors are highlighted, while sockets display breakpoint state.

The project runs on Windows with WPF and uses StockSharp.Diagram.Core, StockSharp.Algo, Alerts, DevExpress, and StockSharp.Xaml.Charting. The editor changes the composition model but does not run the strategy itself. Source code for the charting dependency is available separately as Trading chart WPF. Source codes C#.

Pricing Plans

User Reviews

Login to write a review

No reviews yet