commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "michael.brzustowicz@gmail.com" <michael.brzustow...@gmail.com>
Subject Re: [math]
Date Wed, 17 May 2017 19:12:18 GMT
Perhaps use the DescriptiveStatistics class with an appropriate window size?
http://commons.apache.org/proper/commons-math/javadocs/api-3.6.1/index.html
You will have to retrieve the sum after the insertion of each new data
point.

On Wed, May 17, 2017 at 4:22 AM, Gilles <gilles@harfang.homelinux.org>
wrote:

> Hi.
>
> On Wed, 17 May 2017 09:54:23 +0000, Tobias.Wolf@t-systems.com wrote:
>
>> Hi guys,
>>
>> is there any methods in apache common math library that I can use to
>> implement Exponential Moving Average and other financial statistics
>> functions like MACD,SMA,RSI?
>>
>>
>> https://en.wikipedia.org/wiki/Moving_average#Exponential_moving_average
>>
>> https://en.wikipedia.org/wiki/MACD
>>
>> https://en.wikipedia.org/wiki/Moving_average#Simple_moving_average
>>
>> https://en.wikipedia.org/wiki/Relative_strength_index
>>
>
> I don't think so; but you should have a look at the contents of the
> "stat" package too see how easy/difficult this extension would be
> within the current design. [Some of it needs change but we lack human
> resources.  Help welcome...]
>
>
> Best regards,
> Gilles
>
>
>> regards,
>> Tobi
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message