Being rather new to MultiCharts and .Net programming, would it be possible to post several example functions written in PowerLangauge (both simple and series). Thus far I've been able to create new/modify "indicators" by opening up the existing "Indicators" using the PowerLangauge .Net Editor, but since there are no functions listed under the studies folder (and limited documentation), I'm having trouble getting started creating any new functions. Although the templates appear useful, if I could just view a few sample functions it would really help.
By the way, thus far I've been very impressed with MultiCharts.Net...
Thanks,
Sample Functions
Re: Sample Functions
Ditto for the request.
Better yet, could you just make all of the C# source code for the built-in functions available? The PowerLanguage source code for the functions has always been available in the "regular" version of MultiCharts, and it's been a helpful resource to study.
Better yet, could you just make all of the C# source code for the built-in functions available? The PowerLanguage source code for the functions has always been available in the "regular" version of MultiCharts, and it's been a helpful resource to study.
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: Sample Functions
viewtopic.php?f=19&t=10679&p=52999#p52999
Hello,
Functions are not documented yet. We plan to provide the source code and description of the functions in the next version.
Re: Sample Functions
Thanks TJ. For what it's worth, it's possible to "reverse engineer" the functions for now by running a decompiler on the file \StudyServer\Techniques\CS\bin\Debug\PLBuiltInFunctions.dll. I've had reasonably good results using ILSpy:
http://wiki.sharpdevelop.net/ILSpy.ashx
Of course, the functions are subject to change between now and the next version, since they're undocumented.
I hope that nobody at MultiCharts takes offense at decompiling -- feel free to delete this post if you consider it inappropriate.
http://wiki.sharpdevelop.net/ILSpy.ashx
Of course, the functions are subject to change between now and the next version, since they're undocumented.
I hope that nobody at MultiCharts takes offense at decompiling -- feel free to delete this post if you consider it inappropriate.
- Dave Masalov
- Posts: 1712
- Joined: 16 Apr 2010
- Has thanked: 51 times
- Been thanked: 489 times
Re: Sample Functions
Xyzzy,
Decompiling the functions will result in having functions code displayed not in the best way. We are working on the functions code at the moment. I would suggest you to wait one or two weeks until functions source code is available.
Decompiling the functions will result in having functions code displayed not in the best way. We are working on the functions code at the moment. I would suggest you to wait one or two weeks until functions source code is available.
- Dave Masalov
- Posts: 1712
- Joined: 16 Apr 2010
- Has thanked: 51 times
- Been thanked: 489 times
Re: Sample Functions
Hello Emmanuel,
We will provide some VB.NET samples. Also, you will be able to convert functions source code from C# to VB.NET using a converter like Reflector.
We will provide some VB.NET samples. Also, you will be able to convert functions source code from C# to VB.NET using a converter like Reflector.
-
- Posts: 73
- Joined: 19 Oct 2007
- Has thanked: 46 times
- Been thanked: 4 times
Re: Sample Functions
You may want to try http://converter.telerik.com/Hi Dave,
We need the source code of the functions in VB as well.
Thank you
Emmanuel
Re: Sample Functions
Thank you dahmen
This http://converter.telerik.com/ is really cool !!!! and usuful !!!!!
It 's really a good idea !!!
Emmanuel
This http://converter.telerik.com/ is really cool !!!! and usuful !!!!!
It 's really a good idea !!!
Emmanuel
Re: Sample Functions
Greetings Dave --
Cheers!
Do you have an ETA on when the next version will be available. We're all still very interested in the source code for these functions.Hello,
Functions are not documented yet. We plan to provide the source code and description of the functions in the next version.
Cheers!
- Dave Masalov
- Posts: 1712
- Joined: 16 Apr 2010
- Has thanked: 51 times
- Been thanked: 489 times
Re: Sample Functions
Hello rsquared,
I cannot give you any exact date yet. There is a couple of issues that should be fixed before the release.
I cannot give you any exact date yet. There is a couple of issues that should be fixed before the release.
Greetings Dave --
Do you have an ETA on when the next version will be available. We're all still very interested in the source code for these functions.Hello,
Functions are not documented yet. We plan to provide the source code and description of the functions in the next version.
Cheers!
- Stan Bokov
- Posts: 963
- Joined: 18 Dec 2009
- Has thanked: 367 times
- Been thanked: 302 times
Re: Sample Functions
MC .NET 8.1 will probably be released early next week (it'll include scripts for all used functions).