Hi @,
I have a few questions about the MC .net;
1) can you use functions from external library's(dll's)? even if the have inputs of vector datatype
2) can you access and use com objects?
Best regards,
Simon
C# questions
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
Re: C# questions
Hello Simon,
1) That is possible to do that via a wrapper dll, where you need to copy the array data from .net to std::vector.
2) For COM dll reference instructions please refer to this page.
1) That is possible to do that via a wrapper dll, where you need to copy the array data from .net to std::vector.
2) For COM dll reference instructions please refer to this page.
Re: C# questions
My question is about the class structure.
I noted that there are two different ways to implement a function.
1. is a class inherited from FunctionSimple<T> which seems to me self explanatory.
2. is a static class acting as a IInstrumentExt e.g. the Range Function which seems a good way to perform operation on ISeries object.
I tried to understand how the 2. instance of a function is recognized as an extenstion to the IInstrument because there is no in heritance to that ?
Is there a third way to implement a function ?
Best Regards
Franz
I noted that there are two different ways to implement a function.
1. is a class inherited from FunctionSimple<T> which seems to me self explanatory.
2. is a static class acting as a IInstrumentExt e.g. the Range Function which seems a good way to perform operation on ISeries object.
I tried to understand how the 2. instance of a function is recognized as an extenstion to the IInstrument because there is no in heritance to that ?
Is there a third way to implement a function ?
Best Regards
Franz
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
Re: C# questions
Franz, this is a general C# question, not related to MultiCharts .Net. Function, Signal and Indicator are abstract "forms" we have added for ease of use. The heart of any study in MC .Net is a class, like in regular C#.