Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
For grits and shins I am trying to replicate Richard’s HurstMacd, but the programming is beyond my skills. I need to do the following, with Close[0] simply representing whatever data series that is to be fed into it:
Deviation1.Set( Close[0] – Mean[0] );
Deviation2.Set( Close[1] – Mean[0] );
Deviation3.Set( Close[2] – Mean[0] );
Etc. from 4 to Period
Sum1.Set( Deviation1[0] );
Sum2.Set( Deviation1[0] + Deviation2[0] );
Sum3.Set( Deviation1[0] + Deviation2[0] + Deviation3[0] );
Etc. from 4 to Period
Difference.Set( Max(Sum data series) – Min(Sum data series) );
As you can see I need the Deviation and Sum data series to be self replicating based upon how many periods there are and then calculate the min and max of those figures. Anyone know how to do that? Thanks.
Can you help answer these questions from other members on NexusFi?
Sorry, that's not the complete calculation, just the part I was having trouble with, here is the link to an explanation of the whole thing. Thanks for everyone's help.
I'm very interested in this, please post more information. Using google I've learned about the Hurst Exponent, which this does not appear to be, but I haven't been able to find anything about a Hurst MACD. If I haven't made an error then the attached implements the code you asked for, but it doesn't appear to be a useful plot. Was that a fragment of the calculation?
(Thanks for the link above, your post beat mine ;-), I'll look at that and work on it some more)
Is your end goal the Hurst Exponent, where < .5 => mean reverting, == .5 => random, > .5 => trending? Or is the Hurst Exponent just a component of some kind of MACD plot that's the end goal? (I guess 'Hurst MACD' in the first post still has me confused.)
Richard from MoveTheMarkets ( did a nice video today using MultiCharts. I think it may come as a surprise to many NT users just how quick and responsive MC is compared to NT...
Mike
I am assuming that he is feeding the MACD into the filter and plotting the result with an offset to eliminate the lag and line it up with the prior data, then projecting the future plot in his mind. But I won't know until it is fully programmed. I am slow, so I was figuring the programming part would take me a couple weeks. Now it should only take me a week or so to finish using what you have given me, unless...
I reviewed the video and have to admit that I still don't know what a Hurst MA or a Hurst MACD is, but I think I've correctly come up with a Hurst Exponent indicator. I found it easier to first come up with a Fractal Dimension indicator and the infer the Hurst Exponent from that.
Revised: Solved a divide by 0 error when min(Close, n) == max(Close, n)