Demonstrates rendering buy, sell trades as arrows with up and down coloring. Also demonstrating rendering and styling additional trades types apart from buy and sell default and mouse over events.
Tick plot
An example rendering trade positions and demonstrating basic interaction.
Average Directional Index (ADX) calculation and rendering demo.
Stochastic Oscillator calculation and rendering demo.
William %R calculation and rendering demo.
Bollinger Bands calculation and rendering demo.
Demonstrating d3 time scale (continuous, linear) as x axis instead of techan financetime. When using a non techan time scale, candlestick (and ohlc), the width calculation needs to be supplied.
And zooming of a plot and axis. Zoom clamp is off, the chart can be freely moved.
Note: The weekend gaps due to continuous linear scale.
Heikin-Ashi calculation and rendering demo.