Commit Graph

8 Commits

Author SHA1 Message Date
Martin Molinero 52d80e74f0 Indicator extensions support all indicator types 2018-08-14 18:14:46 -03:00
Jared c240c6b5ea Merge pull request #379 from mellertson/issue-372/short-cut-composite-indicators
Issue 372/short cut composite indicators
2016-04-26 15:05:02 -04:00
Mike Ellertson 1de4fb839d Complete sma, ema, min, and max extension methods
Add the following methods corresponding unit tests to QuantConnect.IndicatorExtensions:
*EMA()
*MAX()
*MIN()
*SMA()

Add method to calculate default smoothing value for an EMA indicator
2016-04-25 23:52:20 -07:00
Mike Ellertson c47eb47430 Complete extension method and unit test
Completed the extension method and unit test described in issue #372.  Updated unit test MultiChain().  Unit tests all pass.
2016-04-23 22:30:56 -07:00
AlexCatarino 34b664460d Adds VWAP indicator via WeightedBy indicator extension
Adds WindowIdentity indicator and its test. We need this at WeightedBy to keep values and weights at sync (same sample number).
Adds WeightedBy indicator extension and a simple test in IndicatorExtensionsTests
Adds VolumeWeightedAveragePriceIndicator (VWAP indicator), its test and external data file for testing.
2016-04-21 19:34:52 -03:00
Michael Handschuh c04a3be379 Modify IndicatorExtensions.Over to handle div zero 2016-04-07 06:14:19 -04:00
snugs d9051ab62b Adds some basic tests for Plus,Minus,Over,Times extensions 2015-03-01 13:37:53 -05:00
snugs cf3a399799 Updates CompositeIndicator to use push system
Removed IDataConsolidator from IndicatorBase
Renamed IndicatorBase.DataConsolidated -> Updated
ConstantIndicator is now sealed
IndicatorBase.Current is now protected set to allow ConstantIndicator to set it upon construction
CompositeIndicator wires up events on left/right to auto update himself following Updated events from both left/right (unless one is constant, this will not work with two constant indicators as left/right)
2015-03-01 13:26:26 -05:00