Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

trix

node v4.9.1
version: 1.0.0
endpointsharetweet
let TRIX = require('technicalindicators').TRIX; var close = [127.75,129.024995,132.75,145.399995,148.975005,137.524995,147.375,139.050005,137.225005,149.300005,162.449995,178.949995,200.350005,221.899995,243.225005,243.524995,286.42499,280.274995,277.350005,269.024995,263.225005,214.899995,214.824995,244.449995,237.824995,258.95001,269.29999,258.524995,266.850005,266.149995,278.125,273.024995,264.024995,267.5,321.274995,351.67499,359.70001,396.774995,381.25,416.350005,444.649995,356.95001,354.42499,397.67499,498.975005,477.475005,529.925,489.399995,558.675,585.875,613,622.225,635.075,683.225,676.25,685.15,780.525,879.4,850.275,946.75,977,1149.025,1391.9]; let input = { values : close, period : 18 }; TRIX.calculate(input);
Loading…

no comments

    sign in to comment