Skip to content

Instantly share code, notes, and snippets.

@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 September 28, 2016 11:58 — forked from fojt/data.csv
TechanJS Stochastic Oscillator

Stochastic Oscillator calculation and rendering demo.

@andredumas
andredumas / README.md
Last active September 28, 2016 11:51 — forked from fojt/data.csv
TechanJS Average Directional Index (ADX)

Average Directional Index (ADX) calculation and rendering demo.

@andredumas
andredumas / README.md
Last active September 28, 2016 12:08
TechanJS Tick Spread Plot

Tick plot

@andredumas
andredumas / README.md
Last active September 28, 2016 11:53 — forked from fojt/data.csv
TechanJS Aroon

Aroon calculation and rendering demo.

weekday = (function() {
// Returns the weekday number for the given date relative to January 1, 1970.
function weekday(date) {
var weekdays = weekdayOfYear(date),
year = date.getFullYear();
while (--year >= 1970) weekdays += weekdaysInYear(year);
return weekdays;
}