Skip to content

Instantly share code, notes, and snippets.

@andredumas
andredumas / README.md
Last active Nov 29, 2020
TechanJS Supstance
View README.md

Interactive support and resistance line rendering on a chart. Illustrating setting start end end points and horizontal line at full width.

@andredumas
andredumas / default.rb
Created Jun 27, 2014
Headless Google Cloud Print Upstart script and a partial supporting recipe
View default.rb
# NOTE: This is partially complete and not ready for use, watch out for <user> tokens!
# Requires:
# * Printer drivers installed and registered with CUPS
# * Chrome installation (36 Beta was required at the time due to https://code.google.com/p/chromium/issues/detail?id=375841#c6)
# * A Generated "Service State" file (Instructions https://support.google.com/a/answer/2906017?hl=en)
package "cups"
service "cups" do
action [:enable, :start]
@andredumas
andredumas / README.md
Last active Sep 28, 2019
TechanJS Plots
View README.md

Plots rendering demo. A sample of what can be created with the available plot types.

  • Candlestick
  • Volume
  • Percentage axis
  • Simple and Exponential Moving Averages
  • Zooming
  • Indicator combinations
  • Interactive trendlines
@andredumas
andredumas / README.md
Last active Jul 4, 2019
TechanJS Smoothed Derivative
View README.md

Smoothed derivative calculation and plot

@andredumas
andredumas / .gitignore
Last active Dec 19, 2018
TechanJS Server Side Generation
View .gitignore
node_modules
@andredumas
andredumas / README.md
Last active Nov 13, 2018
TechanJS Plot Zooming
View README.md

Demonstrating zooming of a plot and axis. Zoom clamp is off, the chart can be freely moved.

@andredumas
andredumas / README.md
Last active Sep 26, 2018
TechanJS Ichimoku Cloud
View README.md

Ichimoku Cloud calculation and rendering demo.

@andredumas
andredumas / README.md
Last active Sep 11, 2018
TechanJS Bollinger Bands
View README.md

Bollinger Bands calculation and rendering demo.

@andredumas
andredumas / README.md
Last active Mar 20, 2018
TechanJS Feed
View README.md

Simulating refreshing receiving a 'real-time' (constantly updating) data feed. Adheare's to D3's general update pattern. When the end of the data feed is reached, intra-day data updates will be simulated

@andredumas
andredumas / README.md
Last active Jan 4, 2018
TechanJS Position Box
View README.md

An example rendering trade positions and demonstrating basic interaction.