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)
In this thread I intend to post indicators I have developed. In most cases the indicator is designed primarily as a reusable component for compositing into more complex indicators, and the visible rendition exists mostly for testing and verification.
My design goals are to be as CPU efficient and memory compact as possible.
Should return the same values as the standard 'SUM', hopefully with less memory overhead. Intended to be used as a component in more complex indicators. Version 1.0.
Should return the same values as the standard EMA. Designed to be a reusable component with low memory overhead.
Version 2:
Further reduced memory footprint
Defaults to CalculateOnBarClose = false
Updated with new JHL.Utility.MA
Linear Regression Slope. Should return the same values as the standard LinRegSlope. However, the standard version iterates on every update, making it especially inefficient for intrabar (tick) data. This version does not iterate on intrabar updates. Version …
Linear Regression Intercept. Returns slightly different values than the standard LinRegIntercept provided, which I believe to be incorrect (at least through NT7 Beta 18). Also unlike the provided version does not require iteration on intrabar updates. …
Wikipedia calls this a 'Modified Moving Average'. Traders may know it as Welles Wilder's Moving Average, as it is the averaging method used in many of his indicators.
It's conceptually simpler than an EMA, the basic formula being:
average = (newValue …