Indicators available in this plugin: SMA, EMA, ATR, RSI. You can use these indicators for free.
21 |
We also have other indicators available: Bollinger Bands, MACD, Momentum, CCI, Stochastic, Rate of Change (ROC), Accumulation / distribution (AD), Pivot Points, ZigZag, Weighted Moving Average (WMA), PSAR, MFI, Price Envelopes.. If you're are interested in purchasing them, developing new indicators or any other tools, please contact us at: start@blacklabel.pl
22 | You may also want to check our other demo here: http://demo.blacklabel.pl.
23 |
24 |
25 |
26 |
Requirements
27 |
28 |
29 |
Version 2.0+ requires the latest Highstock (v2.1.5+)
30 |
Version 1.1 requires Highstock v2.1.5
31 |
Version <1.1 supported since Highstock v1.3.9 to Highstock v2.1.4
32 |
33 |
34 |
Versions
35 |
36 |
37 |
2.x - Improved logic for calculations and performance. Values are based on initial points, not grouped. When points are grouped by dataGrouping then indicators values are grouped too.
38 |
1.x - Initial version of Indicators.js. Calculations are based on grouped points (aka dataGrouping)
39 |
40 |
41 |
Installation
42 |
43 |
44 |
Like any other Highcharts module (e.g. exporting), add <script> tag pointing to indicators.js below Highcharts script tag. Then attach all required indicators (like ema.js, rsi.js).
determines if indicator should be visible in the legend. Defaults to false.
138 |
name
String
name is used in legend and tooltip to display indicator. By default it's the same as type.
139 |
styles
Object
color, dashstyle, width etc. for a indicator line
140 |
yAxis (ATR/RSI)
Object
yAxis object like in Highcharts, options for additional yAxis
141 |
params
Object
config options for indicator
142 |
params.approximation (SMA/EMA/ATR/RSI)
String/Function
The same property as in dataGrouping.approximation for Highstock. Supported since version 2.0.0. Defaults to "average".
143 |
params.period (SMA/EMA/ATR/RSI)
Number
base perdiod for indicator (it's number of points to be calculated). Defaults to 14.
144 |
params.index (SMA/EMA)
Number
y-value index. Useful when using candlestick/ohlc/range series to determine which value (open/high/low/close) should be used in indicator. Defaults to 0.
145 |
params.overbought (RSI)
Number
overbought value between 0-100. Defaults to 70.
146 |
params.oversold (RSI)
Number
oversold value between 0-100. Defaults to 30.
147 |
params.decimals (RSI)
Number
Precision for the calculations. For example decimals=1 will cut off value 123.4567 to 123.4. Higher value provides more accurate values, but will cost performance. Defaults to 4.
148 |
149 |
tooltip.pointFormat
150 |
String
151 |
point.color and point.y return values from indicator. Disabled by default.
152 |
153 |
154 |
155 |
156 |
157 |
New options/methods in Chart:
158 |
159 |
160 |
161 |
162 |
Method
163 |
Version:
164 |
Description
165 |
166 |
167 |
168 |
169 |
chart.addIndicator(options, [redraw])
170 |
v 1.0.0+
171 |
Add new indicator with given options. Optionally redraw chart.
172 |
173 |
174 |
chart.indicators.allItems
175 |
v 1.0.0+
176 |
Array containing all indicators.
177 |
178 |
179 |
chart.alignAxes
180 |
v 1.0.9+
181 |
true/false. When idicator requires separate yAxis (like ATR or RSI) then indicators plugin will update heights of the axes to fit plotting area. Disable it and set yAxis.top and yAxis.height when you want different heights for the y-axes. Defaults to true. Note: When disabled, top and height options need to be set for all axes for better view.
182 |
183 |
184 |
tooltip.enabledIndicators
185 |
v 1.0.0+
186 |
true/false, show indicators in tooltip. Disabled by default.
187 |
188 |
189 |
Highcharts.approximations
190 |
v 2.0.0+
191 |
Object containing built-in approximations (functions) in Highstock. For more details see dataGrouping.approximation