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)
Spearman Rank Correlation, with tie correction
Version 2:
Corrected tie correction algorithm
Note: It would be great if a math or statistics expert could verify this, I'm neither.
I'm embarrassed to say I screwed up such relatively simple code, but I discovered today that jhlMIN and jhlMAX were returning incorrect results if COBC == false and the input series wasn't Low and High respectively. The following posts have been updated:
Minimum value seen in period. Should return the same values as the standard MIN, which as of b18 has been fixed to reduce iteration. With that fixed the only advantage this has over the standard is memory reduction when used as a component and not displayed. …
Maximum value seen in period. Should return the same values as the standard MAX, which as of b18 has been fixed to reduce iteration. With that fixed the only advantage this has over the standard is memory reduction when used as a component and not displayed. …
Plots the fractal dimension of the input series.
See http://en.wikipedia.org/wiki/Fractal_dimension
Version 1: Previously included in jhlHurstExponent
Version 2: Includes corrected jhlMIN & jhlMAX for COBC == false
I recently discovered that the formula used for my solution in this thread:
https://nexusfi.com/ninjatrader-programming/5069-hurst-exponent.html
has an error. (I guess that means we'll call this version 2.) Here is a corrected HurstExponent …
very newbie question so apologies in advance, but say im using jholtema in a strategy I can see Avg but how do i decipher if its red or green for the condition?