MultiCharts .NET FAQ
Posted: Dec 13 2013
Working with studies/solution/references:
- You can add new study in Visual Sudio:
The format of the study file name is:TechName.TechType.cs(vb) where:
1) TechName - the name of the study (must be equal to class name).
2) TechType - type of the study (Indicator, Strategy, Function)
When the new file with name that matches this template is created, MC will "pick up" it as new study.
OR
Open the solution file in the studio, modify, then save it. Once the file is saved - MultiCharts .Net editor picks up the changes in the study file and compiles it. Modifications appear in MC Editor and on the chart if the sudy is applied to it.
More detailed info in the intro video at this page. - If you want to customize the solution and/or project - you need to save it under different name.
Keep in mind that "full integration" between MC.NET and MS VS is monitoring for changes of *.cs (*.vb) files by MC in "%allusersprofile%\Application Data\TS Support\MultiCharts .NET\StudyServer\Techniques\CS" (for 32bit MC .NET) and "%allusersprofile%\Application Data\TS Support\MultiCharts .NET64\StudyServer\Techniques\CS" (for 64bit MC .NET) folders. - All references should be added through PowerLanguage .Net Editor only. The references you have added are global and available for all studies. There is only one direction of synchronization: from МultiСharts .Net editor to PlStudies* project. The changes done in VS for PlStudies* project would not be saved and would not show up in MC.Net editor.
- You can organize your code in folders in the PowerLanguage .Net editor. However, those folders don't show up in Visual Studio when you open the PLStudies2010.sln file.