Skip to content

Instantly share code, notes, and snippets.

@andredumas
andredumas / README.md
Last active July 7, 2017 16:31
TechanJS Candlestick

Candlestick rendering demo. Demonstrates candle rendering and up and down day coloring.

@andredumas
andredumas / README.md
Last active October 1, 2016 22:25 — forked from fojt/data.csv
TechanJS Williams %R

William %R calculation and rendering demo.

@andredumas
andredumas / README.md
Last active October 1, 2016 04:36
TechanJS Rate Of Change (ROC)

Rate of Change calculation and rendering demo.

@andredumas
andredumas / README.md
Last active October 1, 2016 04:36
TechanJS Smoothed Rate of Change (SROC)

Smoothed Rate of Change calculation and rendering demo.

@andredumas
andredumas / README.md
Last active September 28, 2016 12:13
TechanJS SVG Arrow

Demonstrates arrow rendering and how to achieve different orientations.

@andredumas
andredumas / README.md
Last active September 28, 2016 12:12
TechanJS with d3 time scale

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.

@andredumas
andredumas / README.md
Last active September 28, 2016 12:11
TechanJS financetime scale

Demonstrating the difference between zooming techan time scale, clamped and non clamped zooming and d3 time scale for both daily and intraday data. D3's time scale is continuous and linear, techan.scale.financetime plots only points available in the data's date domain without linear (weekend, market holiday) gaps.

Note: techan.scale.financetime only plots the available domain, unlike d3, and will not scale or translate to values outside of the domain.
@andredumas
andredumas / README.md
Last active September 28, 2016 12:11
TechanJS Brush

Demonstrating brushing of a plot with a large dataset, testing performance on difference browsers and devices. Y scale will be adjusted as the chart is brushed.

@andredumas
andredumas / README.md
Last active September 28, 2016 12:10
TechanJS Volume

Volume rendering demo. Demonstrates volume rendering and up and down day coloring.

@andredumas
andredumas / README.md
Last active September 28, 2016 12:09
TechanJS Trendlines

Interactive trendline rendering on a chart.