Skip to content

fixed atr#14

Merged
BusinessDuck merged 1 commit into
debut-js:masterfrom
StaRenn:fix-atr
Dec 4, 2021
Merged

fixed atr#14
BusinessDuck merged 1 commit into
debut-js:masterfrom
StaRenn:fix-atr

Conversation

@StaRenn
Copy link
Copy Markdown
Contributor

@StaRenn StaRenn commented Dec 4, 2021

The problem was that in test we used SMMA when technical indicators uses WEMA,
True range should return undefined if there's no previous value, so as ATR if true range is undefined,
source code from technical indicators

image
image

@BusinessDuck
Copy link
Copy Markdown
Member

solve #13

@BusinessDuck
Copy link
Copy Markdown
Member

looks pretty good, i'll add small changes in master after merge

@BusinessDuck BusinessDuck reopened this Dec 4, 2021
@BusinessDuck BusinessDuck merged commit 7c8c1ca into debut-js:master Dec 4, 2021
BusinessDuck added a commit that referenced this pull request Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants