New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chandelier Exit indicator #58
Conversation
This looks pretty good. Great job with the documentation! Here's my suggestion: Instead of using your You'll need 'TI_REAL truerange;` at the top, then the first loop would look like this:
and the second like this:
|
Done. By the way, what's your approach for quick microbenchmarking within this library? |
You can remove your Ok, I think you might have a serious bug. Imagine if You might want to look at Let me know your thoughts. |
I'm just doing Make sure to remove |
Yes, my bad regarding the maintainance of max/min. I’ll push an update once I’m back to my pc. That’s interesting because I found my version consistently performing a few percent better. I was benchmarking inside a VM though and using an ad-hoc bench code, not benchmark.c. What’s to benchmark.c, it has a dependency on ta-lib, and I haven’t still figured out how to obtain it. |
...yet it must be pretty easy, right? |
ta-lib is from https://www.ta-lib.org/hdr_dw.html Benchmark will do comparisons between TI and ta-lib. We should probably update benchmark in the future so the ta-lib comparison is optional. |
I've spot another bug in my code. Gonna make a |
I laid the ground work for streaming indicators and reference indicators. Check out #60 I think the reference indicators will be a big help. There are a lot of edge cases in optimized indicator code. |
9f4462d
to
a2c366f
Compare
I've fixed everything I got wrong last time and implemented the new interfaces. Benchmarks show that there is potentially a room for improvement, so I will probably revise it later. These are available in the CI build log (thanks to #63). |
Sources:
ce_high
:ce_low
: