c#, functions, multiple data series

Questions about MultiCharts .NET and user contributed studies.
ecarlino
Posts: 17
Joined: 02 Feb 2012
Has thanked: 3 times
Been thanked: 1 time

c#, functions, multiple data series

Postby ecarlino » 01 Nov 2018

I'm a 20+ year programmer in general and 10+ year programmer with EasyLang(TS) and PowerLang (MC) and just started with MC.Net.

I'm accustomed to EZ/Pwr Lang having some of the worst documentation in the world and was expecting the .Net to be even worse.....
i wasn't let down :-)

Is there somewhere that generally discusses what is even possible wrt writing generic functions that can operate (properly) on any dataseries when called from an indicator or signal based on dataseries 1.

or, do i need to write specfic version of each type of function - in other words, movAvg_ds1(), movAvg_ds2(), etc

Is there a 'best practices' or 'template' for doing this?

Is the behavior that i enjoyed with the base version of MC/PwrLang when i used All Data Everywhere with TypeZeroFramework possible to implement in the C# version - in other words, can i use 3 dataseries on a chart, all of which are volume bars of varying (increasing) size?

Thank you.

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: c#, functions, multiple data series

Postby Henry MultiСharts » 02 Nov 2018

Hello ecarlino,

MultiCharts .Net is oriented to experienced programmers. In case you have any questions regarding C# coding we recommend referencing MSDN for information. Interfaces and classes available in MultiCharts .Net are described in MC .Net help file (PowerLanguage .Net Editor->Help tab-> PowerLanguage .Net Help). You can also find the code examples in the source code of the prebuilt MultiCharts studies (PowerLanguage .Net Editor->File tab->Open).

MultiCharts .NET Programming guide that contains important and useful information not only for beginners but for experienced MC .Net users as well. This is the recommended "Getting started for programming in MultiCharts .Net": https://goo.gl/JjeGeW
Wiki format: http://www.multicharts.com/trading-soft ... ming_Giude
MC .NET FAQ: http://www.multicharts.com/discussion/v ... 19&t=45848
Additional source of information: http://www.tradingcode.net/multicharts- ... -articles/

AS for your specific inquiry - please refer to the following information:
https://www.multicharts.com/trading-sof ... ata_Access
https://www.multicharts.com/trading-sof ... _Variables
viewtopic.php?f=19&t=45848#p100792


Return to “MultiCharts .NET”