Comments (2)
I have no idea how they calculated it, but I do know that TradingView has some sort of error, based on my prior analysis. Maybe they copied their bad code? I wasn't clear on whether you were comparing some other charting tool or not.
If you're calculating ATR from this library, make sure you're providing the three HLC values in your quote inputs. It needs all of them to calculate True Range and ATR.
Since normal ATR uses a smoothed moving average, it also takes ~250 periods before the convergence error is fully resolved, so it's not unusual for earlier periods to have some error; however, I don't suspect that's where the error is in this case because it wouldn't be significantly different as you're describing.
from stock.indicators.
If you’re still seeking support on this issue, please provide the underlying price quotes
and any other information about your sources of comparison. I’ll take a closer look.
from stock.indicators.
Related Issues (20)
- auto-prune in-memory stream data HOT 5
- stream through full chains HOT 1
- Forward Curve for CoT Trading HOT 1
- How to calculate a stream HOT 1
- Stc Bug - Out of range exception HOT 3
- Williams %R values out of 0 to -100 bounds HOT 4
- Fractal all nulls HOT 2
- RSI missing default param value when chainee HOT 2
- add RCI (Rank Correlation Index) HOT 1
- Four-hour pivot points HOT 1
- add Smoothed Heiken Ashi HOT 1
- Ichimoko SenkouSpanA miscalculation HOT 3
- GetEma return NULL HOT 2
- Native support of Pandas DataFrame? HOT 4
- Connors RSI accuracy (during warmup periods) HOT 10
- Weekly Result of Indicators are Not Correct HOT 4
- Does `quotes.Aggregate(PeriodSize.Week)` use a fixed calendar week? HOT 5
- Add SSL Hybrid indicator
- Last entry in bollinger bands is partially filled HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stock.indicators.