Comments (2)
@streetgainer can you send the values comparing the two?
from technicalindicators.
Yes.. below are the last 30 daily bars (H/L) for NFLX and the Tradingview's psar results for each day. What I noticed is that Tradingview charts has an additional setting on their psar indicator called Start
which is also set to .02 at default, and it's defined here as "The starting value for the Acceleration Factor ". Not sure if that's an issue. The psar results below are rounded to 2 digits after the decimal but actually have as many as 4 or 5 digits after the decimal...
`let high=[ 190.25, 188.66, 189.7, 190, 185.03, 184.97, 184.62, 182.57, 181.22, 181,
182.27, 181.91, 175.96, 174.45, 172.58, 172.45, 171.88, 170.5, 170.58, 169.97,
168.99, 169.93, 169.64, 171.24, 168.75, 168.67, 169.68, 174.85, 176.24, 176.48 ]
let low=[ 187.01, 185.81, 187.51, 179.38, 181.18, 180.65, 181.43, 177.81, 178.02, 178.5,
179.1, 177.45, 170.01, 167.6, 169, 168.8, 168.25, 166.25, 165.72, 165.8, 164.23,
167.04, 166.7, 166.15, 165.5, 165.6, 164.73, 169.37, 173.86, 173.92 ]
let tradingview_results=[ 167.61, 170.96, 173.83, 176.31, 178.43, 180.26, 181.43, 191.50, 191.23, 190.96, 190.69, 190.16, 188.96, 187.25, 185.68, 184.23, 182.90, 181.23, 179.37, 177.73, 175.84, 174.22, 172.82, 171.62, 170.58, 169.69, 169.68, 164.23, 164.71, 165.42]
let technicalindicators_results=[ 187.01, 190.25, 190.25, 190.1612, 190, 190, 189.5752, 189.167392,
188.48594848000002, 187.84539157120003, 187.24326807692802, 186.67727199231234,
185.93909023292736, 184.3461812096346, 182.33663946447845, 180.56824272874104,
179.0120536012921, 177.64260716913705, 176.04764216545786, 174.3952194189846,
173.00718431194707, 171.4272911357966, 170.1317787313532, 164.23,
164.37019999999998, 164.50759599999998, 164.64224407999998, 164.73, 164.73,
165.42059999999998 ]`
from technicalindicators.
Related Issues (20)
- Example Playground Not Found Dep
- SMA returns NaN HOT 1
- is ADX correct (difference with TradingView) HOT 2
- Is there a better and maintained lib? HOT 2
- diffrence with tradingview and this RSI calculation HOT 5
- Looks like most of indicator calculation is wrong. HOT 8
- Bullish Hammer calculation is incorrect HOT 4
- Deno Support
- Error in mfi calculating
- Unequal ROC indicator output in compare to Binance real time data HOT 1
- Is not working with candles of 4H the SMA
- [TIP] for people getting wrong values
- Request for adding Hull Moving Average (HMA) HOT 2
- Moving Average functions but float period
- Ichimoku indicator error HOT 2
- sma always returns null HOT 1
- how to use predictPattern function
- This library is a memory leak HOT 6
- [feature] new indicator : SAR HOT 2
- Is this library still supported? HOT 3
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 technicalindicators.