Behavior : Candlestick chart
Author:Rex.Rainbow
- Draw a candlestick chart on the canvas. The api of chart - https://github.com/amih/Candlestick.js
Download
Properties
Background color
Upper background color
Upper scale font color
Upper horizontal scale line color
- Upper horizontal scale linecolor.
Upper vertical scale line color
- Upper vertical scale linecolor.
Upper indicators line color 0
- Upper indicators line color 0.
Upper indicators line color 1
- Upper indicators line color 1.
Upper indicators line color 2
- Upper indicators line color 2.
Upper indicators line color 3
- Upper indicators line color 3.
Upper indicators line color 4
- Upper indicators line color 4.
Upper indicators line color 5
- Upper indicators line color 5.
Upper indicators line color 6
- Upper indicators line color 6.
Upper candle color
Upper candle rise color
Upper candle fall color
Lower background color
Lower MACD line color
Lower signal line color
Lower histogram bins color
- Lower histogram bins color.
Top margin
- Top margin of this chart, in pixels.
Bottom margin
- Bottom margin of this chart, in pixels.
Left margin
- Left margin of this chart, in pixels.
Right margin
- Right margin of this chart, in pixels.
Lower height
- Height of lower chart, in pixels.
Candle width
Actions
Draw
Action:Draw
- Draw chart.
- Data ( string ) : The data in the finance.yahoo.com format.
Options
Action:Set title
- Set title.
- Title ( string ) : The title for the chart.
Action:Set adjust
- Set adjust.
- Adjust ( number ) : Adjust.
Options - indicator
Action:Add SMA
- Add SMA.
- Type ( Combo ) : Type.
- Options : ["Open","High","Low","Close","Volume"]
- N ( number ) : N.
Action:Add EMA
- Add EMA.
- Type ( Combo ) : Type.
- Options : ["Open","High","Low","Close","Volume"]
- N ( number ) : N.
Action:Add MACD
- Add MACD.
- N12 ( number ) : N12.
- N26 ( number ) : N26.
- N9 ( number ) : N9.