Just some new and updated indicators for Comminity.Indicators
Size:
Color:
Percent Rank (corrects Community.Indicators' version, matches MS Excel output, implements PartialValue)
CODE:
Please log in to see this code.
Size:
Color:
David Varadi's DV2 (implements PartialValue, important if you trade at market close)
CODE:
Please log in to see this code.
Size:
Color:
DV2, bounded version, combines the two indicators above
CODE:
Please log in to see this code.
Size:
Color:
David Varadi's DVO ("the mother oscillator"), the idea is published in this article --
http://daveab.com/mr_swing/index.htmCODE:
Please log in to see this code.
Note: because of complexity of parameters, this implementation has two static methods to create an instance of indicator -- DVO.Series takes string parameters and DVO.Series2 takes array parameters.
DV2 mentioned above is a specific configuration of more generic DVO with parameters "0, 0.5, 0.5, 0" and "0.5, 0.5".
Implements PartialValue.
Size:
Color:
Great, thank you for the contribution. I'll include it in Community.Indicators in the next update.
Size:
Color:
...except for the DVO (which requires .NET 3.5 due to its use of LINQ). This one will be added in a future release.
Size:
Color:
Size:
Color:
Kendall Tau Rank Correlation
CODE:
Please log in to see this code.
CPU-intensive. Also allows you to obtain z-score.
Size:
Color:
Thank you!
Size:
Color:
"Kendall Tau Rank Correlation" will make it into the next release of Community Indicators but inclusion of "Spearman Rank Correlation" is unlikely. It requires ALGLIB DLL which is not OK to use in commercial applications due to GPL. Sure, Community Indicators is free an open source but Wealth-Lab isn't, and one of our rules of thumb learnt in the school of hard knocks is "never deal with GPL" (exception: LGPL).
Size:
Color:
Since the "More Info" link for Kendall Tau-Rank correlation points to Wikipedia, thought I'd share a code snippet illustrating the syntax here:
CODE:
Please log in to see this code.
Size:
Color: