Skip to content

Instantly share code, notes, and snippets.

@andredumas
andredumas / README.md
Last active Oct 1, 2016 — forked from fojt/data.csv
TechanJS Williams %R
View README.md

William %R calculation and rendering demo.

@andredumas
andredumas / README.md
Last active Sep 28, 2016 — forked from fojt/data.csv
TechanJS Stochastic Oscillator
View README.md

Stochastic Oscillator calculation and rendering demo.

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

Average Directional Index (ADX) calculation and rendering demo.

@andredumas
andredumas / README.md
Last active Sep 28, 2016
TechanJS Tick Spread Plot
@andredumas
andredumas / README.md
Last active Sep 28, 2016 — forked from fojt/data.csv
TechanJS Aroon
View README.md

Aroon calculation and rendering demo.

View weekday.js
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;
}
You can’t perform that action at this time.