ZLMA bug
See original GitHub issued = pd.DataFrame(np.array([1,2,3,4,5,6,7,8,9,10]))
d.ta.zlma(close=d[0], length= 5, append=True)
print(d)
output:
0 ZL_EMA_5
0 1 NaN
1 2 NaN
2 3 NaN
3 4 NaN
4 5 **_6.00_**
5 6 6.67
6 7 7.44
7 8 8.30
8 9 9.20
9 10 10.13
- the input series has the first 5 values clearly below 6.0
- ZLMA somehow calculates that the first visible value (for the input of 5.0) is 6.0
- the calculation of the corrected input (using an offset) is not returning correct values for early data.
- ZLMA uses EMA by default, making this bug (nearly) invisible after 20+ bars are calculated.
Issue Analytics
- State:
- Created a year ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Error "Failed to create work order to Acquisition Department ...
When clicking "Add Physical Item" under Resources and saving - an error is seen: "Failed to create work order to Acquisition Department." This ......
Read more >Upgrading Firefox fails. lzma error: compressed data is corrupt
I have run into the same issue (lzma error: compressed data is corrupt) but with the wget command. Is there a fix for...
Read more >Alma - PCGamingWiki PCGW - bugs, fixes, crashes, mods ...
Alma. From PCGamingWiki, the wiki about fixing PC games. This page is a stub: it lacks content and/or basic article components.
Read more >20 Best Bed Bug Treatments in Alma MI| Angi
Treating Bed Bugs in Alma - See ratings and read real reviews about companies in Alma that Treat Bed Bugs.
Read more >full of bugs and no customer... - Alma Tulum Hotel Boutique ...
Alma Tulum Hotel Boutique and Beach Club: Horrible - full of bugs and no customer service - See 220 traveler reviews, 379 candid...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
doing manual calculation on paper. this is actually correct calculation - ZLEMA overshoots on purpose in the early part of the calc…
No worries.