laff / technical-indicators Goto Github PK
View Code? Open in Web Editor NEWTechnical Indicators - Plugin for Highcharts
License: MIT License
Technical Indicators - Plugin for Highcharts
License: MIT License
Only the first and last trend data points are calculated. This plugin should calculate a trend data point for every data point in the source series.
Don't work if primary series hidden: http://jsfiddle.net/g4b9pfaa/2/. Graphs show up if try to change browser window size.
I am using high-stock 2.0.4 in my project. Is this project in development ? Has it been tested for highstock 2.0 ?
At least for the SMA, but probably others. When there are datapoints with a null Y value, I believe the trend line treats them as if they are 0s.
It seems like these datapoints should be ignored entirely. For example, if I was doing a 7 day moving average and day 20 of 100 was missing data, the SMA value could just use the last 6 days for the day 20 SMA value. i.e. Do the sum, but divide by 6 instead of 7.
Since this project hasn't been undergoing any kind of rapid change, it's probably worth pointing to Rawgit's CDN so Ryan has a better time :)
Given you've accepted the bower.json file (as per pull request #8) it'd be good to register it with bower. You can use the command bower register highcharts-technical-indicators https://github.com/laff/technical-indicators.git
or similar to register it.
Is there anyway to generate a centered moving average?
This plugin changes the first and last YAxis labels to numbers, 0 for the first data point and another number for the last. It should not change the existing series data, just add a new series for the trend data.
In some servers, the error appears because there is no declaration of step10, the error mentioned in the title occurs, for correction of it simply state it at the top of the function.
this would make the line a prediction, which is what I want. How do I get it to draw in the parts of the chart in the future, where there isn't any data yet?
If this plugin is no longer maintained (#21 #22) then the Github readme and Highcharts plugin page should explain that so people are aware of the situation before investing time into this plugin.
Your bower.json file is malformed. Need to remove the trailing comma on line 28. Tested successfully on forked branch.
Hi I want to use technical indicators plugin in my graph. But I want to modify MACD formula. How can I change that?
Can I add custom period value in linear type technical indicators? deafult it is '100' ....can I customize it I mean If dynamically I push period value as 40. Will it work?
{
name: 'Linear Trendline',
linkedTo: 'primary',
showInLegend: true,
enableMouseTracking: true,
type: 'trendline',
algorithm: 'linear',
periods:40
}
If a serie is set an id at a later date, even if the chart is redrawn, the trendline serie is added but with empty data. Here is an example that works: http://jsfiddle.net/g9ymtkw3/2/ and one that doesnt : http://jsfiddle.net/g9ymtkw3/3/
There was a wrong assumption made that the trend line will start at the same point as the original dataset. It needs to be computed using the calculated linear equation of the trend line, just as the last point is being computed. See my pull request for the fix.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.