Creating a Cube and Indicator
The algorithm for creating a cube or indicator from a DLL assembly is similar to the process from code (see the creation of a cube and indicator) except for the content selection stage. Similarly, when adding a strategy from DLL, you can choose both the cube type and the indicator type if they are created in the connected DLL:

When creating an indicator, include the NuGet package StockSharp.Algo to compile the code. It contains the base class for all indicators: BaseIndicator.

When creating a cube, include the NuGet package StockSharp.Diagram.Core to compile the code. It contains the base class for all cubes: DiagramExternalElement.
When adding connected cubes or indicators to the diagram, you need to follow the steps described in the sections for a cube or indicator.