Login Page - Create Account

Support Board


Date/Time: Wed, 15 May 2024 16:21:53 +0000



Murrey Math - error in calculations

View Count: 593

[2021-06-23 12:17:32]
User585570 - Posts: 2
Hi,

I wanted to check up on the calculations of the Murray Math indicator which was posted here: Murrey Math

I found that when calculating M_{t_end}(n,v) we may get a negative value in the argument of the logarithm, since Range(MMI) can take negative values, meanwhile Si only takes positive values, since it is the product of two exponentials, which only take positive values. Therefore, it may happen (according to those calculations which are displayed on the link above) that the logarithm gets a negative argument.

So my question is that are those calculations displayed with an error? If so, then what are the correct ones?

Thanks for your help.
[2021-06-24 06:31:19]
SC Support Tom - Posts: 450
I am looking into this now.
[2021-07-09 10:15:20]
SC Support Tom - Posts: 450
WRT Post #1:


I found that when calculating M_{t_end}(n,v) we may get a negative value in the argument of the logarithm, since Range(MMI) can take negative values, meanwhile Si only takes positive values, since it is the product of two exponentials, which only take positive values. Therefore, it may happen (according to those calculations which are displayed on the link above) that the logarithm gets a negative argument.

You were correct about this. I have modified the code so that it can handle negative and zero values of M_{t_end}(n,v). The new calculation is as documented here:

Murrey Math

The changes will be available in the next release.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account