diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
deleted file mode 100644
index 08cd9ac..0000000
--- a/.github/FUNDING.yml
+++ /dev/null
@@ -1,5 +0,0 @@
-# These are supported funding model platforms
-
-ko_fi: dudochkin
-liberapay: dudochkin
-open_collective: dudochkin
\ No newline at end of file
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
deleted file mode 100644
index d0c94b6..0000000
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ /dev/null
@@ -1,18 +0,0 @@
----
-name: Bug report
-about: About unexpected behaviors
-title: "[BUG] "
-labels: bug
-assignees: ''
-
----
-
-**Describe the bug**
-Describe what is expected, what you actually get.
-It would be nice to have screenshot or result image uploaded  
-
-**To Reproduce**
-Some minimal reproduce code is highly recommended
-
-**Version Information**
-Please give us what version you are using. If you are pulling `UX Indicators` directly from git repo, please mention this as well
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
deleted file mode 100644
index 54e6204..0000000
--- a/.github/ISSUE_TEMPLATE/feature_request.md
+++ /dev/null
@@ -1,17 +0,0 @@
----
-name: Feature request
-about: Suggest an idea to UX Indicators maintainers
-title: "[Feature Request]"
-labels: feature request
-assignees: ''
-
----
-
-### What is the feature ?
-*Detailed feature descrption*
-
-### (Optional) Why this feature is useful and how people would use the feature ?
-*Explain why this feature is important*
-
-### (Optional) Additional Information
-*More details are appreciated:)*
diff --git a/.github/ISSUE_TEMPLATE/general-questions.md b/.github/ISSUE_TEMPLATE/general-questions.md
deleted file mode 100644
index 96d4e89..0000000
--- a/.github/ISSUE_TEMPLATE/general-questions.md
+++ /dev/null
@@ -1,10 +0,0 @@
----
-name: General Questions
-about: Any other issues
-title: ''
-labels: ''
-assignees: ''
-
----
-
-
diff --git a/.github/codecov.yml b/.github/codecov.yml
deleted file mode 100644
index f2cf6e4..0000000
--- a/.github/codecov.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-comment:
-  layout: "diff, flags, files"
-  require_changes: true
-
-coverage:
-  status:
-    project:
-      default:
-        informational: true
diff --git a/.github/workflows/audit.yaml b/.github/workflows/audit.yaml
deleted file mode 100644
index e0c79d5..0000000
--- a/.github/workflows/audit.yaml
+++ /dev/null
@@ -1,17 +0,0 @@
-name: Security audit
-on:
-  pull_request:
-  push:
-    branches:
-      - master
-  schedule:
-    - cron: '0 0 * * 0'
-
-jobs:
-  security_audit:
-    runs-on: ubuntu-latest
-    steps:
-      - uses: actions/checkout@v2
-      - uses: actions-rs/audit-check@v1
-        with:
-          token: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml
deleted file mode 100644
index b9cf34a..0000000
--- a/.github/workflows/coverage.yaml
+++ /dev/null
@@ -1,49 +0,0 @@
-name: Coverage
-
-#on:
-#  push:
-#    branches:
-#      - main
-#  pull_request:
-
-on: [push, pull_request]
-
-env:
-  CARGO_TERM_COLOR: always
-  RUST_BACKTRACE: full
-
-jobs:
-  coverage:
-    name: Coverage
-    runs-on: ubuntu-latest
-    steps:
-      - name: Checkout repository
-        uses: actions/checkout@v2
-
-      - name: Install Rust
-        uses: actions-rs/toolchain@v1
-        with:
-          toolchain: nightly
-          profile: minimal
-          default: true
-
-      - name: Restore cache
-        uses: Swatinem/rust-cache@v1
-
-      - name: Run cargo-tarpaulin
-        uses: actions-rs/tarpaulin@v0.1
-        with:
-          args: '--all-features --run-types Doctests,Tests'
-          timeout: 120
-
-      - name: Upload to codecov.io
-        uses: codecov/codecov-action@239febf655bba88b16ff5dea1d3135ea8663a1f9
-        with:
-          token: ${{ secrets.CODECOV_TOKEN }}
-
-      - name: Archive code coverage results
-        uses: actions/upload-artifact@v2
-        with:
-          name: code-coverage-report
-          path: cobertura.xml
-          retention-days: 30
diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml
new file mode 100644
index 0000000..18e8e9f
--- /dev/null
+++ b/.github/workflows/documentation.yml
@@ -0,0 +1,30 @@
+# This is a basic workflow to help you get started with Actions
+
+# On every push this script is executed
+
+name: Documentation
+
+on:
+  push:
+    branches:
+      - docs
+
+jobs:
+  deploy:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+
+      - name: Setup mdBook
+        uses: peaceiris/actions-mdbook@v1
+        with:
+          mdbook-version: '0.4.6'
+          # mdbook-version: 'latest'
+
+      - run: mdbook build
+
+      - name: Deploy
+        uses: peaceiris/actions-gh-pages@v3
+        with:
+          github_token: ${{ secrets.TOKEN }}
+          publish_dir: ./book
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
deleted file mode 100644
index 6893c69..0000000
--- a/.github/workflows/tests.yml
+++ /dev/null
@@ -1,27 +0,0 @@
-name: Tests
-
-on: [push, pull_request]
-
-jobs:
-  build:
-
-    runs-on: ubuntu-latest
-
-    steps:
-    - uses: actions/checkout@v1
-    - name: Build
-      run: cargo build --verbose
-    - name: Run tests
-      run: cargo test --verbose
-
-  clippy_check:
-
-    runs-on: ubuntu-latest
-
-    steps:
-      - uses: actions/checkout@v1
-      - run: rustup component add clippy
-      - uses: actions-rs/clippy-check@v1
-        with:
-          token: ${{ secrets.GITHUB_TOKEN }}
-          args: --all-features
diff --git a/.gitignore b/.gitignore
index eea8827..3597896 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,18 +1,5 @@
-# Generated by Cargo
-# will have compiled files and executables
-/target/
-
-# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
-# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
-Cargo.lock
-
-# These are backup files generated by rustfmt
-**/*.rs.bk
-
-
-# Added by cargo
-#
-# already existing elements were commented out
-
-/target
-/refs
+.idea
+.vscode
+.DS_Store
+/public/
+/book/
diff --git a/CHANGELOG.md b/CHANGELOG.md
deleted file mode 100644
index 1d6474d..0000000
--- a/CHANGELOG.md
+++ /dev/null
@@ -1,24 +0,0 @@
-# Changelog
-
-## Package vX.X.X (YYYY-MM-DD) 
-
-### Improved
-
-- A here your changes
-
-### Added
-
-- A here your changes
-
-### Fixed
-
-- A here your changes
-
-### Improvement
-
-- A here your changes
-
-### Removed
-
-- A here your changes
-
diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md
deleted file mode 100644
index 8dea5d4..0000000
--- a/CODE_OF_CONDUCT.md
+++ /dev/null
@@ -1,129 +0,0 @@
-# Contributor Covenant Code of Conduct
-
-## Our Pledge
-
-We as members, contributors, and leaders pledge to make participation in our
-community a harassment-free experience for everyone, regardless of age, body
-size, visible or invisible disability, ethnicity, sex characteristics, gender
-identity and expression, level of experience, education, socio-economic status,
-nationality, personal appearance, race, religion, or sexual identity
-and orientation.
-
-We pledge to act and interact in ways that contribute to an open, welcoming,
-diverse, inclusive, and healthy community.
-
-## Our Standards
-
-Examples of behavior that contributes to a positive environment for our
-community include:
-
-* Demonstrating empathy and kindness toward other people
-* Being respectful of differing opinions, viewpoints, and experiences
-* Giving and gracefully accepting constructive feedback
-* Accepting responsibility and apologizing to those affected by our mistakes,
-  and learning from the experience
-* Focusing on what is best not just for us as individuals, but for the
-  overall community
-* Accepting and using the preferred gender pronouns of all people who have specified them involved in the project.
-
-Examples of unacceptable behavior include:
-
-* The use of sexualized language or imagery, and sexual attention or
-  advances of any kind
-* Trolling, insulting or derogatory comments, and personal or political attacks
-* Public or private harassment
-* Publishing others' private information, such as a physical or email
-  address, without their explicit permission
-* Other conduct which could reasonably be considered inappropriate in a
-  professional setting
-
-## Enforcement Responsibilities
-
-Community leaders are responsible for clarifying and enforcing our standards of
-acceptable behavior and will take appropriate and fair corrective action in
-response to any behavior that they deem inappropriate, threatening, offensive,
-or harmful.
-
-Community leaders have the right and responsibility to remove, edit, or reject
-comments, commits, code, wiki edits, issues, and other contributions that are
-not aligned to this Code of Conduct, and will communicate reasons for moderation
-decisions when appropriate.
-
-## Scope
-
-This Code of Conduct applies within all community spaces, and also applies when
-an individual is officially representing the community in public spaces.
-Examples of representing our community include using an official e-mail address,
-posting via an official social media account, or acting as an appointed
-representative at an online or offline event.
-
-## Enforcement
-
-Instances of abusive, harassing, or otherwise unacceptable behavior may be
-reported to the community leaders responsible for enforcement by emailing
-`dudochkin.victor@gmail.com`.
-All complaints will be reviewed and investigated promptly and fairly.
-
-All community leaders are obligated to respect the privacy and security of the
-reporter of any incident.
-
-## Enforcement Guidelines
-
-Community leaders will follow these Community Impact Guidelines in determining
-the consequences for any action they deem in violation of this Code of Conduct:
-
-### 1. Correction
-
-**Community Impact**: Use of inappropriate language or other behavior deemed
-unprofessional or unwelcome in the community.
-
-**Consequence**: A private, written warning from community leaders, providing
-clarity around the nature of the violation and an explanation of why the
-behavior was inappropriate. A public apology may be requested.
-
-### 2. Warning
-
-**Community Impact**: A violation through a single incident or series
-of actions.
-
-**Consequence**: A warning with consequences for continued behavior. No
-interaction with the people involved, including unsolicited interaction with
-those enforcing the Code of Conduct, for a specified period of time. This
-includes avoiding interactions in community spaces as well as external channels
-like social media. Violating these terms may lead to a temporary or
-permanent ban.
-
-### 3. Temporary Ban
-
-**Community Impact**: A serious violation of community standards, including
-sustained inappropriate behavior.
-
-**Consequence**: A temporary ban from any sort of interaction or public
-communication with the community for a specified period of time. No public or
-private interaction with the people involved, including unsolicited interaction
-with those enforcing the Code of Conduct, is allowed during this period.
-Violating these terms may lead to a permanent ban.
-
-### 4. Permanent Ban
-
-**Community Impact**: Demonstrating a pattern of violation of community
-standards, including sustained inappropriate behavior,  harassment of an
-individual, or aggression toward or disparagement of classes of individuals.
-
-**Consequence**: A permanent ban from any sort of public interaction within
-the community.
-
-## Attribution
-
-This Code of Conduct is adapted from the [Contributor Covenant][homepage],
-version 2.0, available at
-https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
-
-Community Impact Guidelines were inspired by [Mozilla's code of conduct
-enforcement ladder](https://github.com/mozilla/diversity).
-
-[homepage]: https://www.contributor-covenant.org
-
-For answers to common questions about this code of conduct, see the FAQ at
-https://www.contributor-covenant.org/faq. Translations are available at
-https://www.contributor-covenant.org/translations.
\ No newline at end of file
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
deleted file mode 100644
index 83052d1..0000000
--- a/CONTRIBUTING.md
+++ /dev/null
@@ -1,186 +0,0 @@
-## Contributing to Angular Rust
-
-This describes how developers may contribute to Angular Rust.
-
-## Mission
-
-Angular Rust's mission is to provide a batteries-included framework for making large scale web and desktop application development as efficient and maintainable as possible.
-
-The design should be configurable and modular so that it can grow with the developer. However, it should provide a wonderful un-boxing experience and default configuration that can woo new developers and make simple web and desktop apps straight forward. The framework should have an opinion about how to do all of the common tasks in web and desktop development to reduce unnecessary cognitive load.
-
-Perhaps most important of all, Angular Rust should be a joy to use. We want to reduce the time spent on tedious boilerplate functionality and increase the time
-available for creating polished solutions for your application's target users.
-
-## How to Contribute
-
-### Join the Community
-
-The first step to improving Angular Rust is to join the community and help grow it! You can find the community on:
-
- [![](https://img.shields.io/badge/Facebook-1877F2?style=for-the-badge&logo=facebook&logoColor=white)](https://www.facebook.com/groups/angular.rust) 
- [![](https://img.shields.io/badge/Stack_Overflow-FE7A16?style=for-the-badge&logo=stack-overflow&logoColor=white)](https://stackoverflow.com/questions/tagged/angular-rust) 
- [![](https://img.shields.io/badge/YouTube-FF0000?style=for-the-badge&logo=youtube&logoColor=white)](https://www.youtube.com/channel/UCBJTkSl_JWShuolUy4JksTQ) 
- [![](https://img.shields.io/badge/Medium-12100E?style=for-the-badge&logo=medium&logoColor=white)](https://medium.com/@angular.rust) 
- [![](https://img.shields.io/gitter/room/angular_rust/angular_rust?style=for-the-badge)](https://gitter.im/angular_rust/community)
-
-We believe the wider community can create better code. The first tool for improving the community is to tell the developers about the project by giving it a star. More stars - more members.
-
- ![Star a repo](https://dudochkin-victor.github.io/assets/star-me-wide.svg)
-
-Once you've joined, there are many ways to contribute to Angular Rust:
-
-* Report bugs (via GitHub)
-* Answer questions of other community members (via Gitter or GitHub Discussions)
-* Give feedback on new feature discussions (via GitHub and Gitter)
-* Propose your own ideas (via Gitter or GitHub)
-
-### How Angular Rust is Developed
-
-We have begun to formalize the development process by adopting pragmatic practices such as:
-
-* Developing on the `develop` branch
-* Merging `develop` branch to `main` branch in 6 week iterations
-* Tagging releases with MAJOR.MINOR syntax (e.g. v0.8)
-** We may also tag MAJOR.MINOR.HOTFIX releases as needed (e.g. v0.8.1) to address urgent bugs. Such releases will not introduce or change functionality
-* Managing bugs, enhancements, features and release milestones via GitHub's Issue Tracker
-* Using feature branches to create pull requests
-* Discussing new features **before** hacking away at it
-
-
-## Dive into code
-
-### Fork this repository
-
-<img align="right" width="360" src="https://dudochkin-victor.github.io/assets/github/fork.png" alt="fork this repository" style="margin-left: 5px;"/>
-
-Fork this repository by clicking on the fork button on the top of this page.
-This will create a copy of this repository in your account.
-
-<br clear="both" />
-
-### Clone the repository
-
-<img align="right" width="360" src="https://dudochkin-victor.github.io/assets/github/clone.png" alt="clone this repository" style="margin-left: 5px;"/>
-
-Now clone the forked repository to your machine. Go to your GitHub account, open the forked repository, click on the code button and then click the _copy to clipboard_ icon.
-
-Open a terminal and run the following git command:
-
-```
-git clone "url you just copied"
-```
-
-where "url you just copied" (without the quotation marks) is the url to this repository (your fork of this project). See the previous steps to obtain the url.
-
-> use SSH tab to copy proper URL
-
-<img align="right" width="360" src="https://dudochkin-victor.github.io/assets/github/copy-to-clipboard.png" alt="copy URL to clipboard"  style="margin-left: 5px;"/>
-
-For example:
-
-```
-git clone git@github.com:$USER/ux-indicators.git
-```
-
-where `$USER` is your GitHub username. Here you're copying the contents of the `ux-indicators` repository on GitHub to your computer.
-
-
-<br clear="both" />
-
-### Create a branch
-
-Change to the repository directory on your computer (if you are not already there):
-
-```
-cd ux-indicators
-```
-
-Now create a branch using the `git checkout` command:
-
-```
-git checkout -b <feature/useful-new-thing> origin/develop
-```
-replacing `<feature/useful-new-thing>` with the adequate name of the feature you will develop.
-
-### Make necessary changes and commit those changes
-
-Now that you've properly installed and forked Angular Rust, you are ready to start coding (assuming you have a validated your ideas with other community members)!
-
-### Format Your Code
-
-Remember to run `cargo fmt` before committing your changes.
-Many Go developers opt to have their editor run `cargo fmt` automatically when saving Go files.
-
-Additionally, follow the [core Rust style conventions](https://rustc-dev-guide.rust-lang.org/conventions.html) to have your pull requests accepted.
-
-### Write Tests (and Benchmarks for Bonus Points)
-
-Significant new features require tests. Besides unit tests, it is also possible to test a feature by exercising it in one of the sample apps and verifying its
-operation using that app's test suite. This has the added benefit of providing example code for developers to refer to.
-
-Benchmarks are helpful but not required.
-
-### Run the Tests
-
-Typically running the main set of unit tests will be sufficient:
-
-```
-$ cargo test
-```
-### Document Your Feature
-
-Due to the wide audience and shared nature of Angular Rust, documentation is an essential addition to your new code. **Pull requests risk not being accepted** until proper documentation is created to detail how to make use of new functionality.
-
-### Add yourself to the list of contributors
-
-Open `CONTRIBUTORS.md` file in a text editor, add your name to it. Don't add it at the beginning or end of the file. Put it anywhere in between. Now, save the file.
-
-<img width="635" src="https://dudochkin-victor.github.io/assets/github/git-status.png" alt="git status" />
-
-If you go to the project directory and execute the command `git status`, you'll see there are changes.
-
-Add those changes to the branch you just created using the `git add` command:
-
-```
-git add .
-```
-
-Now commit those changes using the `git commit` command:
-
-```
-git commit -m "$COMMENT"
-```
-
-replacing `$COMMENT` with appropriate description of your changes.
-
-### Push changes to GitHub
-
-Push your changes using the command `git push`:
-
-```
-git push origin <feature/useful-new-thing>
-```
-
-replacing `<feature/useful-new-thing>` with the name of the branch you created earlier.
-
-### Submit your changes for review
-
-Once you've done all of the above & pushed your changes to your fork, you can create a pull request for review and acceptance.
-
-If you go to your repository on GitHub, you'll see a `Compare & pull request` button. Click on that button.
-
-<img width="1000" src="https://dudochkin-victor.github.io/assets/github/compare-and-pull.png" alt="create a pull request" />
-
-Now submit the pull request.
-Do not forget to set develop branch for your pull request.
-
-<img width="1000" src="https://dudochkin-victor.github.io/assets/github/submit-pull-request.png" alt="submit pull request" />
-
-
-## Where to go from here?
-
-Congrats! You just completed the standard _fork -> clone -> edit -> pull request_ workflow that you'll encounter often as a contributor!
-
-You can check more details in our **[detailed contribution guide](https://angular-rust.github.io/contributing/)**.
-
-You could join our gitter team in case you need any help or have any questions. [Join gitter team](https://gitter.im/angular_rust/community).
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md
deleted file mode 100644
index e38ce2e..0000000
--- a/CONTRIBUTORS.md
+++ /dev/null
@@ -1,10 +0,0 @@
-UX Indicators contributors (sorted alphabetically)
-============================================
-
-* **[Victor Dudochkin](https://github.com/dudochkin.victor)**
-
-  * Core development
-
-
-
-**[Full contributors list](https://github.com/angular-rust/ux-indicators/contributors).**
\ No newline at end of file
diff --git a/Cargo.toml b/Cargo.toml
deleted file mode 100644
index 2362a1c..0000000
--- a/Cargo.toml
+++ /dev/null
@@ -1,49 +0,0 @@
-[package]
-name = "ux-indicators"
-version = "0.1.0"
-authors = ["Victor Dudochkin <dudochkin.victor@gmail.com>"]
-readme = "README.md"
-homepage = "https://angular-rust.github.io/ux-indicators"
-repository = "https://github.com/angular-rust/ux-indicators"
-documentation = "https://docs.rs/ux-indicators"
-description = "Technical Analysis Function Library"
-keywords = ["technical-analysis", "financial-analysis"]
-categories = ["mathematics", "science"]
-edition = "2018"
-license = "MPL-2.0"
-
-[badges]
-maintenance = { status = "actively-developed" }
-
-[lib]
-name = "indicators"
-
-[dependencies]
-serde = { version = "1.0", features = ["derive"] }
-serde_json = "1.0"
-serde_derive = "1.0"
-lazy_static = "1.4"
-error-chain = "0.12"
-ux-primitives = "0.1"
-
-rust_decimal = "1.7"
-rust_decimal_macros = "1.7"
-
-[dev-dependencies]
-
-assert_approx_eq = "1.1"
-csv = "1.1"
-bencher = "0.1"
-rand = "0.7"
-json = "0.12"
-lazy_static = "1.4"
-rspec = "0.1"
-# cucumber = { package = "cucumber_rust", version = "^0.6.0" } 
-cucumber_rust = "0.6" 
-# cucumber = "0.3.1"
-
-
-# [[bench]]
-# name = "indicators"
-# path = "benches/indicators.rs"
-# harness = false
\ No newline at end of file
diff --git a/README.md b/README.md
index 49c0aa3..fb0a8d2 100644
--- a/README.md
+++ b/README.md
@@ -1,98 +1 @@
-<div align="center">
-
-[![](https://dudochkin-victor.github.io/assets/ux-indicators/logo-wide.svg)](#top)
-# UX Indicators
-
-[![API Docs][docrs-badge]][docrs-url]
-[![Crates.io][crates-badge]][crates-url]
-[![Code coverage][codecov-badge]][codecov-url]
-[![Tests][tests-badge]][tests-url]
-[![MPL-2.0 licensed][license-badge]][license-url]
-[![Gitter chat][gitter-badge]][gitter-url]
-[![loc][loc-badge]][loc-url]
-</div>
-
-[docrs-badge]: https://img.shields.io/docsrs/ux-indicators?style=flat-square
-[docrs-url]: https://docs.rs/ux-indicators/
-[crates-badge]: https://img.shields.io/crates/v/ux-indicators.svg?style=flat-square
-[crates-url]: https://crates.io/crates/ux-indicators
-[license-badge]: https://img.shields.io/badge/license-MPL--2.0-blue.svg?style=flat-square
-[license-url]: https://github.com/angular-rust/ux-indicators/blob/master/LICENSE
-[gitter-badge]: https://img.shields.io/gitter/room/angular_rust/community.svg?style=flat-square
-[gitter-url]: https://gitter.im/angular_rust/community
-[tests-badge]: https://img.shields.io/github/workflow/status/angular-rust/ux-indicators/Tests?label=tests&logo=github&style=flat-square
-[tests-url]: https://github.com/angular-rust/ux-indicators/actions/workflows/tests.yml
-[codecov-badge]: https://img.shields.io/codecov/c/github/angular-rust/ux-indicators?logo=codecov&style=flat-square&token=M517IMMA0L
-[codecov-url]: https://codecov.io/gh/angular-rust/ux-indicators
-[loc-badge]: https://img.shields.io/tokei/lines/github/angular-rust/ux-indicators?style=flat-square
-[loc-url]: https://github.com/angular-rust/ux-indicators
-
-**UX Indicators** is a Rust library for technical analysis in Angular Rust. It provides a range of technical indicators that can be used to build trading strategies for stock markets, futures, forex, cryptocurrencies, and more. 
-
-> **work in progress**
-
-**Angular Rust** is a high productivity, `platform-agnostic` frontend framework for the [Rust language](https://www.rust-lang.org/). It now supports desktop and web development. Angular Rust currently uses GTK for desktop development and WebAssembly for web development. We are planning to add support for mobile development.
-
-![Angular Rust structure](https://dudochkin-victor.github.io/assets/angular-rust/structure.svg)
-
-## Features
-
-- [x] Graphic abstraction for cairo and web canvas, implemented in [UX Animate](https://github.com/angular-rust/ux-animate)
-
-
-## Quick Start
-
-Install UX Indicators:
-
-	cargo add ux-indicators
-
-## Learn More
-
-* [Manual, Docs, etc](https://angular-rust.github.io/)
-* [Samples](https://github.com/angular-rust/ux-samples)
-* [Apps using Angular Rust](https://github.com/angular-rust/ux-indicators/wiki/Apps-in-the-Wild)
-* [Articles Featuring Angular Rust](https://github.com/angular-rust/ux-indicators/wiki/Articles)
-
-## Community
-
- [![](https://img.shields.io/badge/Facebook-1877F2?style=for-the-badge&logo=facebook&logoColor=white)](https://www.facebook.com/groups/angular.rust) 
- [![](https://img.shields.io/badge/Stack_Overflow-FE7A16?style=for-the-badge&logo=stack-overflow&logoColor=white)](https://stackoverflow.com/questions/tagged/angular-rust) 
- [![](https://img.shields.io/badge/YouTube-FF0000?style=for-the-badge&logo=youtube&logoColor=white)](https://www.youtube.com/channel/UCBJTkSl_JWShuolUy4JksTQ) 
- [![](https://img.shields.io/badge/Medium-12100E?style=for-the-badge&logo=medium&logoColor=white)](https://medium.com/@angular.rust) 
- [![](https://img.shields.io/gitter/room/angular_rust/angular_rust?style=for-the-badge)](https://gitter.im/angular_rust/community)
-
-
-## Contributing
-
-We believe the wider community can create better code. The first tool for improving the community is to tell the developers about the project by giving it a star. More stars - more members.
-
- [![](https://dudochkin-victor.github.io/assets/star-me-wide.svg)](https://github.com/angular-rust/ux-indicators#top)
-
-Angular Rust is a community effort and we welcome all kinds of contributions, big or small, from developers of all backgrounds. We want the Angular Rust community to be a fun and friendly place, so please review our [Code of Conduct](CODE_OF_CONDUCT.md) to learn what behavior will not be tolerated.
-
-### New to Angular Rust?
-
-Start learning about the framework by helping us improve our [documentation](https://angular-rust.github.io/). Pull requests which improve test coverage are also very welcome.
-
-### Looking for inspiration?
-
-Check out the community curated list of awesome things related to Angular Rust / WebAssembly at [awesome-angular-rust](https://github.com/angular-rust/awesome-angular-rust).
-
-### Confused about something?
-
-Feel free to drop into our [Gitter chatroom](https://gitter.im/angular_rust/community) or open a [new "Question" issue](https://github.com/angular-rust/ux-indicators/issues/new/choose) to get help from contributors. Often questions lead to improvements to the ergonomics of the framework, better documentation, and even new features!
-
-### Ready to dive into the code?
-
-After reviewing the [Contributing Code Guidelines](CONTRIBUTING.md), check out the ["Good First Issues"](https://github.com/angular-rust/ux-indicators/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) (they are eager for attention!). Once you find one that interests you, feel free to assign yourself to an issue and don't hesitate to reach out for guidance, the issues vary in complexity.
-
-### Let's help each other!
-
-Come help us on the [issues that matter that the most](https://github.com/angular-rust/ux-indicators/labels/%3Adollar%3A%20Funded%20on%20Issuehunt) and receive a small cash reward for your troubles. We use [Issuehunt](https://issuehunt.io/r/angular-rust/ux-indicators/) to fund issues from our Open Collective funds. If you really care about an issue, you can choose to add funds yourself! 
-
-### Found a bug?
-
-Please [report all bugs!](https://github.com/angular-rust/ux-indicators/issues/new/choose) We are happy to help support developers fix the bugs they find if they are interested and have the time.
-
-## Todo
-- [ ] Documentation
+# mdbook-testing
\ No newline at end of file
diff --git a/SECURITY.md b/SECURITY.md
deleted file mode 100644
index 9d6e133..0000000
--- a/SECURITY.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# Security Policy
-
-If you believe you have found a security vulnerability in Angular Rust, we encourage you to let us know right away. We will investigate all legitimate reports and do our best to quickly fix the problem.
-
-## Reporting a Vulnerability
-
-To report a security vulnerability, please create a Github issue [here](https://github.com/angular-rust/ux-indicators/issues/new).
-
-If you can, please include the following details:
-* An MCVE (minimum complete verifiable example) – this is a short code snippet which demonstrates the error in the 
-the simplest possible (or just a simple) way.
-* Which versions of Angular Rust the vulnerability is present in
-* What effects the vulnerability has and how serious the vulnerability is
\ No newline at end of file
diff --git a/TODO.md b/TODO.md
deleted file mode 100644
index e69de29..0000000
diff --git a/benches/indicators.md b/benches/indicators.md
deleted file mode 100644
index ee14bde..0000000
--- a/benches/indicators.md
+++ /dev/null
@@ -1,72 +0,0 @@
-#[macro_use]
-extern crate bencher;
-extern crate core;
-
-use bencher::Bencher;
-use rand::Rng;
-use core::indicators::{
-    BollingerBands, EfficiencyRatio, ExponentialMovingAverage, FastStochastic, Maximum, Minimum,
-    MoneyFlowIndex, MovingAverageConvergenceDivergence, OnBalanceVolume, RateOfChange,
-    RelativeStrengthIndex, SimpleMovingAverage, SlowStochastic, StandardDeviation, TrueRange,
-};
-use core::DataItem;
-use core::Next;
-
-const ITEMS_COUNT: usize = 5_000;
-
-fn rand_data_item() -> DataItem {
-    let mut rng = rand::thread_rng();
-
-    let low = rng.gen_range(0.0, 500.0);
-    let high = rng.gen_range(500.0, 1000.0);
-    let open = rng.gen_range(low, high);
-    let close = rng.gen_range(low, high);
-    let volume = rng.gen_range(0.0, 10_000.0);
-
-    DataItem::builder()
-        .open(open)
-        .high(high)
-        .low(low)
-        .close(close)
-        .volume(volume)
-        .build()
-        .unwrap()
-}
-
-macro_rules! bench_indicators {
-    ($($indicator:ident), *) => {
-        $(
-            fn $indicator(bench: &mut Bencher) {
-                let items: Vec<DataItem> = (0..ITEMS_COUNT).map( |_| rand_data_item() ).collect();
-                let mut indicator = $indicator::default();
-
-                bench.iter(|| {
-                    for item in items.iter() {
-                        indicator.next(item);
-                    }
-                })
-            }
-        )*
-
-        benchmark_group!(benches, $($indicator,)*);
-        benchmark_main!(benches);
-    }
-}
-
-bench_indicators!(
-    SimpleMovingAverage,
-    ExponentialMovingAverage,
-    StandardDeviation,
-    BollingerBands,
-    EfficiencyRatio,
-    FastStochastic,
-    Maximum,
-    Minimum,
-    MovingAverageConvergenceDivergence,
-    RateOfChange,
-    RelativeStrengthIndex,
-    SlowStochastic,
-    TrueRange,
-    MoneyFlowIndex,
-    OnBalanceVolume
-);
diff --git a/book.toml b/book.toml
new file mode 100644
index 0000000..667be71
--- /dev/null
+++ b/book.toml
@@ -0,0 +1,10 @@
+[book]
+title = "UX Indicators"
+authors = ["Victor Dudochkin"]
+language = "en"
+multilingual = false
+src = "src"
+
+[output.html]
+theme = "src/theme"
+site-url = "/ux-indicators/"
\ No newline at end of file
diff --git a/examples/data/AMZN.csv b/examples/data/AMZN.csv
deleted file mode 100644
index 040ef28..0000000
--- a/examples/data/AMZN.csv
+++ /dev/null
@@ -1,21 +0,0 @@
-Date,Open,High,Low,Close,Volume
-2017-01-03,757.919983,758.760010,747.700012,753.669983,3521100
-2017-01-04,758.390015,759.679993,754.200012,757.179993,2510500
-2017-01-05,761.549988,782.400024,760.260010,780.450012,5830100
-2017-01-06,782.359985,799.440002,778.479980,795.989990,5986200
-2017-01-09,798.000000,801.770020,791.770020,796.919983,3440100
-2017-01-10,796.599976,798.000000,789.539978,795.900024,2558400
-2017-01-11,793.659973,799.500000,789.510010,799.020020,2992800
-2017-01-12,800.309998,814.130005,799.500000,813.640015,4873900
-2017-01-13,814.320007,821.650024,811.400024,817.140015,3791900
-2017-01-17,815.700012,816.000000,803.440002,809.719971,3659400
-2017-01-18,809.500000,811.729980,804.270020,807.479980,2354200
-2017-01-19,810.000000,813.510010,807.320007,809.039978,2540800
-2017-01-20,815.280029,816.020020,806.260010,808.330017,3376200
-2017-01-23,806.799988,818.500000,805.080017,817.880005,2797500
-2017-01-24,822.000000,823.989990,814.500000,822.440002,2971700
-2017-01-25,825.789978,837.419983,825.289978,836.520020,3922600
-2017-01-26,835.530029,843.840027,833.000000,839.150024,3586300
-2017-01-27,839.000000,839.700012,829.440002,835.770020,2998700
-2017-01-30,833.000000,833.500000,816.380005,830.380005,3747300
-2017-01-31,823.750000,826.989990,819.559998,823.479980,3137200
diff --git a/examples/ema.rs b/examples/ema.rs
deleted file mode 100644
index 623e6fa..0000000
--- a/examples/ema.rs
+++ /dev/null
@@ -1,24 +0,0 @@
-extern crate core;
-extern crate csv;
-
-use indicators::{indicators::ExponentialMovingAverage as Ema, DataItem, Next};
-
-fn main() {
-    let mut ema = Ema::new(9).unwrap();
-    let mut reader = csv::Reader::from_path("./examples/data/AMZN.csv").unwrap();
-
-    for record in reader.deserialize() {
-        let (date, open, high, low, close, volume): (String, f64, f64, f64, f64, f64) =
-            record.unwrap();
-        let dt = DataItem::builder()
-            .open(open)
-            .high(high)
-            .low(low)
-            .close(close)
-            .volume(volume)
-            .build()
-            .unwrap();
-        let ema_val = ema.next(&dt);
-        println!("{}: {} = {:2.2}", date, ema, ema_val);
-    }
-}
diff --git a/src/SUMMARY.md b/src/SUMMARY.md
new file mode 100644
index 0000000..7390c82
--- /dev/null
+++ b/src/SUMMARY.md
@@ -0,0 +1,3 @@
+# Summary
+
+- [Chapter 1](./chapter_1.md)
diff --git a/src/chapter_1.md b/src/chapter_1.md
new file mode 100644
index 0000000..b743fda
--- /dev/null
+++ b/src/chapter_1.md
@@ -0,0 +1 @@
+# Chapter 1
diff --git a/src/data_item.rs b/src/data_item.rs
deleted file mode 100644
index 1305173..0000000
--- a/src/data_item.rs
+++ /dev/null
@@ -1,206 +0,0 @@
-extern crate std;
-
-use crate::errors::*;
-use crate::traits::{Close, High, Low, Open, Volume};
-
-/// Data item is used as an input for indicators.
-///
-
-// # Example
-//
-// ```
-// use core::DataItem;
-// use core::{Open, High, Low, Close, Volume};
-//
-// let item = DataItem::builder()
-//     .open(20.0)
-//     .high(25.0)
-//     .low(15.0)
-//     .close(21.0)
-//     .volume(7500.0)
-//     .build()
-//     .unwrap();
-//
-// assert_eq!(item.open(), 20.0);
-// assert_eq!(item.high(), 25.0);
-// assert_eq!(item.low(), 15.0);
-// assert_eq!(item.close(), 21.0);
-// assert_eq!(item.volume(), 7500.0);
-// ```
-//
-
-#[derive(Debug, Clone)]
-pub struct DataItem {
-    open: f64,
-    high: f64,
-    low: f64,
-    close: f64,
-    volume: f64,
-}
-
-impl DataItem {
-    pub fn builder() -> DataItemBuilder {
-        DataItemBuilder::new()
-    }
-}
-
-impl Open for DataItem {
-    fn open(&self) -> f64 {
-        self.open
-    }
-}
-
-impl High for DataItem {
-    fn high(&self) -> f64 {
-        self.high
-    }
-}
-
-impl Low for DataItem {
-    fn low(&self) -> f64 {
-        self.low
-    }
-}
-
-impl Close for DataItem {
-    fn close(&self) -> f64 {
-        self.close
-    }
-}
-
-impl Volume for DataItem {
-    fn volume(&self) -> f64 {
-        self.volume
-    }
-}
-
-pub struct DataItemBuilder {
-    open: Option<f64>,
-    high: Option<f64>,
-    low: Option<f64>,
-    close: Option<f64>,
-    volume: Option<f64>,
-}
-
-impl DataItemBuilder {
-    pub fn new() -> Self {
-        Self {
-            open: None,
-            high: None,
-            low: None,
-            close: None,
-            volume: None,
-        }
-    }
-
-    pub fn open(mut self, val: f64) -> Self {
-        self.open = Some(val);
-        self
-    }
-
-    pub fn high(mut self, val: f64) -> Self {
-        self.high = Some(val);
-        self
-    }
-
-    pub fn low(mut self, val: f64) -> Self {
-        self.low = Some(val);
-        self
-    }
-
-    pub fn close(mut self, val: f64) -> Self {
-        self.close = Some(val);
-        self
-    }
-
-    pub fn volume(mut self, val: f64) -> Self {
-        self.volume = Some(val);
-        self
-    }
-
-    pub fn build(self) -> Result<DataItem> {
-        if let (Some(open), Some(high), Some(low), Some(close), Some(volume)) =
-            (self.open, self.high, self.low, self.close, self.volume)
-        {
-            // validate
-            if low <= open
-                && low <= close
-                && low <= high
-                && high >= open
-                && high >= close
-                && volume >= 0.0
-                && low >= 0.0
-            {
-                let item = DataItem {
-                    open,
-                    high,
-                    low,
-                    close,
-                    volume,
-                };
-                Ok(item)
-            } else {
-                Err(Error::from_kind(ErrorKind::DataItemInvalid))
-            }
-        } else {
-            Err(Error::from_kind(ErrorKind::DataItemIncomplete))
-        }
-    }
-}
-
-#[cfg(test)]
-mod tests {
-    use super::*;
-
-    #[test]
-    fn test_builder() {
-        fn assert_valid((open, high, low, close, volume): (f64, f64, f64, f64, f64)) {
-            let result = DataItem::builder()
-                .open(open)
-                .high(high)
-                .low(low)
-                .close(close)
-                .volume(volume)
-                .build();
-            assert!(result.is_ok());
-        }
-
-        fn assert_invalid((open, high, low, close, volume): (f64, f64, f64, f64, f64)) {
-            let result = DataItem::builder()
-                .open(open)
-                .high(high)
-                .low(low)
-                .close(close)
-                .volume(volume)
-                .build();
-            assert!(result.is_err());
-        }
-
-        let valid_records = vec![
-            // open, high, low , close, volume
-            (20.0, 25.0, 15.0, 21.0, 7500.0),
-            (10.0, 10.0, 10.0, 10.0, 10.0),
-            (0.0, 0.0, 0.0, 0.0, 0.0),
-        ];
-        for record in valid_records {
-            assert_valid(record)
-        }
-
-        let invalid_records = vec![
-            // open, high, low , close, volume
-            (-1.0, 25.0, 15.0, 21.0, 7500.0),
-            (20.0, -1.0, 15.0, 21.0, 7500.0),
-            (20.0, 25.0, -1.0, 21.0, 7500.0),
-            (20.0, 25.0, 15.0, -1.0, 7500.0),
-            (20.0, 25.0, 15.0, 21.0, -1.0),
-            (14.9, 25.0, 15.0, 21.0, 7500.0),
-            (25.1, 25.0, 15.0, 21.0, 7500.0),
-            (20.0, 25.0, 15.0, 14.9, 7500.0),
-            (20.0, 25.0, 15.0, 25.1, 7500.0),
-            (20.0, 15.0, 25.0, 21.0, 7500.0),
-        ];
-        for record in invalid_records {
-            assert_invalid(record)
-        }
-    }
-}
diff --git a/src/errors.rs b/src/errors.rs
deleted file mode 100644
index 31c9e98..0000000
--- a/src/errors.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-error_chain! {
-    errors {
-        InvalidParameter { description("invalid parameter") }
-        DataItemIncomplete { description("data item is incomplete") }
-        DataItemInvalid { description("data item is invalid") }
-    }
-}
diff --git a/src/helpers.rs b/src/helpers.rs
deleted file mode 100644
index dc3c2ea..0000000
--- a/src/helpers.rs
+++ /dev/null
@@ -1,16 +0,0 @@
-/// Returns the largest of 3 given numbers.
-pub fn max3(a: f64, b: f64, c: f64) -> f64 {
-    a.max(b).max(c)
-}
-
-#[cfg(test)]
-mod tests {
-    use super::*;
-
-    #[test]
-    fn test_max3() {
-        assert_eq!(max3(3.0, 2.0, 1.0), 3.0);
-        assert_eq!(max3(2.0, 3.0, 1.0), 3.0);
-        assert_eq!(max3(2.0, 1.0, 3.0), 3.0);
-    }
-}
diff --git a/src/indicator.rs b/src/indicator.rs
deleted file mode 100644
index 7fab50a..0000000
--- a/src/indicator.rs
+++ /dev/null
@@ -1,339 +0,0 @@
-#![allow(dead_code)]
-#![allow(unused_variables)]
-#![allow(unused_imports)]
-
-use crate::indicators::SimpleMovingAverage;
-use crate::Next;
-
-use crate::errors::Error;
-use std::cell::RefCell;
-use std::collections::HashMap;
-use std::collections::VecDeque;
-use std::rc::Rc;
-
-#[derive(Debug, Clone)]
-pub enum DataPoint {
-    Ohlcv(Ohlcv),
-    BidAsk(BidAsk),
-    Frame(Frame),
-}
-
-// used for input node
-#[derive(Debug, Clone)]
-pub struct Ohlcv {
-    // for syncing
-    timestamp: u64,
-    // values
-    open: f64,
-    high: f64,
-    low: f64,
-    close: f64,
-    volume: f64,
-}
-
-impl Ohlcv {
-    pub fn new() -> Self {
-        Self {
-            timestamp: 0,
-            open: 0.0,
-            high: 0.0,
-            low: 0.0,
-            close: 0.0,
-            volume: 0.0,
-        }
-    }
-}
-
-#[derive(Debug, Clone)]
-pub struct BidAsk {
-    // for syncing
-    timestamp: u64,
-    // price
-    price: f64,
-    // value
-    amount: f64,
-}
-
-impl BidAsk {
-    pub fn new() -> Self {
-        Self {
-            timestamp: 0,
-            price: 0.0,
-            amount: 0.0,
-        }
-    }
-}
-
-// is dataframe
-#[derive(Debug, Clone)]
-pub struct Frame {
-    // for syncing
-    timestamp: u64,
-    // value
-    data: f64,
-}
-
-impl Frame {
-    pub fn new() -> Self {
-        Self {
-            timestamp: 0,
-            data: 0.0,
-        }
-    }
-}
-
-#[derive(Debug, Clone, PartialEq)]
-pub enum SlotType {
-    Input,
-    Output,
-}
-
-// define slot
-#[derive(Debug, Clone)]
-pub struct Slot {
-    pub name: String,
-    slot_type: SlotType,
-    state: f64,                          // used to store value when it input type
-    pub changed: bool,                   // when it input type,
-    connected: bool,                     // when in input type,
-    connections: Vec<Rc<RefCell<Slot>>>, // used to keep references when it output type
-}
-
-impl Slot {
-    pub fn new(slot_type: SlotType) -> Self {
-        Self {
-            name: String::from("slot"),
-            slot_type,
-            state: 0.0,
-            changed: false,
-            connected: false,
-            connections: vec![],
-        }
-    }
-    // output is multiple, input is single
-    pub fn connect(&mut self, wire: Rc<RefCell<Slot>>) -> Result<(), Error> {
-        if self.slot_type == SlotType::Output {
-            return Ok(());
-        }
-        // self.wire = Some(wire)
-        Err("The error message".into())
-    }
-    // pub fn wire(&self) -> Option<Rc<RefCell<Wire>>> {
-    //     // &self.wire
-    //     None
-    // }
-
-    // put data into buffer
-    pub fn put(&mut self, val: f64) {
-        if self.state != val {
-            self.changed = true;
-        }
-        self.state = val;
-    }
-
-    // fetch data from buffer
-    pub fn get(&mut self) -> f64 {
-        self.changed = false;
-        self.state
-    }
-}
-
-pub type SlotPtr = *mut Slot;
-
-#[derive(Debug, Clone)]
-pub struct Indicator {
-    inputs: HashMap<String, Slot>,
-    outputs: HashMap<String, Slot>,
-}
-
-impl Indicator {
-    pub fn new() -> Self {
-        Self {
-            inputs: HashMap::new(),
-            outputs: HashMap::new(),
-        }
-    }
-    pub fn slot(&self, name: &str) -> Option<Rc<RefCell<Slot>>> {
-        None
-    }
-    pub fn stuff(&self) {}
-}
-
-#[derive(Debug, Clone)]
-pub enum InputType {
-    Ohlcv,
-    BidAsk,
-    Frame,
-}
-
-#[derive(Debug, Clone)]
-pub struct Input {
-    input_type: InputType,
-    slots: Vec<Slot>,
-    timeseries: VecDeque<DataPoint>,
-}
-
-impl Input {
-    pub fn new(input_type: InputType) -> Self {
-        Self {
-            input_type,
-            slots: vec![],
-            timeseries: VecDeque::new(),
-        }
-    }
-    pub fn slot(&self, name: &str) -> Option<Rc<RefCell<Slot>>> {
-        None
-    }
-
-    pub fn push(&mut self, item: DataPoint) {
-        match item {
-            DataPoint::Ohlcv(_) => {
-                // let a: Ohlcv = val;
-                self.timeseries.push_back(item);
-            }
-            _ => {
-                print!("unhandled node type")
-            }
-        }
-    }
-}
-
-#[derive(Debug, Clone)]
-pub struct View {
-    plots: Vec<Rc<Plot>>,
-}
-
-impl View {
-    pub fn new() -> Self {
-        Self { plots: vec![] }
-    }
-
-    pub fn attach(&mut self, plot: Rc<Plot>) {
-        self.plots.push(plot);
-    }
-}
-
-#[derive(Debug, Clone)]
-pub struct Plot {
-    view: Option<View>,
-    timeseries: VecDeque<Frame>,
-}
-
-impl Plot {
-    pub fn new() -> Self {
-        Self {
-            view: None,
-            timeseries: VecDeque::new(),
-        }
-    }
-    // draw to view
-    pub fn draw(&self) {}
-
-    pub fn slot(&self, name: &str) -> Option<Rc<RefCell<Slot>>> {
-        None
-    }
-}
-
-enum Node {
-    // Wire(Rc<RefCell<Wire>>),
-    Input(Rc<Input>),
-    Indicator(Rc<Indicator>),
-    Plot(Rc<Plot>),
-    View(Rc<View>),
-    Text(String),
-}
-
-pub fn example() {
-    let mut input: Input = Input::new(InputType::Ohlcv);
-
-    let indicator: Indicator = Indicator::new();
-
-    let plot: Plot = Plot::new();
-
-    // let input_wire: Rc<RefCell<Wire>> = Rc::new(RefCell::new(Wire::new()));
-    // let output_wire: Rc<RefCell<Wire>> = Rc::new(RefCell::new(Wire::new()));
-    let mut view: View = View::new();
-
-    // input -> indicator
-    let input_close = input.slot("close").unwrap();
-    let mut input_close = input_close.borrow_mut();
-    {
-        let indicator_close = indicator.slot("close").unwrap();
-        let _ = input_close.connect(Rc::clone(&indicator_close));
-    }
-
-    // // indicator -> plot
-    let indicator_output = indicator.slot("output").unwrap();
-    let mut indicator_output = indicator_output.borrow_mut();
-    {
-        let plot_close = plot.slot("close").unwrap();
-        let _ = indicator_output.connect(Rc::clone(&plot_close));
-    }
-
-    let rcplot = Rc::new(plot);
-    // put plot into view
-    view.attach(Rc::clone(&rcplot));
-
-    let a: &Plot = rcplot.as_ref();
-    a.draw();
-
-    input.push(DataPoint::Ohlcv(Ohlcv {
-        timestamp: 1,
-        open: 0.1,
-        high: 0.1,
-        low: 0.1,
-        close: 0.1,
-        volume: 0.1,
-    }));
-
-    // collect all to workspace
-    let workspace: Vec<Node> = vec![
-        Node::Input(Rc::new(input)),
-        Node::Indicator(Rc::new(indicator)),
-        Node::Plot(rcplot),
-        Node::View(Rc::new(view)),
-    ];
-
-    for item in workspace.iter() {
-        match item {
-            Node::View(val) => {
-                let a: &View = val;
-            }
-            Node::Plot(val) => {
-                let a: &Plot = val;
-            }
-            Node::Text(val) => {
-                let a: String = val.to_string();
-            }
-            _ => {
-                print!("unhandled node type")
-            }
-        }
-    }
-}
-
-// pub struct Inticator {
-//     _impl: Box<dyn Next<f64, Output = Box<[f64]>>>,
-// }
-
-// impl Inticator {
-//     pub fn new(name: &str) -> Result<Inticator, JsValue> {
-//         match name {
-//             // 0 => Err(Error::from_kind(ErrorKind::InvalidParameter)),
-//             "ichimoku" => {
-//                 Ok(Inticator {
-//                     _impl: Box::new(SimpleMovingAverage::default()),
-//                 })
-//             }
-//             _ => {
-//                 Ok(Inticator {
-//                     _impl: Box::new(SimpleMovingAverage::default()),
-//                 })
-//             }
-//         }
-//     }
-
-//     pub fn get_contents(&self) -> u32 {
-//         0
-//     }
-// }
diff --git a/src/indicators/abs.rs b/src/indicators/abs.rs
deleted file mode 100644
index 7917402..0000000
--- a/src/indicators/abs.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct AbsFactory {
-}
-
-impl AbsFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for AbsFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/acos.rs b/src/indicators/acos.rs
deleted file mode 100644
index 10abedd..0000000
--- a/src/indicators/acos.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct AcosFactory {
-}
-
-impl AcosFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for AcosFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/ad.rs b/src/indicators/ad.rs
deleted file mode 100644
index 73a586a..0000000
--- a/src/indicators/ad.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct AdFactory {
-}
-
-impl AdFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for AdFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/add.rs b/src/indicators/add.rs
deleted file mode 100644
index 90449f1..0000000
--- a/src/indicators/add.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct AddFactory {
-}
-
-impl AddFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for AddFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/adosc.rs b/src/indicators/adosc.rs
deleted file mode 100644
index e1056a5..0000000
--- a/src/indicators/adosc.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct AdOscFactory {
-}
-
-impl AdOscFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for AdOscFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/adx.rs b/src/indicators/adx.rs
deleted file mode 100644
index 89c2443..0000000
--- a/src/indicators/adx.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct AdxFactory {
-}
-
-impl AdxFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for AdxFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/adxr.rs b/src/indicators/adxr.rs
deleted file mode 100644
index 6741c67..0000000
--- a/src/indicators/adxr.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct AdxrFactory {
-}
-
-impl AdxrFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for AdxrFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/ao.rs b/src/indicators/ao.rs
deleted file mode 100644
index c199abc..0000000
--- a/src/indicators/ao.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct AoFactory {
-}
-
-impl AoFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for AoFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/apo.rs b/src/indicators/apo.rs
deleted file mode 100644
index b08236c..0000000
--- a/src/indicators/apo.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct ApoFactory {
-}
-
-impl ApoFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for ApoFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/aroon.rs b/src/indicators/aroon.rs
deleted file mode 100644
index 8ee60bb..0000000
--- a/src/indicators/aroon.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct AroonFactory {
-}
-
-impl AroonFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for AroonFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/aroonosc.rs b/src/indicators/aroonosc.rs
deleted file mode 100644
index 3c055f6..0000000
--- a/src/indicators/aroonosc.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct AroonOscFactory {
-}
-
-impl AroonOscFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for AroonOscFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/asin.rs b/src/indicators/asin.rs
deleted file mode 100644
index 90c59c1..0000000
--- a/src/indicators/asin.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct AsinFactory {
-}
-
-impl AsinFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for AsinFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/atan.rs b/src/indicators/atan.rs
deleted file mode 100644
index 4a68cdf..0000000
--- a/src/indicators/atan.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct AtanFactory {
-}
-
-impl AtanFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for AtanFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
diff --git a/src/indicators/atr.rs b/src/indicators/atr.rs
deleted file mode 100644
index da7b464..0000000
--- a/src/indicators/atr.rs
+++ /dev/null
@@ -1,178 +0,0 @@
-#![allow(dead_code)]
-
-use std::fmt;
-
-use crate::errors::*;
-use crate::indicators::{ExponentialMovingAverage, TrueRange};
-use crate::{Close, High, Low, Next, Reset};
-
-use crate::indicators::SimpleMovingAverage;
-use crate::Factory;
-
-pub struct AtrFactory {}
-
-impl AtrFactory {
-    pub fn new() -> Self {
-        Self {}
-    }
-}
-
-impl Factory for AtrFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
-
-/// Average true range (ATR).
-///
-/// A technical analysis volatility indicator, originally developed by J. Welles Wilder.
-/// The average true range is an N-day smoothed moving average of the true range values.
-/// This implementation uses exponential moving average.
-///
-/// # Formula
-///
-/// ATR(length)<sub>t</sub> = EMA(length) of TR<sub>t</sub>
-///
-/// Where:
-///
-/// * _EMA(n)_ - [exponential moving average](struct.ExponentialMovingAverage.html) with smoothing period _length_
-/// * _TR<sub>t</sub>_ - [true range](struct.TrueRange.html) for period _t_
-///
-/// # Parameters
-///
-/// * _length_ - smoothing period of EMA (integer greater than 0)
-
-//
-// # Example
-//
-// ```
-// extern crate core;
-// #[macro_use] extern crate assert_approx_eq;
-//
-// use core::{Next, DataItem};
-// use core::indicators::AverageTrueRange;
-//
-// fn main() {
-//     let data = vec![
-//         // open, high, low, close, atr
-//         (9.7   , 10.0, 9.0, 9.5  , 1.0),    // tr = high - low = 10.0 - 9.0 = 1.0
-//         (9.9   , 10.4, 9.8, 10.2 , 0.95),   // tr = high - prev_close = 10.4 - 9.5 = 0.9
-//         (10.1  , 10.7, 9.4, 9.7  , 1.125),  // tr = high - low = 10.7 - 9.4 = 1.3
-//         (9.1   , 9.2 , 8.1, 8.4  , 1.3625), // tr = prev_close - low = 9.7 - 8.1 = 1.6
-//     ];
-//     let mut indicator = AverageTrueRange::new(3).unwrap();
-//
-//     for (open, high, low, close, atr) in data {
-//         let di = DataItem::builder()
-//             .high(high)
-//             .low(low)
-//             .close(close)
-//             .open(open)
-//             .volume(1000.0)
-//             .build().unwrap();
-//         assert_approx_eq!(indicator.next(&di), atr);
-//     }
-// }
-
-#[derive(Debug, Clone)]
-pub struct AverageTrueRange {
-    true_range: TrueRange,
-    ema: ExponentialMovingAverage,
-}
-
-impl AverageTrueRange {
-    pub fn new(length: u32) -> Result<Self> {
-        let indicator = Self {
-            true_range: TrueRange::new(),
-            ema: ExponentialMovingAverage::new(length)?,
-        };
-        Ok(indicator)
-    }
-}
-
-impl Next<f64> for AverageTrueRange {
-    type Output = f64;
-
-    fn next(&mut self, input: f64) -> Self::Output {
-        self.ema.next(self.true_range.next(input))
-    }
-}
-
-impl<'a, T: High + Low + Close> Next<&'a T> for AverageTrueRange {
-    type Output = f64;
-
-    fn next(&mut self, input: &'a T) -> Self::Output {
-        self.ema.next(self.true_range.next(input))
-    }
-}
-
-impl Reset for AverageTrueRange {
-    fn reset(&mut self) {
-        self.true_range.reset();
-        self.ema.reset();
-    }
-}
-
-impl Default for AverageTrueRange {
-    fn default() -> Self {
-        Self::new(14).unwrap()
-    }
-}
-
-impl fmt::Display for AverageTrueRange {
-    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
-        write!(f, "ATR({})", self.ema.length())
-    }
-}
-
-#[cfg(test)]
-mod tests {
-    use super::*;
-    use crate::test_helper::*;
-
-    // test_indicator!(AverageTrueRange);
-
-    #[test]
-    fn test_new() {
-        assert!(AverageTrueRange::new(0).is_err());
-        assert!(AverageTrueRange::new(1).is_ok());
-    }
-    #[test]
-    fn test_next() {
-        let mut atr = AverageTrueRange::new(3).unwrap();
-
-        let bar1 = Bar::new().high(10).low(7.5).close(9);
-        let bar2 = Bar::new().high(11).low(9).close(9.5);
-        let bar3 = Bar::new().high(9).low(5).close(8);
-
-        assert_eq!(atr.next(&bar1), 2.5);
-        assert_eq!(atr.next(&bar2), 2.25);
-        assert_eq!(atr.next(&bar3), 3.375);
-    }
-
-    #[test]
-    fn test_reset() {
-        let mut atr = AverageTrueRange::new(9).unwrap();
-
-        let bar1 = Bar::new().high(10).low(7.5).close(9);
-        let bar2 = Bar::new().high(11).low(9).close(9.5);
-
-        atr.next(&bar1);
-        atr.next(&bar2);
-
-        atr.reset();
-        let bar3 = Bar::new().high(60).low(15).close(51);
-        assert_eq!(atr.next(&bar3), 45.0);
-    }
-
-    #[test]
-    fn test_default() {
-        AverageTrueRange::default();
-    }
-
-    #[test]
-    fn test_display() {
-        let indicator = AverageTrueRange::new(8).unwrap();
-        assert_eq!(format!("{}", indicator), "ATR(8)");
-    }
-}
diff --git a/src/indicators/avgprice.rs b/src/indicators/avgprice.rs
deleted file mode 100644
index bbba24b..0000000
--- a/src/indicators/avgprice.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct AvgPriceFactory {
-}
-
-impl AvgPriceFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for AvgPriceFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
diff --git a/src/indicators/bbands.rs b/src/indicators/bbands.rs
deleted file mode 100644
index f3915b4..0000000
--- a/src/indicators/bbands.rs
+++ /dev/null
@@ -1,219 +0,0 @@
-#![allow(dead_code)]
-
-use std::fmt;
-
-use crate::errors::*;
-use crate::indicators::StandardDeviation as Sd;
-use crate::{Close, Next, Reset};
-
-use crate::indicators::SimpleMovingAverage;
-use crate::Factory;
-
-pub struct BBandsFactory {}
-
-impl BBandsFactory {
-    pub fn new() -> Self {
-        Self {}
-    }
-}
-
-impl Factory for BBandsFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
-
-/// A Bollinger Bands (BB).
-/// (BB).
-/// It is a type of infinite impulse response filter that calculates Bollinger Bands using Exponential Moving Average.
-/// The Bollinger Bands are represented by Average EMA and standard deviaton that is moved 'k' times away in both directions from calculated average value.
-///
-/// # Formula
-///
-/// See SMA, SD documentation.
-///
-/// BB is composed as:
-///
-///  * _BB<sub>Middle Band</sub>_ - Simple Moving Average (SMA).
-///  * _BB<sub>Upper Band</sub>_ = SMA + SD of observation * multipler (usually 2.0)
-///  * _BB<sub>Lower Band</sub>_ = SMA - SD of observation * multipler (usually 2.0)
-
-//
-// # Example
-//
-//```
-// use core::indicators::{BollingerBands, BollingerBandsOutput};
-// use core::Next;
-//
-// let mut bb = BollingerBands::new(3, 2.0_f64).unwrap();
-//
-// let out_0 = bb.next(2.0);
-//
-// let out_1 = bb.next(5.0);
-//
-// assert_eq!(out_0.average, 2.0);
-// assert_eq!(out_0.upper, 2.0);
-// assert_eq!(out_0.lower, 2.0);
-//
-// assert_eq!(out_1.average, 3.5);
-// assert_eq!(out_1.upper, 6.5);
-// assert_eq!(out_1.lower, 0.5);
-// ```
-//
-// # Links
-//
-// ![Bollinger Bands, Wikipedia](https://en.wikipedia.org/wiki/Bollinger_Bands)
-
-#[derive(Debug, Clone)]
-pub struct BollingerBands {
-    length: u32,
-    multiplier: f64,
-    sd: Sd,
-}
-
-#[derive(Debug, Clone, PartialEq)]
-pub struct BollingerBandsOutput {
-    pub average: f64,
-    pub upper: f64,
-    pub lower: f64,
-}
-
-impl BollingerBands {
-    pub fn new(length: u32, multiplier: f64) -> Result<Self> {
-        if multiplier <= 0.0 {
-            return Err(Error::from_kind(ErrorKind::InvalidParameter));
-        }
-        Ok(Self {
-            length,
-            multiplier,
-            sd: Sd::new(length)?,
-        })
-    }
-
-    pub fn length(&self) -> u32 {
-        self.length
-    }
-
-    pub fn multiplier(&self) -> f64 {
-        self.multiplier
-    }
-}
-
-impl Next<f64> for BollingerBands {
-    type Output = BollingerBandsOutput;
-
-    fn next(&mut self, input: f64) -> Self::Output {
-        let sd = self.sd.next(input);
-        let mean = self.sd.mean();
-
-        Self::Output {
-            average: mean,
-            upper: mean + sd * self.multiplier,
-            lower: mean - sd * self.multiplier,
-        }
-    }
-}
-
-impl<'a, T: Close> Next<&'a T> for BollingerBands {
-    type Output = BollingerBandsOutput;
-
-    fn next(&mut self, input: &'a T) -> Self::Output {
-        self.next(input.close())
-    }
-}
-
-impl Reset for BollingerBands {
-    fn reset(&mut self) {
-        self.sd.reset();
-    }
-}
-
-impl Default for BollingerBands {
-    fn default() -> Self {
-        Self::new(9, 2_f64).unwrap()
-    }
-}
-
-impl fmt::Display for BollingerBands {
-    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
-        write!(f, "BB({}, {})", self.length, self.multiplier)
-    }
-}
-
-#[cfg(test)]
-mod tests {
-    use super::*;
-    use crate::test_helper::*;
-
-    // test_indicator!(BollingerBands);
-
-    #[test]
-    fn test_new() {
-        assert!(BollingerBands::new(0, 2_f64).is_err());
-        assert!(BollingerBands::new(1, 2_f64).is_ok());
-        assert!(BollingerBands::new(2, 2_f64).is_ok());
-    }
-
-    #[test]
-    fn test_next() {
-        let mut bb = BollingerBands::new(3, 2.0_f64).unwrap();
-
-        let a = bb.next(2.0);
-        let b = bb.next(5.0);
-        let c = bb.next(1.0);
-        let d = bb.next(6.25);
-
-        assert_eq!(round(a.average), 2.0);
-        assert_eq!(round(b.average), 3.5);
-        assert_eq!(round(c.average), 2.667);
-        assert_eq!(round(d.average), 4.083);
-
-        assert_eq!(round(a.upper), 2.0);
-        assert_eq!(round(b.upper), 6.5);
-        assert_eq!(round(c.upper), 6.066);
-        assert_eq!(round(d.upper), 8.562);
-
-        assert_eq!(round(a.lower), 2.0);
-        assert_eq!(round(b.lower), 0.5);
-        assert_eq!(round(c.lower), -0.733);
-        assert_eq!(round(d.lower), -0.395);
-    }
-
-    #[test]
-    fn test_reset() {
-        let mut bb = BollingerBands::new(5, 2.0_f64).unwrap();
-
-        let out = bb.next(3.0);
-
-        assert_eq!(out.average, 3.0);
-        assert_eq!(out.upper, 3.0);
-        assert_eq!(out.lower, 3.0);
-
-        bb.next(2.5);
-        bb.next(3.5);
-        bb.next(4.0);
-
-        let out = bb.next(2.0);
-
-        assert_eq!(out.average, 3.0);
-        assert_eq!(round(out.upper), 4.414);
-        assert_eq!(round(out.lower), 1.586);
-
-        bb.reset();
-        let out = bb.next(3.0);
-        assert_eq!(out.average, 3.0);
-        assert_eq!(out.upper, 3.0);
-        assert_eq!(out.lower, 3.0);
-    }
-
-    #[test]
-    fn test_default() {
-        BollingerBands::default();
-    }
-
-    #[test]
-    fn test_display() {
-        let bb = BollingerBands::new(10, 3.0_f64).unwrap();
-        assert_eq!(format!("{}", bb), "BB(10, 3)");
-    }
-}
diff --git a/src/indicators/bop.rs b/src/indicators/bop.rs
deleted file mode 100644
index 0e0bd27..0000000
--- a/src/indicators/bop.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct BopFactory {
-}
-
-impl BopFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for BopFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/cci.rs b/src/indicators/cci.rs
deleted file mode 100644
index 2743183..0000000
--- a/src/indicators/cci.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct CciFactory {
-}
-
-impl CciFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for CciFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/ceil.rs b/src/indicators/ceil.rs
deleted file mode 100644
index 7b0b906..0000000
--- a/src/indicators/ceil.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct CeilFactory {
-}
-
-impl CeilFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for CeilFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/cmo.rs b/src/indicators/cmo.rs
deleted file mode 100644
index 134b7dc..0000000
--- a/src/indicators/cmo.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct CmoFactory {
-}
-
-impl CmoFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for CmoFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/cos.rs b/src/indicators/cos.rs
deleted file mode 100644
index 9d96f95..0000000
--- a/src/indicators/cos.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct CosFactory {
-}
-
-impl CosFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for CosFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/cosh.rs b/src/indicators/cosh.rs
deleted file mode 100644
index 8d8f580..0000000
--- a/src/indicators/cosh.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct CoshFactory {
-}
-
-impl CoshFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for CoshFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/crossany.rs b/src/indicators/crossany.rs
deleted file mode 100644
index 0f8e0a2..0000000
--- a/src/indicators/crossany.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct CrossAnyFactory {
-}
-
-impl CrossAnyFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for CrossAnyFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/crossover.rs b/src/indicators/crossover.rs
deleted file mode 100644
index 46e59ae..0000000
--- a/src/indicators/crossover.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct CrossOverFactory {
-}
-
-impl CrossOverFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for CrossOverFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/cvi.rs b/src/indicators/cvi.rs
deleted file mode 100644
index 548e928..0000000
--- a/src/indicators/cvi.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct CviFactory {
-}
-
-impl CviFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for CviFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/decay.rs b/src/indicators/decay.rs
deleted file mode 100644
index 348bf7a..0000000
--- a/src/indicators/decay.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct DecayFactory {
-}
-
-impl DecayFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for DecayFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/dema.rs b/src/indicators/dema.rs
deleted file mode 100644
index a634e61..0000000
--- a/src/indicators/dema.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct DemaFactory {
-}
-
-impl DemaFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for DemaFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/di.rs b/src/indicators/di.rs
deleted file mode 100644
index 675da45..0000000
--- a/src/indicators/di.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct DiFactory {
-}
-
-impl DiFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for DiFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/div.rs b/src/indicators/div.rs
deleted file mode 100644
index 5af29f8..0000000
--- a/src/indicators/div.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct DivFactory {
-}
-
-impl DivFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for DivFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/dm.rs b/src/indicators/dm.rs
deleted file mode 100644
index e70a4ae..0000000
--- a/src/indicators/dm.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct DmFactory {
-}
-
-impl DmFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for DmFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/dpo.rs b/src/indicators/dpo.rs
deleted file mode 100644
index 36e1911..0000000
--- a/src/indicators/dpo.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct DpoFactory {
-}
-
-impl DpoFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for DpoFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/dx.rs b/src/indicators/dx.rs
deleted file mode 100644
index 6b9ed57..0000000
--- a/src/indicators/dx.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct DxFactory {
-}
-
-impl DxFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for DxFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/edecay.rs b/src/indicators/edecay.rs
deleted file mode 100644
index 9bd748f..0000000
--- a/src/indicators/edecay.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct EdecayFactory {
-}
-
-impl EdecayFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for EdecayFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/ema.rs b/src/indicators/ema.rs
deleted file mode 100644
index 62cb218..0000000
--- a/src/indicators/ema.rs
+++ /dev/null
@@ -1,197 +0,0 @@
-#![allow(dead_code)]
-
-use std::fmt;
-
-use crate::errors::*;
-use crate::{Close, Next, Reset};
-
-use crate::indicators::SimpleMovingAverage;
-use crate::Factory;
-
-pub struct EmaFactory {}
-
-impl EmaFactory {
-    pub fn new() -> Self {
-        Self {}
-    }
-}
-
-impl Factory for EmaFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
-
-/// An exponential moving average (EMA), also known as an exponentially weighted moving average
-/// (EWMA).
-///
-/// It is a type of infinite impulse response filter that applies weighting factors which decrease exponentially.
-/// The weighting for each older datum decreases exponentially, never reaching zero.
-///
-/// # Formula
-///
-/// ![EMA formula](https://wikimedia.org/api/rest_v1/media/math/render/svg/05d06bdbee2c14031fd91ead6f5f772aec1ec964)
-///
-/// Where:
-///
-/// * _EMA<sub>t</sub>_ - is the value of the EMA at any time period _t_.
-/// * _EMA<sub>t-1</sub>_ - is the value of the EMA at the previous period _t-1_.
-/// * _p<sub>t</sub>_ - is the input value at a time period t.
-/// * _α_ - is the coefficient that represents the degree of weighting decrease, a constant smoothing factor between 0 and 1.
-///
-/// _α_ is calculated with the following formula:
-///
-/// ![alpha formula](https://wikimedia.org/api/rest_v1/media/math/render/svg/d9f6258e152db0644af548972bd6c50a8becf7ee)
-///
-/// Where:
-///
-/// * _length_ - number of periods
-///
-/// # Parameters
-///
-/// * _length_ - number of periods (integer greater than 0)
-
-//
-// # Example
-//
-// ```
-// use core::indicators::ExponentialMovingAverage;
-// use core::Next;
-//
-// let mut ema = ExponentialMovingAverage::new(3).unwrap();
-// assert_eq!(ema.next(2.0), 2.0);
-// assert_eq!(ema.next(5.0), 3.5);
-// assert_eq!(ema.next(1.0), 2.25);
-// assert_eq!(ema.next(6.25), 4.25);
-// ```
-//
-// # Links
-//
-// * [Exponential moving average, Wikipedia](https://en.wikipedia.org/wiki/Moving_average#Exponential_moving_average)
-//
-
-#[derive(Debug, Clone)]
-pub struct ExponentialMovingAverage {
-    length: u32,
-    k: f64,
-    current: f64,
-    is_new: bool,
-}
-
-impl ExponentialMovingAverage {
-    pub fn new(length: u32) -> Result<Self> {
-        match length {
-            0 => Err(Error::from_kind(ErrorKind::InvalidParameter)),
-            _ => {
-                let k = 2f64 / (length as f64 + 1f64);
-                let indicator = Self {
-                    length,
-                    k,
-                    current: 0f64,
-                    is_new: true,
-                };
-                Ok(indicator)
-            }
-        }
-    }
-
-    pub fn length(&self) -> u32 {
-        self.length
-    }
-}
-
-impl Next<f64> for ExponentialMovingAverage {
-    type Output = f64;
-
-    fn next(&mut self, input: f64) -> Self::Output {
-        if self.is_new {
-            self.is_new = false;
-            self.current = input;
-        } else {
-            self.current = self.k * input + (1.0 - self.k) * self.current;
-        }
-        self.current
-    }
-}
-
-impl<'a, T: Close> Next<&'a T> for ExponentialMovingAverage {
-    type Output = f64;
-
-    fn next(&mut self, input: &'a T) -> Self::Output {
-        self.next(input.close())
-    }
-}
-
-impl Reset for ExponentialMovingAverage {
-    fn reset(&mut self) {
-        self.current = 0.0;
-        self.is_new = true;
-    }
-}
-
-impl Default for ExponentialMovingAverage {
-    fn default() -> Self {
-        Self::new(9).unwrap()
-    }
-}
-
-impl fmt::Display for ExponentialMovingAverage {
-    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
-        write!(f, "EMA({})", self.length)
-    }
-}
-
-#[cfg(test)]
-mod tests {
-    use super::*;
-    use crate::test_helper::*;
-
-    // test_indicator!(ExponentialMovingAverage);
-
-    #[test]
-    fn test_new() {
-        assert!(ExponentialMovingAverage::new(0).is_err());
-        assert!(ExponentialMovingAverage::new(1).is_ok());
-    }
-
-    #[test]
-    fn test_next() {
-        let mut ema = ExponentialMovingAverage::new(3).unwrap();
-
-        assert_eq!(ema.next(2.0), 2.0);
-        assert_eq!(ema.next(5.0), 3.5);
-        assert_eq!(ema.next(1.0), 2.25);
-        assert_eq!(ema.next(6.25), 4.25);
-
-        let mut ema = ExponentialMovingAverage::new(3).unwrap();
-        let bar1 = Bar::new().close(2);
-        let bar2 = Bar::new().close(5);
-        assert_eq!(ema.next(&bar1), 2.0);
-        assert_eq!(ema.next(&bar2), 3.5);
-    }
-
-    #[test]
-    fn test_reset() {
-        let mut ema = ExponentialMovingAverage::new(5).unwrap();
-
-        assert_eq!(ema.next(4.0), 4.0);
-        ema.next(10.0);
-        ema.next(15.0);
-        ema.next(20.0);
-        assert_ne!(ema.next(4.0), 4.0);
-
-        ema.reset();
-        assert_eq!(ema.next(4.0), 4.0);
-    }
-
-    #[test]
-    fn test_default() {
-        ExponentialMovingAverage::default();
-    }
-
-    #[test]
-    fn test_display() {
-        let ema = ExponentialMovingAverage::new(7).unwrap();
-        assert_eq!(format!("{}", ema), "EMA(7)");
-    }
-}
diff --git a/src/indicators/emv.rs b/src/indicators/emv.rs
deleted file mode 100644
index 5727782..0000000
--- a/src/indicators/emv.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct EmvFactory {
-}
-
-impl EmvFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for EmvFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/exp.rs b/src/indicators/exp.rs
deleted file mode 100644
index 199e713..0000000
--- a/src/indicators/exp.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct ExpFactory {
-}
-
-impl ExpFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for ExpFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/fisher.rs b/src/indicators/fisher.rs
deleted file mode 100644
index b26818d..0000000
--- a/src/indicators/fisher.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct FisherFactory {
-}
-
-impl FisherFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for FisherFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/floor.rs b/src/indicators/floor.rs
deleted file mode 100644
index 2bf56e2..0000000
--- a/src/indicators/floor.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct FloorFactory {
-}
-
-impl FloorFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for FloorFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/fosc.rs b/src/indicators/fosc.rs
deleted file mode 100644
index 91cb177..0000000
--- a/src/indicators/fosc.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct FoscFactory {
-}
-
-impl FoscFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for FoscFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/fsto.rs b/src/indicators/fsto.rs
deleted file mode 100644
index a68f5e5..0000000
--- a/src/indicators/fsto.rs
+++ /dev/null
@@ -1,204 +0,0 @@
-#![allow(dead_code)]
-
-use std::fmt;
-
-use crate::errors::*;
-use crate::indicators::{Maximum, Minimum};
-use crate::{Close, High, Low, Next, Reset};
-
-use crate::indicators::SimpleMovingAverage;
-use crate::Factory;
-
-pub struct FstoFactory {}
-
-impl FstoFactory {
-    pub fn new() -> Self {
-        Self {}
-    }
-}
-
-impl Factory for FstoFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
-
-/// Fast stochastic oscillator.
-///
-/// The stochastic oscillator is a momentum indicator comparing the closing price
-/// of a security to the range of its prices over a certain period of time.
-///
-/// # Formula
-///
-/// ![Fast stochastic oscillator formula](https://wikimedia.org/api/rest_v1/media/math/render/svg/5a419041034a8044308c999f85661a08bcf91b1d)
-///
-/// Where:
-///
-/// * \%K<sub>t</sub> - value of fast stochastic oscillator
-/// * C<sub>t</sub> - close price of the current period
-/// * L<sub>n</sub> - lowest price for the last _n_ periods
-/// * H<sub>n</sub> - highest price for the last _n_ periods
-///
-///
-/// # Parameters
-///
-/// * _length_ - number of periods (integer greater than 0). Default is 14.
-
-//
-// # Example
-//
-// ```
-// use core::indicators::FastStochastic;
-// use core::Next;
-//
-// let mut stoch = FastStochastic::new(5).unwrap();
-// assert_eq!(stoch.next(20.0), 50.0);
-// assert_eq!(stoch.next(30.0), 100.0);
-// assert_eq!(stoch.next(40.0), 100.0);
-// assert_eq!(stoch.next(35.0), 75.0);
-// assert_eq!(stoch.next(15.0), 0.0);
-// ```
-
-#[derive(Debug, Clone)]
-pub struct FastStochastic {
-    length: u32,
-    minimum: Minimum,
-    maximum: Maximum,
-}
-
-impl FastStochastic {
-    pub fn new(length: u32) -> Result<Self> {
-        let indicator = Self {
-            length,
-            minimum: Minimum::new(length)?,
-            maximum: Maximum::new(length)?,
-        };
-        Ok(indicator)
-    }
-
-    pub fn length(&self) -> u32 {
-        self.length
-    }
-}
-
-impl Next<f64> for FastStochastic {
-    type Output = f64;
-
-    fn next(&mut self, input: f64) -> Self::Output {
-        let min = self.minimum.next(input);
-        let max = self.maximum.next(input);
-
-        if min == max {
-            // When only 1 input was given, than min and max are the same,
-            // therefore it makes sense to return 50
-            50.0
-        } else {
-            (input - min) / (max - min) * 100.0
-        }
-    }
-}
-
-impl<'a, T: High + Low + Close> Next<&'a T> for FastStochastic {
-    type Output = f64;
-
-    fn next(&mut self, input: &'a T) -> Self::Output {
-        let highest = self.maximum.next(input.high());
-        let lowest = self.minimum.next(input.low());
-        let close = input.close();
-
-        if highest == lowest {
-            // To avoid division by zero, return 50.0
-            50.0
-        } else {
-            (close - lowest) / (highest - lowest) * 100.0
-        }
-    }
-}
-
-impl Reset for FastStochastic {
-    fn reset(&mut self) {
-        self.minimum.reset();
-        self.maximum.reset();
-    }
-}
-
-impl Default for FastStochastic {
-    fn default() -> Self {
-        Self::new(14).unwrap()
-    }
-}
-
-impl fmt::Display for FastStochastic {
-    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
-        write!(f, "FAST_STOCH({})", self.length)
-    }
-}
-
-#[cfg(test)]
-mod tests {
-    use super::*;
-    use crate::test_helper::*;
-
-    // test_indicator!(FastStochastic);
-
-    #[test]
-    fn test_new() {
-        assert!(FastStochastic::new(0).is_err());
-        assert!(FastStochastic::new(1).is_ok());
-    }
-
-    #[test]
-    fn test_next_with_f64() {
-        let mut stoch = FastStochastic::new(3).unwrap();
-        assert_eq!(stoch.next(0.0), 50.0);
-        assert_eq!(stoch.next(200.0), 100.0);
-        assert_eq!(stoch.next(100.0), 50.0);
-        assert_eq!(stoch.next(120.0), 20.0);
-        assert_eq!(stoch.next(115.0), 75.0);
-    }
-
-    #[test]
-    fn test_next_with_bars() {
-        let test_data = vec![
-            // high, low , close, expected
-            (20.0, 20.0, 20.0, 50.0), // min = 20, max = 20
-            (30.0, 10.0, 25.0, 75.0), // min = 10, max = 30
-            (40.0, 20.0, 16.0, 20.0), // min = 10, max = 40
-            (35.0, 15.0, 19.0, 30.0), // min = 10, max = 40
-            (30.0, 20.0, 25.0, 40.0), // min = 15, max = 40
-            (35.0, 25.0, 30.0, 75.0), // min = 15, max = 35
-        ];
-
-        let mut stoch = FastStochastic::new(3).unwrap();
-
-        for (high, low, close, expected) in test_data {
-            let input_bar = Bar::new().high(high).low(low).close(close);
-            assert_eq!(stoch.next(&input_bar), expected);
-        }
-    }
-
-    #[test]
-    fn test_reset() {
-        let mut indicator = FastStochastic::new(10).unwrap();
-        assert_eq!(indicator.next(10.0), 50.0);
-        assert_eq!(indicator.next(210.0), 100.0);
-        assert_eq!(indicator.next(10.0), 0.0);
-        assert_eq!(indicator.next(60.0), 25.0);
-
-        indicator.reset();
-        assert_eq!(indicator.next(10.0), 50.0);
-        assert_eq!(indicator.next(20.0), 100.0);
-        assert_eq!(indicator.next(12.5), 25.0);
-    }
-
-    #[test]
-    fn test_default() {
-        FastStochastic::default();
-    }
-
-    #[test]
-    fn test_display() {
-        let indicator = FastStochastic::new(21).unwrap();
-        assert_eq!(format!("{}", indicator), "FAST_STOCH(21)");
-    }
-}
diff --git a/src/indicators/hma.rs b/src/indicators/hma.rs
deleted file mode 100644
index 71753a5..0000000
--- a/src/indicators/hma.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct HmaFactory {
-}
-
-impl HmaFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for HmaFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/kama.rs b/src/indicators/kama.rs
deleted file mode 100644
index 5a11588..0000000
--- a/src/indicators/kama.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct KamaFactory {
-}
-
-impl KamaFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for KamaFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/ker.rs b/src/indicators/ker.rs
deleted file mode 100644
index fdf5fd9..0000000
--- a/src/indicators/ker.rs
+++ /dev/null
@@ -1,170 +0,0 @@
-#![allow(dead_code)]
-
-use std::collections::VecDeque;
-use std::fmt;
-
-use crate::errors::*;
-use crate::traits::{Close, Next, Reset};
-
-use crate::indicators::SimpleMovingAverage;
-use crate::Factory;
-
-pub struct KerFactory {}
-
-impl KerFactory {
-    pub fn new() -> Self {
-        Self {}
-    }
-}
-
-impl Factory for KerFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
-
-/// Kaufman's Efficiency Ratio (ER).
-///
-/// It is calculated by dividing the price change over a period by the absolute sum of the price movements that occurred to achieve that change.
-/// The resulting ratio ranges between 0.0 and 1.0 with higher values representing a more efficient or trending market.
-///
-/// # Parameters
-///
-/// * _length_ - number of periods (integer greater than 0)
-
-//
-// # Example
-//
-// ```
-// use core::indicators::EfficiencyRatio;
-// use core::Next;
-//
-// let mut er = EfficiencyRatio::new(4).unwrap();
-// assert_eq!(er.next(10.0), 1.0);
-// assert_eq!(er.next(13.0), 1.0);
-// assert_eq!(er.next(12.0), 0.5);
-// assert_eq!(er.next(13.0), 0.6);
-// assert_eq!(er.next(18.0), 0.8);
-// assert_eq!(er.next(19.0), 0.75);
-// ```
-
-pub struct EfficiencyRatio {
-    length: u32,
-    prices: VecDeque<f64>,
-}
-
-impl EfficiencyRatio {
-    pub fn new(length: u32) -> Result<Self> {
-        if length == 0 {
-            Err(Error::from_kind(ErrorKind::InvalidParameter))
-        } else {
-            let indicator = Self {
-                length,
-                prices: VecDeque::with_capacity(length as usize + 1),
-            };
-            Ok(indicator)
-        }
-    }
-}
-
-impl Next<f64> for EfficiencyRatio {
-    type Output = f64;
-
-    fn next(&mut self, input: f64) -> f64 {
-        self.prices.push_back(input);
-
-        if self.prices.len() <= 2 {
-            return 1.0;
-        }
-
-        let first = self.prices[0];
-
-        // Calculate volatility
-        let volatility = self
-            .prices
-            .iter()
-            .skip(1)
-            .fold((first, 0.0), |(prev, sum), &val| {
-                (val, sum + (prev - val).abs())
-            })
-            .1;
-
-        // Calculate direction
-        let last_index = self.prices.len() - 1;
-        let direction = (first - self.prices[last_index]).abs();
-
-        // Get rid of the first element
-        if self.prices.len() > (self.length as usize) {
-            self.prices.pop_front();
-        }
-
-        // Return actual efficiency ratio
-        direction / volatility
-    }
-}
-
-impl<'a, T: Close> Next<&'a T> for EfficiencyRatio {
-    type Output = f64;
-
-    fn next(&mut self, input: &'a T) -> f64 {
-        self.next(input.close())
-    }
-}
-
-impl Reset for EfficiencyRatio {
-    fn reset(&mut self) {
-        self.prices.clear();
-    }
-}
-
-impl Default for EfficiencyRatio {
-    fn default() -> Self {
-        Self::new(14).unwrap()
-    }
-}
-
-impl fmt::Display for EfficiencyRatio {
-    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
-        write!(f, "ER({})", self.length)
-    }
-}
-
-#[cfg(test)]
-mod tests {
-    use super::*;
-    use crate::test_helper::*;
-
-    // test_indicator!(EfficiencyRatio);
-
-    #[test]
-    fn test_new() {
-        assert!(EfficiencyRatio::new(0).is_err());
-        assert!(EfficiencyRatio::new(1).is_ok());
-    }
-
-    #[test]
-    fn test_next_f64() {
-        let mut er = EfficiencyRatio::new(3).unwrap();
-
-        assert_eq!(round(er.next(3.0)), 1.0);
-        assert_eq!(round(er.next(5.0)), 1.0);
-        assert_eq!(round(er.next(2.0)), 0.2);
-        assert_eq!(round(er.next(3.0)), 0.0);
-        assert_eq!(round(er.next(1.0)), 0.667);
-        assert_eq!(round(er.next(3.0)), 0.2);
-        assert_eq!(round(er.next(4.0)), 0.2);
-        assert_eq!(round(er.next(6.0)), 1.0);
-
-        er.reset();
-        assert_eq!(round(er.next(3.0)), 1.0);
-        assert_eq!(round(er.next(5.0)), 1.0);
-        assert_eq!(round(er.next(2.0)), 0.2);
-        assert_eq!(round(er.next(3.0)), 0.0);
-    }
-
-    #[test]
-    fn test_display() {
-        let er = EfficiencyRatio::new(17).unwrap();
-        assert_eq!(format!("{}", er), "ER(17)");
-    }
-}
diff --git a/src/indicators/kvo.rs b/src/indicators/kvo.rs
deleted file mode 100644
index bdd16c8..0000000
--- a/src/indicators/kvo.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct KvoFactory {
-}
-
-impl KvoFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for KvoFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/lag.rs b/src/indicators/lag.rs
deleted file mode 100644
index 2f2f7fd..0000000
--- a/src/indicators/lag.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct LagFactory {
-}
-
-impl LagFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for LagFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/linregintercept.rs b/src/indicators/linregintercept.rs
deleted file mode 100644
index c188b61..0000000
--- a/src/indicators/linregintercept.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct LinRegInterceptFactory {
-}
-
-impl LinRegInterceptFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for LinRegInterceptFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/linregslope.rs b/src/indicators/linregslope.rs
deleted file mode 100644
index 669718e..0000000
--- a/src/indicators/linregslope.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct LinRegSlopeFactory {
-}
-
-impl LinRegSlopeFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for LinRegSlopeFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/linres.rs b/src/indicators/linres.rs
deleted file mode 100644
index bdb1f32..0000000
--- a/src/indicators/linres.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct LinResFactory {
-}
-
-impl LinResFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for LinResFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/ln.rs b/src/indicators/ln.rs
deleted file mode 100644
index 54d0d73..0000000
--- a/src/indicators/ln.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct LnFactory {
-}
-
-impl LnFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for LnFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/log10.rs b/src/indicators/log10.rs
deleted file mode 100644
index 5432efc..0000000
--- a/src/indicators/log10.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct Log10Factory {
-}
-
-impl Log10Factory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for Log10Factory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/macd.rs b/src/indicators/macd.rs
deleted file mode 100644
index 17ac5f3..0000000
--- a/src/indicators/macd.rs
+++ /dev/null
@@ -1,197 +0,0 @@
-#![allow(dead_code)]
-
-use std::fmt;
-
-use crate::errors::*;
-use crate::indicators::ExponentialMovingAverage as Ema;
-use crate::{Close, Next, Reset};
-
-use crate::indicators::SimpleMovingAverage;
-use crate::Factory;
-
-pub struct MacdFactory {}
-
-impl MacdFactory {
-    pub fn new() -> Self {
-        Self {}
-    }
-}
-
-impl Factory for MacdFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
-
-/// Moving average converge divergence (MACD).
-///
-/// The MACD indicator (or "oscillator") is a collection of three time series
-/// calculated from historical price data, most often the closing price.
-/// These three series are:
-///
-/// * The MACD series proper
-/// * The "signal" or "average" series
-/// * The "divergence" series which is the difference between the two
-///
-/// The MACD series is the difference between a "fast" (short period) exponential
-/// moving average (EMA), and a "slow" (longer period) EMA of the price series.
-/// The average series is an EMA of the MACD series itself.
-///
-/// # Formula
-///
-/// # Parameters
-///
-/// * _fast_length_ - length for the fast EMA. Default is 12.
-/// * _slow_length_ - length for the slow EMA. Default is 26.
-/// * _signal_length_ - length for the signal EMA. Default is 9.
-
-//
-// # Example
-//
-// ```
-// use core::indicators::MovingAverageConvergenceDivergence as Macd;
-// use core::Next;
-//
-// let mut macd = Macd::new(3, 6, 4).unwrap();
-//
-// assert_eq!(round(macd.next(2.0)), (0.0, 0.0, 0.0));
-// assert_eq!(round(macd.next(3.0)), (0.21, 0.09, 0.13));
-// assert_eq!(round(macd.next(4.2)), (0.52, 0.26, 0.26));
-// assert_eq!(round(macd.next(7.0)), (1.15, 0.62, 0.54));
-// assert_eq!(round(macd.next(6.7)), (1.15, 0.83, 0.32));
-// assert_eq!(round(macd.next(6.5)), (0.94, 0.87, 0.07));
-//
-// fn round(nums: (f64, f64, f64)) -> (f64, f64, f64) {
-//     let n0 = (nums.0 * 100.0).round() / 100.0;
-//     let n1 = (nums.1 * 100.0).round() / 100.0;
-//     let n2 = (nums.2 * 100.0).round() / 100.0;
-//     (n0, n1, n2)
-// }
-// ```
-
-#[derive(Debug, Clone)]
-pub struct MovingAverageConvergenceDivergence {
-    fast_ema: Ema,
-    slow_ema: Ema,
-    signal_ema: Ema,
-}
-
-impl MovingAverageConvergenceDivergence {
-    pub fn new(fast_length: u32, slow_length: u32, signal_length: u32) -> Result<Self> {
-        let indicator = Self {
-            fast_ema: Ema::new(fast_length)?,
-            slow_ema: Ema::new(slow_length)?,
-            signal_ema: Ema::new(signal_length)?,
-        };
-        Ok(indicator)
-    }
-}
-
-impl Next<f64> for MovingAverageConvergenceDivergence {
-    type Output = (f64, f64, f64);
-
-    fn next(&mut self, input: f64) -> Self::Output {
-        let fast_val = self.fast_ema.next(input);
-        let slow_val = self.slow_ema.next(input);
-
-        let macd = fast_val - slow_val;
-        let signal = self.signal_ema.next(macd);
-        let histogram = macd - signal;
-
-        (macd, signal, histogram)
-    }
-}
-
-impl<'a, T: Close> Next<&'a T> for MovingAverageConvergenceDivergence {
-    type Output = (f64, f64, f64);
-
-    fn next(&mut self, input: &'a T) -> Self::Output {
-        self.next(input.close())
-    }
-}
-
-impl Reset for MovingAverageConvergenceDivergence {
-    fn reset(&mut self) {
-        self.fast_ema.reset();
-        self.slow_ema.reset();
-        self.signal_ema.reset();
-    }
-}
-
-impl Default for MovingAverageConvergenceDivergence {
-    fn default() -> Self {
-        Self::new(12, 26, 9).unwrap()
-    }
-}
-
-impl fmt::Display for MovingAverageConvergenceDivergence {
-    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
-        write!(
-            f,
-            "MACD({}, {}, {})",
-            self.fast_ema.length(),
-            self.slow_ema.length(),
-            self.signal_ema.length()
-        )
-    }
-}
-
-#[cfg(test)]
-mod tests {
-    use super::*;
-    // use crate::test_helper::*;
-    type Macd = MovingAverageConvergenceDivergence;
-
-    // test_indicator!(Macd);
-
-    fn round(nums: (f64, f64, f64)) -> (f64, f64, f64) {
-        let n0 = (nums.0 * 100.0).round() / 100.0;
-        let n1 = (nums.1 * 100.0).round() / 100.0;
-        let n2 = (nums.2 * 100.0).round() / 100.0;
-        (n0, n1, n2)
-    }
-
-    #[test]
-    fn test_new() {
-        assert!(Macd::new(0, 1, 1).is_err());
-        assert!(Macd::new(1, 0, 1).is_err());
-        assert!(Macd::new(1, 1, 0).is_err());
-        assert!(Macd::new(1, 1, 1).is_ok());
-    }
-
-    #[test]
-    fn test_macd() {
-        let mut macd = Macd::new(3, 6, 4).unwrap();
-
-        assert_eq!(round(macd.next(2.0)), (0.0, 0.0, 0.0));
-        assert_eq!(round(macd.next(3.0)), (0.21, 0.09, 0.13));
-        assert_eq!(round(macd.next(4.2)), (0.52, 0.26, 0.26));
-        assert_eq!(round(macd.next(7.0)), (1.15, 0.62, 0.54));
-        assert_eq!(round(macd.next(6.7)), (1.15, 0.83, 0.32));
-        assert_eq!(round(macd.next(6.5)), (0.94, 0.87, 0.07));
-    }
-
-    #[test]
-    fn test_reset() {
-        let mut macd = Macd::new(3, 6, 4).unwrap();
-
-        assert_eq!(round(macd.next(2.0)), (0.0, 0.0, 0.0));
-        assert_eq!(round(macd.next(3.0)), (0.21, 0.09, 0.13));
-
-        macd.reset();
-
-        assert_eq!(round(macd.next(2.0)), (0.0, 0.0, 0.0));
-        assert_eq!(round(macd.next(3.0)), (0.21, 0.09, 0.13));
-    }
-
-    #[test]
-    fn test_default() {
-        Macd::default();
-    }
-
-    #[test]
-    fn test_display() {
-        let indicator = Macd::new(13, 30, 10).unwrap();
-        assert_eq!(format!("{}", indicator), "MACD(13, 30, 10)");
-    }
-}
diff --git a/src/indicators/marketfi.rs b/src/indicators/marketfi.rs
deleted file mode 100644
index cff36fb..0000000
--- a/src/indicators/marketfi.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct MarketfiFactory {
-}
-
-impl MarketfiFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for MarketfiFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/mass.rs b/src/indicators/mass.rs
deleted file mode 100644
index aa97d9b..0000000
--- a/src/indicators/mass.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct MassFactory {
-}
-
-impl MassFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for MassFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/max.rs b/src/indicators/max.rs
deleted file mode 100644
index 848b5bd..0000000
--- a/src/indicators/max.rs
+++ /dev/null
@@ -1,195 +0,0 @@
-#![allow(dead_code)]
-
-use std::f64::INFINITY;
-use std::fmt;
-
-use crate::errors::*;
-use crate::{High, Next, Reset};
-
-use crate::indicators::SimpleMovingAverage;
-use crate::Factory;
-
-pub struct MaxFactory {}
-
-impl MaxFactory {
-    pub fn new() -> Self {
-        Self {}
-    }
-}
-
-impl Factory for MaxFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
-
-/// Returns the highest value in a given time frame.
-///
-/// # Parameters
-///
-/// * _n_ - size of the time frame (integer greater than 0). Default value is 14.
-
-//
-// # Example
-//
-// ```
-// use core::indicators::Maximum;
-// use core::Next;
-//
-// let mut max = Maximum::new(3).unwrap();
-// assert_eq!(max.next(7.0), 7.0);
-// assert_eq!(max.next(5.0), 7.0);
-// assert_eq!(max.next(4.0), 7.0);
-// assert_eq!(max.next(4.0), 5.0);
-// assert_eq!(max.next(8.0), 8.0);
-// ```
-
-#[derive(Debug, Clone)]
-pub struct Maximum {
-    n: usize,
-    vec: Vec<f64>,
-    max_index: usize,
-    cur_index: usize,
-}
-
-impl Maximum {
-    pub fn new(n: u32) -> Result<Self> {
-        let n = n as usize;
-
-        if n == 0 {
-            return Err(Error::from_kind(ErrorKind::InvalidParameter));
-        }
-
-        let indicator = Self {
-            n,
-            vec: vec![-INFINITY; n],
-            max_index: 0,
-            cur_index: 0,
-        };
-        Ok(indicator)
-    }
-
-    fn find_max_index(&self) -> usize {
-        let mut max = -INFINITY;
-        let mut index: usize = 0;
-
-        for (i, &val) in self.vec.iter().enumerate() {
-            if val > max {
-                max = val;
-                index = i;
-            }
-        }
-
-        index
-    }
-}
-
-impl Next<f64> for Maximum {
-    type Output = f64;
-
-    fn next(&mut self, input: f64) -> Self::Output {
-        self.cur_index = (self.cur_index + 1) % (self.n as usize);
-        self.vec[self.cur_index] = input;
-
-        if input > self.vec[self.max_index] {
-            self.max_index = self.cur_index;
-        } else if self.max_index == self.cur_index {
-            self.max_index = self.find_max_index();
-        }
-
-        self.vec[self.max_index]
-    }
-}
-
-impl<'a, T: High> Next<&'a T> for Maximum {
-    type Output = f64;
-
-    fn next(&mut self, input: &'a T) -> Self::Output {
-        self.next(input.high())
-    }
-}
-
-impl Reset for Maximum {
-    fn reset(&mut self) {
-        for i in 0..self.n {
-            self.vec[i] = -INFINITY;
-        }
-    }
-}
-
-impl Default for Maximum {
-    fn default() -> Self {
-        Self::new(14).unwrap()
-    }
-}
-
-impl fmt::Display for Maximum {
-    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
-        write!(f, "MAX({})", self.n)
-    }
-}
-
-#[cfg(test)]
-mod tests {
-    use super::*;
-    use crate::test_helper::*;
-
-    // test_indicator!(Maximum);
-
-    #[test]
-    fn test_new() {
-        assert!(Maximum::new(0).is_err());
-        assert!(Maximum::new(1).is_ok());
-    }
-
-    #[test]
-    fn test_next() {
-        let mut max = Maximum::new(3).unwrap();
-
-        assert_eq!(max.next(4.0), 4.0);
-        assert_eq!(max.next(1.2), 4.0);
-        assert_eq!(max.next(5.0), 5.0);
-        assert_eq!(max.next(3.0), 5.0);
-        assert_eq!(max.next(4.0), 5.0);
-        assert_eq!(max.next(0.0), 4.0);
-        assert_eq!(max.next(-1.0), 4.0);
-        assert_eq!(max.next(-2.0), 0.0);
-        assert_eq!(max.next(-1.5), -1.0);
-    }
-
-    #[test]
-    fn test_next_with_bars() {
-        fn bar(high: f64) -> Bar {
-            Bar::new().high(high)
-        }
-
-        let mut max = Maximum::new(2).unwrap();
-
-        assert_eq!(max.next(&bar(1.1)), 1.1);
-        assert_eq!(max.next(&bar(4.0)), 4.0);
-        assert_eq!(max.next(&bar(3.5)), 4.0);
-        assert_eq!(max.next(&bar(2.0)), 3.5);
-    }
-
-    #[test]
-    fn test_reset() {
-        let mut max = Maximum::new(100).unwrap();
-        assert_eq!(max.next(4.0), 4.0);
-        assert_eq!(max.next(10.0), 10.0);
-        assert_eq!(max.next(4.0), 10.0);
-
-        max.reset();
-        assert_eq!(max.next(4.0), 4.0);
-    }
-
-    #[test]
-    fn test_default() {
-        Maximum::default();
-    }
-
-    #[test]
-    fn test_display() {
-        let indicator = Maximum::new(7).unwrap();
-        assert_eq!(format!("{}", indicator), "MAX(7)");
-    }
-}
diff --git a/src/indicators/md.rs b/src/indicators/md.rs
deleted file mode 100644
index bef338a..0000000
--- a/src/indicators/md.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct MdFactory {
-}
-
-impl MdFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for MdFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/medprice.rs b/src/indicators/medprice.rs
deleted file mode 100644
index 109f2b9..0000000
--- a/src/indicators/medprice.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct MedPriceFactory {
-}
-
-impl MedPriceFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for MedPriceFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/mfi.rs b/src/indicators/mfi.rs
deleted file mode 100644
index 85335c6..0000000
--- a/src/indicators/mfi.rs
+++ /dev/null
@@ -1,251 +0,0 @@
-#![allow(dead_code)]
-
-use std::collections::VecDeque;
-use std::fmt;
-
-use crate::errors::*;
-use crate::{Close, High, Low, Next, Reset, Volume};
-
-use crate::indicators::SimpleMovingAverage;
-use crate::Factory;
-
-pub struct MfiFactory {}
-
-impl MfiFactory {
-    pub fn new() -> Self {
-        Self {}
-    }
-}
-
-impl Factory for MfiFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
-
-/// Money Flow Index (MFI).
-///
-/// The MFI is an volume and price based oscillator which gives moneyflow over n periods.
-/// MFI is used to measure buying and selling pressure.
-/// MFI is also known as volume-weighted RSI.
-///
-/// # Formula
-///
-/// Typical Price(TP) = (High + Low + Close)/3
-///
-/// Money Flow(MF) = Typical Price x Volume
-///
-/// MF is positive when currennt TP is greater that previous period TP and
-/// negative when current TP is less than preivous TP.
-///
-/// Positive money flow (PMF)- calculated by adding the money flow of all the days RMF is positive.
-///
-/// Negative money flow (NMF)- calculated by adding the money flow of all the days RMF is negative.
-///
-/// Money Flow Index(MFI) = PMF / (PMF + NMF) * 100
-///
-///
-/// # Parameters
-///
-/// * _n_ - number of periods, integer greater than 0
-
-//
-// # Example
-//
-// ```
-// use core::indicators::MoneyFlowIndex;
-// use core::{Next, DataItem};
-//
-// let mut mfi = MoneyFlowIndex::new(3).unwrap();
-// let di = DataItem::builder()
-//             .high(3.0)
-//             .low(1.0)
-//             .close(2.0)
-//             .open(1.5)
-//             .volume(1000.0)
-//             .build().unwrap();
-// mfi.next(&di);
-//
-// ```
-// # Links
-// * [Money Flow Index, Wikipedia](https://en.wikipedia.org/wiki/Money_flow_index)
-// * [Money Flow Index, stockcharts](https://stockcharts.com/school/doku.php?id=chart_school:technical_indicators:money_flow_index_mfi)
-
-#[derive(Debug, Clone)]
-pub struct MoneyFlowIndex {
-    n: u32,
-    money_flows: VecDeque<f64>,
-    prev_typical_price: f64,
-    total_positive_money_flow: f64,
-    total_absolute_money_flow: f64,
-    is_new: bool,
-}
-
-impl MoneyFlowIndex {
-    pub fn new(n: u32) -> Result<Self> {
-        match n {
-            0 => Err(Error::from_kind(ErrorKind::InvalidParameter)),
-            _ => {
-                let indicator = Self {
-                    n,
-                    money_flows: VecDeque::with_capacity(n as usize + 1),
-                    prev_typical_price: 0.0,
-                    total_positive_money_flow: 0.0,
-                    total_absolute_money_flow: 0.0,
-                    is_new: true,
-                };
-                Ok(indicator)
-            }
-        }
-    }
-}
-
-impl<'a, T: High + Low + Close + Volume> Next<&'a T> for MoneyFlowIndex {
-    type Output = f64;
-
-    fn next(&mut self, input: &'a T) -> f64 {
-        let typical_price = (input.high() + input.low() + input.close()) / 3.0;
-
-        if self.is_new {
-            // money flow is 0, because without having previous typical_price
-            // it is not possible to determine is it positive or negative.
-            self.money_flows.push_back(0.0);
-            self.prev_typical_price = typical_price;
-            self.is_new = false;
-            50.0
-        } else {
-            let money_flow = typical_price * input.volume();
-
-            let signed_money_flow = if typical_price >= self.prev_typical_price {
-                self.total_positive_money_flow += money_flow;
-                money_flow
-            } else {
-                -money_flow
-            };
-
-            self.total_absolute_money_flow += money_flow;
-
-            if self.money_flows.len() == (self.n as usize) {
-                let old_signed_money_flow = self.money_flows.pop_front().unwrap();
-                if old_signed_money_flow > 0.0 {
-                    self.total_positive_money_flow -= old_signed_money_flow;
-                    self.total_absolute_money_flow -= old_signed_money_flow;
-                } else {
-                    // it is actually subtraction, because old_signed_money_flow is negative
-                    self.total_absolute_money_flow += old_signed_money_flow;
-                }
-            }
-
-            self.money_flows.push_back(signed_money_flow);
-            self.prev_typical_price = typical_price;
-
-            (self.total_positive_money_flow / self.total_absolute_money_flow) * 100.0
-        }
-    }
-}
-
-impl Default for MoneyFlowIndex {
-    fn default() -> Self {
-        Self::new(14).unwrap()
-    }
-}
-
-impl fmt::Display for MoneyFlowIndex {
-    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
-        write!(f, "MFI({})", self.n)
-    }
-}
-
-impl Reset for MoneyFlowIndex {
-    fn reset(&mut self) {
-        self.money_flows.clear();
-        self.prev_typical_price = 0.0;
-        self.total_positive_money_flow = 0.0;
-        self.total_absolute_money_flow = 0.0;
-        self.is_new = true;
-    }
-}
-
-#[cfg(test)]
-mod tests {
-    use super::*;
-    use crate::test_helper::*;
-
-    #[test]
-    fn test_new() {
-        assert!(MoneyFlowIndex::new(0).is_err());
-        assert!(MoneyFlowIndex::new(1).is_ok());
-    }
-
-    #[test]
-    fn test_next_bar() {
-        let mut mfi = MoneyFlowIndex::new(3).unwrap();
-
-        // tp = 2.0
-        let bar1 = Bar::new().high(3).low(1).close(2).volume(500.0);
-        assert_eq!(mfi.next(&bar1), 50.0);
-
-        // tp = 2.2, fm = 2.2*1000 = 2200, abs_total = 2200, pos_total = 2200
-        let bar2 = Bar::new().high(2.3).low(2.0).close(2.3).volume(1000.0);
-        assert_eq!(mfi.next(&bar2), 100.0);
-
-        // tp = 8.0, fm = 8*200 = 1600, abs_total = 3800, pos_total = 3800
-        let bar3 = Bar::new().high(9).low(7).close(8).volume(200.0);
-        assert_eq!(mfi.next(&bar3), 100.0);
-
-        // tp = 4.0, fm = -4.0*500 = -2000, abs_total = 5800 , pos_total = 3800
-        let bar4 = Bar::new().high(5).low(3).close(4).volume(500.0);
-        assert_eq!(mfi.next(&bar4), 3800.0 / 5800.0 * 100.0);
-
-        // tp = 3.0, fm = -3 * 5000 = -15000, abs_total = 5800+15000-2200=18600, pos_total=3800-2200=1600
-        let bar5 = Bar::new().high(4).low(2).close(3).volume(5000.0);
-        assert_eq!(mfi.next(&bar5), 1600.0 / 18600.0 * 100.0);
-
-        // tp = 1.5, fm = -1.5*6000= -9000, abs_total=18600+9000-1600=26000, pos_total=0
-        let bar6 = Bar::new().high(2).low(1).close(1.5).volume(6000.0);
-        assert_eq!(mfi.next(&bar6), 0.0 / 23800.0 * 100.0);
-
-        // tp = 2, fm = 2*7000=14000, abs_total=26000+14000-2000=38000, pos_total=14000
-        let bar7 = Bar::new().high(2).low(2).close(2).volume(7000.0);
-        assert_eq!(mfi.next(&bar7), 14000.0 / 38000.0 * 100.0);
-    }
-
-    #[test]
-    fn test_reset() {
-        let mut mfi = MoneyFlowIndex::new(3).unwrap();
-
-        let bar1 = Bar::new().high(2).low(1).close(1.5).volume(1000.0);
-        let bar2 = Bar::new().high(5).low(3).close(4).volume(2000.0);
-        let bar3 = Bar::new().high(9).low(7).close(8).volume(3000.0);
-        let bar4 = Bar::new().high(5).low(3).close(4).volume(4000.0);
-        let bar5 = Bar::new().high(5).low(3).close(4).volume(5000.0);
-        let bar6 = Bar::new().high(2).low(1).close(1.5).volume(6000.0);
-
-        assert_eq!(mfi.next(&bar1), 50.0);
-        assert_eq!(mfi.next(&bar2), 100.0);
-        assert_eq!(mfi.next(&bar3), 100.0);
-        assert_eq!(round(mfi.next(&bar4)), 66.667);
-        assert_eq!(round(mfi.next(&bar5)), 73.333);
-        assert_eq!(round(mfi.next(&bar6)), 44.444);
-
-        mfi.reset();
-
-        assert_eq!(mfi.next(&bar1), 50.0);
-        assert_eq!(mfi.next(&bar2), 100.0);
-        assert_eq!(mfi.next(&bar3), 100.0);
-        assert_eq!(round(mfi.next(&bar4)), 66.667);
-        assert_eq!(round(mfi.next(&bar5)), 73.333);
-        assert_eq!(round(mfi.next(&bar6)), 44.444);
-    }
-
-    #[test]
-    fn test_default() {
-        MoneyFlowIndex::default();
-    }
-
-    #[test]
-    fn test_display() {
-        let mfi = MoneyFlowIndex::new(10).unwrap();
-        assert_eq!(format!("{}", mfi), "MFI(10)");
-    }
-}
diff --git a/src/indicators/min.rs b/src/indicators/min.rs
deleted file mode 100644
index 6e33a69..0000000
--- a/src/indicators/min.rs
+++ /dev/null
@@ -1,196 +0,0 @@
-#![allow(dead_code)]
-
-use std::f64::INFINITY;
-use std::fmt;
-
-use crate::errors::*;
-use crate::{Low, Next, Reset};
-
-use crate::indicators::SimpleMovingAverage;
-use crate::Factory;
-
-pub struct MinFactory {}
-
-impl MinFactory {
-    pub fn new() -> Self {
-        Self {}
-    }
-}
-
-impl Factory for MinFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
-
-/// Returns the lowest value in a given time frame.
-///
-/// # Parameters
-///
-/// * _n_ - size of the time frame (integer greater than 0). Default value is 14.
-
-//
-// # Example
-//
-// ```
-// use core::indicators::Minimum;
-// use core::Next;
-//
-// let mut min = Minimum::new(3).unwrap();
-// assert_eq!(min.next(10.0), 10.0);
-// assert_eq!(min.next(11.0), 10.0);
-// assert_eq!(min.next(12.0), 10.0);
-// assert_eq!(min.next(13.0), 11.0);
-// ```
-
-#[derive(Debug, Clone)]
-pub struct Minimum {
-    n: usize,
-    vec: Vec<f64>,
-    min_index: usize,
-    cur_index: usize,
-}
-
-impl Minimum {
-    pub fn new(n: u32) -> Result<Self> {
-        let n = n as usize;
-
-        if n <= 0 {
-            return Err(Error::from_kind(ErrorKind::InvalidParameter));
-        }
-
-        let indicator = Self {
-            n,
-            vec: vec![INFINITY; n],
-            min_index: 0,
-            cur_index: 0,
-        };
-
-        Ok(indicator)
-    }
-
-    fn find_min_index(&self) -> usize {
-        let mut min = ::std::f64::INFINITY;
-        let mut index: usize = 0;
-
-        for (i, &val) in self.vec.iter().enumerate() {
-            if val < min {
-                min = val;
-                index = i;
-            }
-        }
-
-        index
-    }
-}
-
-impl Next<f64> for Minimum {
-    type Output = f64;
-
-    fn next(&mut self, input: f64) -> Self::Output {
-        self.cur_index = (self.cur_index + 1) % (self.n as usize);
-        self.vec[self.cur_index] = input;
-
-        if input < self.vec[self.min_index] {
-            self.min_index = self.cur_index;
-        } else if self.min_index == self.cur_index {
-            self.min_index = self.find_min_index();
-        }
-
-        self.vec[self.min_index]
-    }
-}
-
-impl<'a, T: Low> Next<&'a T> for Minimum {
-    type Output = f64;
-
-    fn next(&mut self, input: &'a T) -> Self::Output {
-        self.next(input.low())
-    }
-}
-
-impl Reset for Minimum {
-    fn reset(&mut self) {
-        for i in 0..self.n {
-            self.vec[i] = INFINITY;
-        }
-    }
-}
-
-impl Default for Minimum {
-    fn default() -> Self {
-        Self::new(14).unwrap()
-    }
-}
-
-impl fmt::Display for Minimum {
-    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
-        write!(f, "MIN({})", self.n)
-    }
-}
-
-#[cfg(test)]
-mod tests {
-    use super::*;
-    use crate::test_helper::*;
-
-    // test_indicator!(Minimum);
-
-    #[test]
-    fn test_new() {
-        assert!(Minimum::new(0).is_err());
-        assert!(Minimum::new(1).is_ok());
-    }
-
-    #[test]
-    fn test_next() {
-        let mut min = Minimum::new(3).unwrap();
-
-        assert_eq!(min.next(4.0), 4.0);
-        assert_eq!(min.next(1.2), 1.2);
-        assert_eq!(min.next(5.0), 1.2);
-        assert_eq!(min.next(3.0), 1.2);
-        assert_eq!(min.next(4.0), 3.0);
-        assert_eq!(min.next(6.0), 3.0);
-        assert_eq!(min.next(7.0), 4.0);
-        assert_eq!(min.next(8.0), 6.0);
-        assert_eq!(min.next(-9.0), -9.0);
-        assert_eq!(min.next(0.0), -9.0);
-    }
-
-    #[test]
-    fn test_next_with_bars() {
-        fn bar(low: f64) -> Bar {
-            Bar::new().low(low)
-        }
-
-        let mut min = Minimum::new(3).unwrap();
-
-        assert_eq!(min.next(&bar(4.0)), 4.0);
-        assert_eq!(min.next(&bar(4.0)), 4.0);
-        assert_eq!(min.next(&bar(1.2)), 1.2);
-        assert_eq!(min.next(&bar(5.0)), 1.2);
-    }
-
-    #[test]
-    fn test_reset() {
-        let mut min = Minimum::new(10).unwrap();
-
-        assert_eq!(min.next(5.0), 5.0);
-        assert_eq!(min.next(7.0), 5.0);
-
-        min.reset();
-        assert_eq!(min.next(8.0), 8.0);
-    }
-
-    #[test]
-    fn test_default() {
-        Minimum::default();
-    }
-
-    #[test]
-    fn test_display() {
-        let indicator = Minimum::new(10).unwrap();
-        assert_eq!(format!("{}", indicator), "MIN(10)");
-    }
-}
diff --git a/src/indicators/mod.rs b/src/indicators/mod.rs
deleted file mode 100644
index 5eb8377..0000000
--- a/src/indicators/mod.rs
+++ /dev/null
@@ -1,50 +0,0 @@
-mod ema;
-pub use self::ema::ExponentialMovingAverage;
-
-mod sma;
-pub use self::sma::SimpleMovingAverage;
-
-mod wma;
-pub use self::wma::WeightedMovingAverage;
-
-mod sd;
-pub use self::sd::StandardDeviation;
-
-mod rsi;
-pub use self::rsi::RelativeStrengthIndex;
-
-mod min;
-pub use self::min::Minimum;
-
-mod max;
-pub use self::max::Maximum;
-
-mod fsto;
-pub use self::fsto::FastStochastic;
-
-mod ssto;
-pub use self::ssto::SlowStochastic;
-
-mod tr;
-pub use self::tr::TrueRange;
-
-mod atr;
-pub use self::atr::AverageTrueRange;
-
-mod macd;
-pub use self::macd::MovingAverageConvergenceDivergence;
-
-mod ker;
-pub use self::ker::EfficiencyRatio;
-
-mod bbands;
-pub use self::bbands::{BollingerBands, BollingerBandsOutput};
-
-mod roc;
-pub use self::roc::RateOfChange;
-
-mod mfi;
-pub use self::mfi::MoneyFlowIndex;
-
-mod obv;
-pub use self::obv::OnBalanceVolume;
diff --git a/src/indicators/mom.rs b/src/indicators/mom.rs
deleted file mode 100644
index 163d063..0000000
--- a/src/indicators/mom.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct MomFactory {
-}
-
-impl MomFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for MomFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/msw.rs b/src/indicators/msw.rs
deleted file mode 100644
index 6a5561c..0000000
--- a/src/indicators/msw.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct MswFactory {
-}
-
-impl MswFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for MswFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/mul.rs b/src/indicators/mul.rs
deleted file mode 100644
index f184b78..0000000
--- a/src/indicators/mul.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct MulFactory {
-}
-
-impl MulFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for MulFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/natr.rs b/src/indicators/natr.rs
deleted file mode 100644
index a0b5dc8..0000000
--- a/src/indicators/natr.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct NatrFactory {
-}
-
-impl NatrFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for NatrFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/nvi.rs b/src/indicators/nvi.rs
deleted file mode 100644
index 43ae1af..0000000
--- a/src/indicators/nvi.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct NviFactory {
-}
-
-impl NviFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for NviFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/obv.rs b/src/indicators/obv.rs
deleted file mode 100644
index d0b1ec4..0000000
--- a/src/indicators/obv.rs
+++ /dev/null
@@ -1,182 +0,0 @@
-#![allow(dead_code)]
-
-use std::fmt;
-
-use crate::{Close, Next, Reset, Volume};
-
-use crate::indicators::SimpleMovingAverage;
-use crate::Factory;
-
-pub struct ObvFactory {}
-
-impl ObvFactory {
-    pub fn new() -> Self {
-        Self {}
-    }
-}
-
-impl Factory for ObvFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
-
-/// On Balance Volume (OBV).
-///
-/// The OBV is an volume and price based oscillator which gives cumulative total volumes.
-/// OBV measures buying and selling pressure as a cumulative indicator,
-/// adding volume on up days and subtracting it on down days.
-///
-/// # Formula
-///
-/// If the closing price is above the prior close price then:
-/// Current OBV = Previous OBV + Current Volume
-///
-/// If the closing price is below the prior close price then:
-/// Current OBV = Previous OBV  -  Current Volume
-///
-/// If the closing prices equals the prior close price then:
-/// Current OBV = Previous OBV
-///
-/// Where:
-///
-/// obv - on the balance volume
-
-//
-// # Example
-//
-// ```
-// use core::indicators::OnBalanceVolume;
-// use core::{Next, DataItem};
-//
-// let mut obv = OnBalanceVolume::new();
-//
-// let di1 = DataItem::builder()
-//             .high(3.0)
-//             .low(1.0)
-//             .close(2.0)
-//             .open(1.5)
-//             .volume(1000.0)
-//             .build().unwrap();
-//
-// let di2 = DataItem::builder()
-//             .high(3.0)
-//             .low(1.0)
-//             .close(1.5)
-//             .open(1.5)
-//             .volume(300.0)
-//             .build().unwrap();
-//
-// assert_eq!(obv.next(&di1), 1000.0);
-// assert_eq!(obv.next(&di2), 700.0);
-// ```
-//
-// # Links
-//
-// * [On Balance Volume, Wikipedia](https://en.wikipedia.org/wiki/On-balance_volume)
-// * [On Balance Volume, stockcharts](https://stockcharts.com/school/doku.php?id=chart_school:technical_indicators:on_balance_volume_obv)
-
-#[derive(Debug, Clone)]
-pub struct OnBalanceVolume {
-    obv: f64,
-    prev_close: f64,
-}
-
-impl OnBalanceVolume {
-    pub fn new() -> Self {
-        Self {
-            obv: 0.0,
-            prev_close: 0.0,
-        }
-    }
-}
-
-impl<'a, T: Close + Volume> Next<&'a T> for OnBalanceVolume {
-    type Output = f64;
-
-    fn next(&mut self, input: &'a T) -> f64 {
-        if input.close() > self.prev_close {
-            self.obv = self.obv + input.volume();
-        } else if input.close() < self.prev_close {
-            self.obv = self.obv - input.volume();
-        }
-        self.prev_close = input.close();
-        self.obv
-    }
-}
-
-impl Default for OnBalanceVolume {
-    fn default() -> Self {
-        Self::new()
-    }
-}
-
-impl fmt::Display for OnBalanceVolume {
-    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
-        write!(f, "OBV")
-    }
-}
-
-impl Reset for OnBalanceVolume {
-    fn reset(&mut self) {
-        self.obv = 0.0;
-        self.prev_close = 0.0;
-    }
-}
-
-#[cfg(test)]
-mod tests {
-    use super::*;
-    use crate::test_helper::*;
-
-    #[test]
-    fn test_next_bar() {
-        let mut obv = OnBalanceVolume::new();
-
-        let bar1 = Bar::new().close(1.5).volume(1000.0);
-        let bar2 = Bar::new().close(5).volume(5000.0);
-        let bar3 = Bar::new().close(4).volume(9000.0);
-        let bar4 = Bar::new().close(4).volume(4000.0);
-
-        assert_eq!(obv.next(&bar1), 1000.0);
-
-        //close > prev_close
-        assert_eq!(obv.next(&bar2), 6000.0);
-
-        // close < prev_close
-        assert_eq!(obv.next(&bar3), -3000.0);
-
-        // close == prev_close
-        assert_eq!(obv.next(&bar4), -3000.0);
-    }
-
-    #[test]
-    fn test_reset() {
-        let mut obv = OnBalanceVolume::new();
-
-        let bar1 = Bar::new().close(1.5).volume(1000.0);
-        let bar2 = Bar::new().close(4).volume(2000.0);
-        let bar3 = Bar::new().close(8).volume(3000.0);
-
-        assert_eq!(obv.next(&bar1), 1000.0);
-        assert_eq!(obv.next(&bar2), 3000.0);
-        assert_eq!(obv.next(&bar3), 6000.0);
-
-        obv.reset();
-
-        assert_eq!(obv.next(&bar1), 1000.0);
-        assert_eq!(obv.next(&bar2), 3000.0);
-        assert_eq!(obv.next(&bar3), 6000.0);
-    }
-
-    #[test]
-    fn test_default() {
-        OnBalanceVolume::default();
-    }
-
-    #[test]
-    fn test_display() {
-        let obv = OnBalanceVolume::new();
-        assert_eq!(format!("{}", obv), "OBV");
-    }
-}
diff --git a/src/indicators/ppo.rs b/src/indicators/ppo.rs
deleted file mode 100644
index e2c40d6..0000000
--- a/src/indicators/ppo.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct PpoFactory {
-}
-
-impl PpoFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for PpoFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/psar.rs b/src/indicators/psar.rs
deleted file mode 100644
index ed792cc..0000000
--- a/src/indicators/psar.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct PsarFactory {
-}
-
-impl PsarFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for PsarFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/pvi.rs b/src/indicators/pvi.rs
deleted file mode 100644
index 6de4292..0000000
--- a/src/indicators/pvi.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct PviFactory {
-}
-
-impl PviFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for PviFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/roc.rs b/src/indicators/roc.rs
deleted file mode 100644
index 66b62d9..0000000
--- a/src/indicators/roc.rs
+++ /dev/null
@@ -1,182 +0,0 @@
-#![allow(dead_code)]
-
-use std::collections::VecDeque;
-use std::fmt;
-
-use crate::errors::*;
-use crate::traits::{Close, Next, Reset};
-
-use crate::indicators::SimpleMovingAverage;
-use crate::Factory;
-
-pub struct RocFactory {}
-
-impl RocFactory {
-    pub fn new() -> Self {
-        Self {}
-    }
-}
-
-impl Factory for RocFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
-
-/// Rate of Change (ROC)
-///
-/// # Formula
-///
-/// ROC = (Price<sub>t</sub> - Price<sub>t-n</sub>) / Price<sub>t-n</sub> * 100
-///
-/// Where:
-///
-/// * ROC - current value of Rate of Change indicator
-/// * P<sub>t</sub> - price at the moment
-/// * P<sub>t-n</sub> - price _n_ periods ago
-///
-/// # Parameters
-///
-/// * _length_ - number of periods (_n_), integer greater than 0
-
-//
-// # Example
-//
-// ```
-// use core::indicators::RateOfChange;
-// use core::Next;
-//
-// let mut roc = RateOfChange::new(2).unwrap();
-// assert_eq!(roc.next(10.0), 0.0);            //  0
-// assert_eq!(roc.next(9.7).round(), -3.0);    //  (9.7 - 10) / 10  * 100 = -3
-// assert_eq!(roc.next(20.0).round(), 100.0);  //  (20 - 10)  / 10  * 100 = 100
-// assert_eq!(roc.next(20.0).round(), 106.0);  //  (20 - 9.7) / 9.7 * 100 = 106
-// ```
-//
-// # Links
-//
-// * [Rate of Change, Wikipedia](https://en.wikipedia.org/wiki/Momentum_(technical_analysis))
-//
-
-#[derive(Debug, Clone)]
-pub struct RateOfChange {
-    length: u32,
-    prices: VecDeque<f64>,
-}
-
-impl RateOfChange {
-    pub fn new(length: u32) -> Result<Self> {
-        match length {
-            0 => Err(Error::from_kind(ErrorKind::InvalidParameter)),
-            _ => {
-                let indicator = Self {
-                    length,
-                    prices: VecDeque::with_capacity(length as usize + 1),
-                };
-                Ok(indicator)
-            }
-        }
-    }
-}
-
-impl Next<f64> for RateOfChange {
-    type Output = f64;
-
-    fn next(&mut self, input: f64) -> f64 {
-        self.prices.push_back(input);
-
-        if self.prices.len() == 1 {
-            return 0.0;
-        }
-
-        let initial_price = if self.prices.len() > (self.length as usize) {
-            // unwrap is safe, because the check above.
-            // At this moment there must be at least 2 items in self.prices
-            self.prices.pop_front().unwrap()
-        } else {
-            self.prices[0]
-        };
-
-        (input - initial_price) / initial_price * 100.0
-    }
-}
-
-impl<'a, T: Close> Next<&'a T> for RateOfChange {
-    type Output = f64;
-
-    fn next(&mut self, input: &'a T) -> f64 {
-        self.next(input.close())
-    }
-}
-
-impl Default for RateOfChange {
-    fn default() -> Self {
-        Self::new(9).unwrap()
-    }
-}
-
-impl fmt::Display for RateOfChange {
-    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
-        write!(f, "ROC({})", self.length)
-    }
-}
-
-impl Reset for RateOfChange {
-    fn reset(&mut self) {
-        self.prices.clear();
-    }
-}
-
-#[cfg(test)]
-mod tests {
-    use super::*;
-    use crate::test_helper::*;
-
-    // test_indicator!(RateOfChange);
-
-    #[test]
-    fn test_new() {
-        assert!(RateOfChange::new(0).is_err());
-        assert!(RateOfChange::new(1).is_ok());
-        assert!(RateOfChange::new(100_000).is_ok());
-    }
-
-    #[test]
-    fn test_next_f64() {
-        let mut roc = RateOfChange::new(3).unwrap();
-
-        assert_eq!(round(roc.next(10.0)), 0.0);
-        assert_eq!(round(roc.next(10.4)), 4.0);
-        assert_eq!(round(roc.next(10.57)), 5.7);
-        assert_eq!(round(roc.next(10.8)), 8.0);
-        assert_eq!(round(roc.next(10.9)), 4.808);
-        assert_eq!(round(roc.next(10.0)), -5.393);
-    }
-
-    #[test]
-    fn test_next_bar() {
-        fn bar(close: f64) -> Bar {
-            Bar::new().close(close)
-        }
-
-        let mut roc = RateOfChange::new(3).unwrap();
-
-        assert_eq!(round(roc.next(&bar(10.0))), 0.0);
-        assert_eq!(round(roc.next(&bar(10.4))), 4.0);
-        assert_eq!(round(roc.next(&bar(10.57))), 5.7);
-    }
-
-    #[test]
-    fn test_reset() {
-        let mut roc = RateOfChange::new(3).unwrap();
-
-        roc.next(12.3);
-        roc.next(15.0);
-
-        roc.reset();
-
-        assert_eq!(round(roc.next(10.0)), 0.0);
-        assert_eq!(round(roc.next(10.4)), 4.0);
-        assert_eq!(round(roc.next(10.57)), 5.7);
-    }
-}
diff --git a/src/indicators/rocr.rs b/src/indicators/rocr.rs
deleted file mode 100644
index c9e28bb..0000000
--- a/src/indicators/rocr.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct RocrFactory {
-}
-
-impl RocrFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for RocrFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/round.rs b/src/indicators/round.rs
deleted file mode 100644
index c47104e..0000000
--- a/src/indicators/round.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct RoundFactory {
-}
-
-impl RoundFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for RoundFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/rsi.rs b/src/indicators/rsi.rs
deleted file mode 100644
index ba4dd1b..0000000
--- a/src/indicators/rsi.rs
+++ /dev/null
@@ -1,211 +0,0 @@
-#![allow(dead_code)]
-
-use std::fmt;
-
-use crate::errors::*;
-use crate::indicators::ExponentialMovingAverage as Ema;
-use crate::{Close, Next, Reset};
-
-use crate::indicators::SimpleMovingAverage;
-use crate::Factory;
-
-pub struct RsiFactory {}
-
-impl RsiFactory {
-    pub fn new() -> Self {
-        Self {}
-    }
-}
-
-impl Factory for RsiFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
-
-/// The relative strength index (RSI).
-///
-/// It is a momentum oscillator,
-/// that compares the magnitude of recent gains
-/// and losses over a specified time period to measure speed and change of price
-/// movements of a security. It is primarily used to attempt to identify
-/// overbought or oversold conditions in the trading of an asset.
-///
-/// The oscillator returns output in the range of 0..100.
-///
-/// ![RSI](https://upload.wikimedia.org/wikipedia/commons/6/67/RSIwiki.gif)
-///
-/// # Formula
-///
-/// RSI<sub>t</sub> = EMA<sub>Ut</sub> * 100 / (EMA<sub>Ut</sub> + EMA<sub>Dt</sub>)
-///
-/// Where:
-///
-/// * RSI<sub>t</sub> - value of RSI indicator in a moment of time _t_
-/// * EMA<sub>Ut</sub> - value of [EMA](struct.ExponentialMovingAverage.html) of up periods in a moment of time _t_
-/// * EMA<sub>Dt</sub> - value of [EMA](struct.ExponentialMovingAverage.html) of down periods in a moment of time _t_
-///
-/// If current period has value higher than previous period, than:
-///
-/// U = p<sub>t</sub> - p<sub>t-1</sub>
-///
-/// D = 0
-///
-/// Otherwise:
-///
-/// U = 0
-///
-/// D = p<sub>t-1</sub> - p<sub>t</sub>
-///
-/// Where:
-///
-/// * U = up period value
-/// * D = down period value
-/// * p<sub>t</sub> - input value in a moment of time _t_
-/// * p<sub>t-1</sub> - input value in a moment of time _t-1_
-///
-/// # Parameters
-///
-/// * _n_ - number of periods (integer greater than 0). Default value is 14.
-
-//
-// # Example
-//
-// ```
-// use core::indicators::RelativeStrengthIndex;
-// use core::Next;
-//
-// let mut rsi = RelativeStrengthIndex::new(3).unwrap();
-// assert_eq!(rsi.next(10.0), 50.0);
-// assert_eq!(rsi.next(10.5).round(), 86.0);
-// assert_eq!(rsi.next(10.0).round(), 35.0);
-// assert_eq!(rsi.next(9.5).round(), 16.0);
-// ```
-//
-// # Links
-// * [Relative strength index (Wikipedia)](https://en.wikipedia.org/wiki/Relative_strength_index)
-// * [RSI (Investopedia)](http://www.investopedia.com/terms/r/rsi.asp)
-//
-
-#[derive(Debug, Clone)]
-pub struct RelativeStrengthIndex {
-    n: u32,
-    up_ema_indicator: Ema,
-    down_ema_indicator: Ema,
-    prev_val: f64,
-    is_new: bool,
-}
-
-impl RelativeStrengthIndex {
-    pub fn new(n: u32) -> Result<Self> {
-        let rsi = Self {
-            n,
-            up_ema_indicator: Ema::new(n)?,
-            down_ema_indicator: Ema::new(n)?,
-            prev_val: 0.0,
-            is_new: true,
-        };
-        Ok(rsi)
-    }
-}
-
-impl Next<f64> for RelativeStrengthIndex {
-    type Output = f64;
-
-    fn next(&mut self, input: f64) -> Self::Output {
-        let mut up = 0.0;
-        let mut down = 0.0;
-
-        if self.is_new {
-            self.is_new = false;
-            // Initialize with some small seed numbers to avoid division by zero
-            up = 0.1;
-            down = 0.1;
-        } else {
-            if input > self.prev_val {
-                up = input - self.prev_val;
-            } else {
-                down = self.prev_val - input;
-            }
-        }
-
-        self.prev_val = input;
-        let up_ema = self.up_ema_indicator.next(up);
-        let down_ema = self.down_ema_indicator.next(down);
-        100.0 * up_ema / (up_ema + down_ema)
-    }
-}
-
-impl<'a, T: Close> Next<&'a T> for RelativeStrengthIndex {
-    type Output = f64;
-
-    fn next(&mut self, input: &'a T) -> Self::Output {
-        self.next(input.close())
-    }
-}
-
-impl Reset for RelativeStrengthIndex {
-    fn reset(&mut self) {
-        self.is_new = true;
-        self.prev_val = 0.0;
-        self.up_ema_indicator.reset();
-        self.down_ema_indicator.reset();
-    }
-}
-
-impl Default for RelativeStrengthIndex {
-    fn default() -> Self {
-        Self::new(14).unwrap()
-    }
-}
-
-impl fmt::Display for RelativeStrengthIndex {
-    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
-        write!(f, "RSI({})", self.n)
-    }
-}
-
-#[cfg(test)]
-mod tests {
-    use super::*;
-    // use crate::test_helper::*;
-
-    // test_indicator!(RelativeStrengthIndex);
-
-    #[test]
-    fn test_new() {
-        assert!(RelativeStrengthIndex::new(0).is_err());
-        assert!(RelativeStrengthIndex::new(1).is_ok());
-    }
-
-    #[test]
-    fn test_next() {
-        let mut rsi = RelativeStrengthIndex::new(3).unwrap();
-        assert_eq!(rsi.next(10.0), 50.0);
-        assert_eq!(rsi.next(10.5).round(), 86.0);
-        assert_eq!(rsi.next(10.0).round(), 35.0);
-        assert_eq!(rsi.next(9.5).round(), 16.0);
-    }
-
-    #[test]
-    fn test_reset() {
-        let mut rsi = RelativeStrengthIndex::new(3).unwrap();
-        assert_eq!(rsi.next(10.0), 50.0);
-        assert_eq!(rsi.next(10.5).round(), 86.0);
-
-        rsi.reset();
-        assert_eq!(rsi.next(10.0).round(), 50.0);
-        assert_eq!(rsi.next(10.5).round(), 86.0);
-    }
-
-    #[test]
-    fn test_default() {
-        RelativeStrengthIndex::default();
-    }
-
-    #[test]
-    fn test_display() {
-        let rsi = RelativeStrengthIndex::new(16).unwrap();
-        assert_eq!(format!("{}", rsi), "RSI(16)");
-    }
-}
diff --git a/src/indicators/sd.rs b/src/indicators/sd.rs
deleted file mode 100644
index 640cde7..0000000
--- a/src/indicators/sd.rs
+++ /dev/null
@@ -1,221 +0,0 @@
-#![allow(dead_code)]
-
-use std::fmt;
-
-use crate::errors::*;
-use crate::{Close, Next, Reset};
-
-use crate::indicators::SimpleMovingAverage;
-use crate::Factory;
-
-pub struct SdFactory {}
-
-impl SdFactory {
-    pub fn new() -> Self {
-        Self {}
-    }
-}
-
-impl Factory for SdFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
-
-/// Standard deviation (SD).
-///
-/// Returns the standard deviation of the last n values.
-///
-/// # Formula
-///
-/// ![SD formula](https://wikimedia.org/api/rest_v1/media/math/render/svg/2845de27edc898d2a2a4320eda5f57e0dac6f650)
-///
-/// Where:
-///
-/// * _σ_ - value of standard deviation for N given probes.
-/// * _N_ - number of probes in observation.
-/// * _x<sub>i</sub>_ - i-th observed value from N elements observation.
-///
-/// # Parameters
-///
-/// * _n_ - number of periods (integer greater than 0)
-
-//
-// # Example
-//
-// ```
-// use core::indicators::StandardDeviation;
-// use core::Next;
-//
-// let mut sd = StandardDeviation::new(3).unwrap();
-// assert_eq!(sd.next(10.0), 0.0);
-// assert_eq!(sd.next(20.0), 5.0);
-// ```
-//
-// # Links
-//
-// * [Standard Deviation, Wikipedia](https://en.wikipedia.org/wiki/Standard_deviation)
-//
-
-#[derive(Debug, Clone)]
-pub struct StandardDeviation {
-    n: u32,
-    index: usize,
-    count: u32,
-    m: f64,
-    m2: f64,
-    vec: Vec<f64>,
-}
-
-impl StandardDeviation {
-    pub fn new(n: u32) -> Result<Self> {
-        match n {
-            0 => Err(Error::from_kind(ErrorKind::InvalidParameter)),
-            _ => {
-                let std = StandardDeviation {
-                    n,
-                    index: 0,
-                    count: 0,
-                    m: 0.0,
-                    m2: 0.0,
-                    vec: vec![0.0; n as usize],
-                };
-                Ok(std)
-            }
-        }
-    }
-
-    pub(super) fn mean(&self) -> f64 {
-        self.m
-    }
-}
-
-impl Next<f64> for StandardDeviation {
-    type Output = f64;
-
-    fn next(&mut self, input: f64) -> Self::Output {
-        self.index = (self.index + 1) % (self.n as usize);
-
-        let old_val = self.vec[self.index];
-        self.vec[self.index] = input;
-
-        if self.count < self.n {
-            self.count += 1;
-            let delta = input - self.m;
-            self.m += delta / self.count as f64;
-            let delta2 = input - self.m;
-            self.m2 += delta * delta2;
-        } else {
-            let delta = input - old_val;
-            let old_m = self.m;
-            self.m += delta / self.n as f64;
-            let delta2 = input - self.m + old_val - old_m;
-            self.m2 += delta * delta2;
-        }
-
-        (self.m2 / self.count as f64).sqrt()
-    }
-}
-
-impl<'a, T: Close> Next<&'a T> for StandardDeviation {
-    type Output = f64;
-
-    fn next(&mut self, input: &'a T) -> Self::Output {
-        self.next(input.close())
-    }
-}
-
-impl Reset for StandardDeviation {
-    fn reset(&mut self) {
-        self.index = 0;
-        self.count = 0;
-        self.m = 0.0;
-        self.m2 = 0.0;
-        for i in 0..(self.n as usize) {
-            self.vec[i] = 0.0;
-        }
-    }
-}
-
-impl Default for StandardDeviation {
-    fn default() -> Self {
-        Self::new(9).unwrap()
-    }
-}
-
-impl fmt::Display for StandardDeviation {
-    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
-        write!(f, "SD({})", self.n)
-    }
-}
-
-#[cfg(test)]
-mod tests {
-    use super::*;
-    use crate::test_helper::*;
-
-    // test_indicator!(StandardDeviation);
-
-    #[test]
-    fn test_new() {
-        assert!(StandardDeviation::new(0).is_err());
-        assert!(StandardDeviation::new(1).is_ok());
-    }
-
-    #[test]
-    fn test_next() {
-        let mut sd = StandardDeviation::new(4).unwrap();
-        assert_eq!(sd.next(10.0), 0.0);
-        assert_eq!(sd.next(20.0), 5.0);
-        assert_eq!(round(sd.next(30.0)), 8.165);
-        assert_eq!(round(sd.next(20.0)), 7.071);
-        assert_eq!(round(sd.next(10.0)), 7.071);
-        assert_eq!(round(sd.next(100.0)), 35.355);
-    }
-
-    #[test]
-    fn test_next_with_bars() {
-        fn bar(close: f64) -> Bar {
-            Bar::new().close(close)
-        }
-
-        let mut sd = StandardDeviation::new(4).unwrap();
-        assert_eq!(sd.next(&bar(10.0)), 0.0);
-        assert_eq!(sd.next(&bar(20.0)), 5.0);
-        assert_eq!(round(sd.next(&bar(30.0))), 8.165);
-        assert_eq!(round(sd.next(&bar(20.0))), 7.071);
-        assert_eq!(round(sd.next(&bar(10.0))), 7.071);
-        assert_eq!(round(sd.next(&bar(100.0))), 35.355);
-    }
-
-    #[test]
-    fn test_next_same_values() {
-        let mut sd = StandardDeviation::new(3).unwrap();
-        assert_eq!(sd.next(4.2), 0.0);
-        assert_eq!(sd.next(4.2), 0.0);
-        assert_eq!(sd.next(4.2), 0.0);
-        assert_eq!(sd.next(4.2), 0.0);
-    }
-
-    #[test]
-    fn test_reset() {
-        let mut sd = StandardDeviation::new(4).unwrap();
-        assert_eq!(sd.next(10.0), 0.0);
-        assert_eq!(sd.next(20.0), 5.0);
-        assert_eq!(round(sd.next(30.0)), 8.165);
-
-        sd.reset();
-        assert_eq!(sd.next(20.0), 0.0);
-    }
-
-    #[test]
-    fn test_default() {
-        StandardDeviation::default();
-    }
-
-    #[test]
-    fn test_display() {
-        let sd = StandardDeviation::new(5).unwrap();
-        assert_eq!(format!("{}", sd), "SD(5)");
-    }
-}
diff --git a/src/indicators/sin.rs b/src/indicators/sin.rs
deleted file mode 100644
index 197cd2c..0000000
--- a/src/indicators/sin.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct SinFactory {
-}
-
-impl SinFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for SinFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/sinh.rs b/src/indicators/sinh.rs
deleted file mode 100644
index 4839f4c..0000000
--- a/src/indicators/sinh.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct SinhFactory {
-}
-
-impl SinhFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for SinhFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/sma.rs b/src/indicators/sma.rs
deleted file mode 100644
index 7fb859e..0000000
--- a/src/indicators/sma.rs
+++ /dev/null
@@ -1,368 +0,0 @@
-#![allow(dead_code)]
-#![allow(unused_imports)]
-
-use std::fmt;
-
-use crate::errors::*;
-
-use std::cell::RefCell;
-use std::collections::HashMap;
-use std::rc::Rc;
-
-use crate::errors::{Error, ErrorKind};
-use crate::{Close, Next, Reset};
-use crate::{Frame, Slot, SlotPtr, SlotType};
-
-use crate::Factory;
-
-pub struct SmaFactory {}
-
-impl SmaFactory {
-    pub fn new() -> Self {
-        Self {}
-    }
-}
-
-impl Factory for SmaFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
-
-/// Simple moving average (SMA).
-///
-/// # Formula
-///
-/// ![SMA](https://wikimedia.org/api/rest_v1/media/math/render/svg/e2bf09dc6deaf86b3607040585fac6078f9c7c89)
-///
-/// Where:
-///
-/// * _SMA<sub>t</sub>_ - value of simple moving average at a point of time _t_
-/// * _n_ - number of periods (length)
-/// * _p<sub>t</sub>_ - input value at a point of time _t_
-///
-/// # Parameters
-///
-/// * _n_ - number of periods (integer greater than 0)
-///
-/// # Example
-///
-/// ```
-/// // use core::indicators::SimpleMovingAverage;
-/// // use core::Next;
-///
-/// // let mut sma = SimpleMovingAverage::new(3).unwrap();
-/// // assert_eq!(sma.next(10.0), 10.0);
-/// // assert_eq!(sma.next(11.0), 10.5);
-/// // assert_eq!(sma.next(12.0), 11.0);
-/// // assert_eq!(sma.next(13.0), 12.0);
-/// ```
-///
-/// # Links
-///
-/// * [Simple Moving Average, Wikipedia](https://en.wikipedia.org/wiki/Moving_average#Simple_moving_average)
-///
-
-#[derive(Debug, Clone)]
-pub struct SimpleMovingAverage<'a> {
-    period: u32,
-    index: usize,
-    count: u32,
-    sum: f64,
-    vec: Vec<f64>,
-    pub inputs: HashMap<&'a str, Rc<RefCell<Slot>>>,
-    pub outputs: HashMap<&'a str, Rc<RefCell<Slot>>>,
-}
-
-impl<'a> SimpleMovingAverage<'a> {
-    pub fn new(period: u32) -> Result<Self> {
-        match period {
-            // 0 => Err(Error::from_kind(ErrorKind::InvalidParameter)),
-            _ => {
-                let indicator = Self {
-                    period,
-                    index: 0,
-                    count: 0,
-                    sum: 0.0,
-                    vec: vec![0.0; period as usize],
-                    inputs: [("input", Rc::new(RefCell::new(Slot::new(SlotType::Input))))]
-                        .iter()
-                        .cloned()
-                        .collect(),
-                    outputs: [("output", Rc::new(RefCell::new(Slot::new(SlotType::Output))))]
-                        .iter()
-                        .cloned()
-                        .collect(),
-                };
-
-                Ok(indicator)
-            }
-        }
-    }
-
-    // fn slot(&mut self, name: &str) -> Option<&mut Rc<RefCell<Slot>>> {
-    //     self.inputs.get_mut(name)
-    // }
-
-    fn slot(&mut self, name: &str) -> Option<&Rc<RefCell<Slot>>> {
-        self.inputs.get(name)
-    }
-
-    fn process(&mut self) {
-        match self.inputs.get("input") {
-            None => println!("INPUTS OOPS {:?}", self),
-            Some(slot) => {
-                // println!("HERE {:?}", slot.borrow_mut());
-
-                let input = slot.borrow_mut().get();
-
-                self.index = (self.index + 1) % (self.period as usize);
-                let old_val = self.vec[self.index];
-
-                self.vec[self.index] = input;
-
-                // fill counter upto period
-                if self.count < self.period {
-                    self.count += 1;
-                }
-
-                // sliding window
-                self.sum = self.sum - old_val + input;
-                let output = self.sum / (self.count as f64);
-                match self.outputs.get("output") {
-                    None => println!("OUTPUT OOPS {:?}", self),
-                    Some(slot) => {
-                        slot.borrow_mut().put(output);
-                    }
-                }
-            }
-        }
-    }
-}
-
-impl<'a> Next<f64> for SimpleMovingAverage<'a> {
-    type Output = Box<[f64]>;
-
-    fn next(&mut self, input: f64) -> Self::Output {
-        self.index = (self.index + 1) % (self.period as usize);
-
-        let old_val = self.vec[self.index];
-        self.vec[self.index] = input;
-
-        // fill counter upto period
-        if self.count < self.period {
-            self.count += 1;
-        }
-
-        // sliding window
-        self.sum = self.sum - old_val + input;
-        Box::new([self.sum / (self.count as f64)])
-    }
-}
-
-// impl<'a, T: Close> Next<&'a T> for SimpleMovingAverage {
-//     type Output = f64;
-
-//     fn next(&mut self, input: &'a T) -> Self::Output {
-//         self.next(input.close())
-//     }
-// }
-
-impl<'a> Reset for SimpleMovingAverage<'a> {
-    fn reset(&mut self) {
-        self.index = 0;
-        self.count = 0;
-        self.sum = 0.0;
-        for idx in 0..(self.period as usize) {
-            self.vec[idx] = 0.0;
-        }
-    }
-}
-
-impl<'a> Default for SimpleMovingAverage<'a> {
-    fn default() -> Self {
-        Self::new(9).unwrap()
-    }
-}
-
-impl<'a> fmt::Display for SimpleMovingAverage<'a> {
-    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
-        write!(f, "SMA({})", self.period)
-    }
-}
-
-// fn run_test<T>(test: T) -> ()
-//     where T: FnOnce() -> () + panic::UnwindSafe
-// {
-//     setup();
-
-//     let result = panic::catch_unwind(|| {
-//         test()
-//     });
-
-//     teardown();
-
-//     assert!(result.is_ok())
-// }
-
-// #[test]
-// fn test() {
-//     run_test(|| {
-//         let ret_value = function_under_test();
-//         assert!(ret_value);
-//     })
-// }
-
-// #[test]
-// fn test_something_interesting() {
-//     run_test(|| {
-//         let true_or_false = do_the_test();
-
-//         assert!(true_or_false);
-//     })
-// }
-// fn run_test<T>(test: T) -> ()
-//     where T: FnOnce() -> () + panic::UnwindSafe
-// {
-//     setup();
-
-//     let result = panic::catch_unwind(|| {
-//         test()
-//     });
-
-//     teardown();
-
-//     assert!(result.is_ok())
-// }
-
-#[cfg(test)]
-mod tests {
-    use super::*;
-    use crate::test_helper::*;
-    use crate::{Frame, Slot, SlotPtr, SlotType};
-
-    // test_indicator!(SimpleMovingAverage);
-
-    #[test]
-    fn test_new() {
-        initialize();
-        // assert!(SimpleMovingAverage::new(0).is_err());
-        assert!(SimpleMovingAverage::new(1).is_ok());
-    }
-
-    fn step(sma: &mut SimpleMovingAverage, val: f64) -> f64 {
-        let input = sma.slot("input").unwrap();
-        input.borrow_mut().put(val);
-        sma.process();
-        let output = sma.outputs.get("output").unwrap();
-        output.borrow_mut().get()
-    }
-
-    #[test]
-    fn test_process() {
-        initialize();
-
-        // assert!(SimpleMovingAverage::new(0).is_err());
-        // assert!(SimpleMovingAverage::new(1).is_ok());
-
-        let mut sma = SimpleMovingAverage::new(4).unwrap();
-        // match sma.slot("input") {
-        //     None => println!("WIRE1 NOT CONNECTED FOR input"),
-        //     Some(input) => {
-        //         // let mut input = input.borrow_mut();
-        //         input.borrow_mut().put(1.0);
-        //         sma.process();
-        //         input.borrow_mut().put(1.5);
-        //         sma.process();
-        //         input.borrow_mut().put(1.0);
-        //         sma.process();
-        //     }
-        // }
-        assert_eq!(step(&mut sma, 4.0), 4.0);
-        assert_eq!(step(&mut sma, 5.0), 4.5);
-        assert_eq!(step(&mut sma, 6.0), 5.0);
-        assert_eq!(step(&mut sma, 6.0), 5.25);
-        assert_eq!(step(&mut sma, 6.0), 5.75);
-        assert_eq!(step(&mut sma, 6.0), 6.0);
-        assert_eq!(step(&mut sma, 2.0), 5.0);
-    }
-
-    // let mut inputs: HashMap<&str, SlotPtr> = HashMap::new();
-    // // let mut new_tail = Box::new(Slot::new(SlotType::Input));
-    // // let ptr = &mut *new_tail;
-    // // inputs.insert("input", ptr);
-    // // inputs.insert("input", &mut *new_tail);
-    // inputs.insert("input", &mut *Box::new(Slot::new(SlotType::Input)));
-
-    // println!("INPUTS {:?}", inputs);
-
-    // let slot = *inputs.get("input").unwrap();
-    // unsafe {
-    //     let slot = &mut *slot;
-    //     slot.put(2.0);
-    // }
-
-    // unsafe {
-    //     let slot = &mut *slot;
-    //     println!("SLOT {:?}", slot);
-    // }
-
-    // let a: HashMap<&str, SlotPtr> = [("input", ptr)].iter().cloned().collect();
-
-    // #[test]
-    // fn test_next() {
-    //     initialize();
-
-    //     let mut sma = SimpleMovingAverage::new(4).unwrap();
-    //     assert_eq!(sma.next(4.0), 4.0);
-    //     assert_eq!(sma.next(5.0), 4.5);
-    //     assert_eq!(sma.next(6.0), 5.0);
-    //     assert_eq!(sma.next(6.0), 5.25);
-    //     assert_eq!(sma.next(6.0), 5.75);
-    //     assert_eq!(sma.next(6.0), 6.0);
-    //     assert_eq!(sma.next(2.0), 5.0);
-    // }
-
-    // #[test]
-    // fn test_next_with_bars() {
-    //     initialize();
-
-    //     fn bar(close: f64) -> Bar {
-    //         Bar::new().close(close)
-    //     }
-
-    //     let mut sma = SimpleMovingAverage::new(3).unwrap();
-    //     assert_eq!(sma.next(&bar(4.0)), 4.0);
-    //     assert_eq!(sma.next(&bar(4.0)), 4.0);
-    //     assert_eq!(sma.next(&bar(7.0)), 5.0);
-    //     assert_eq!(sma.next(&bar(1.0)), 4.0);
-    // }
-
-    // #[test]
-    // fn test_reset() {
-    //     initialize();
-
-    //     let mut sma = SimpleMovingAverage::new(4).unwrap();
-    //     assert_eq!(sma.next(4.0), 4.0);
-    //     assert_eq!(sma.next(5.0), 4.5);
-    //     assert_eq!(sma.next(6.0), 5.0);
-
-    //     sma.reset();
-    //     assert_eq!(sma.next(99.0), 99.0);
-    // }
-
-    #[test]
-    fn test_default() {
-        initialize();
-
-        SimpleMovingAverage::default();
-    }
-
-    #[test]
-    fn test_display() {
-        initialize();
-
-        let sma = SimpleMovingAverage::new(5).unwrap();
-        assert_eq!(format!("{}", sma), "SMA(5)");
-    }
-}
diff --git a/src/indicators/sqrt.rs b/src/indicators/sqrt.rs
deleted file mode 100644
index 76a3c58..0000000
--- a/src/indicators/sqrt.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct SqrtFactory {
-}
-
-impl SqrtFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for SqrtFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/ssto.rs b/src/indicators/ssto.rs
deleted file mode 100644
index 574b83f..0000000
--- a/src/indicators/ssto.rs
+++ /dev/null
@@ -1,171 +0,0 @@
-#![allow(dead_code)]
-
-use std::fmt;
-
-use crate::errors::Result;
-use crate::indicators::{ExponentialMovingAverage, FastStochastic};
-use crate::{Close, High, Low, Next, Reset};
-
-use crate::indicators::SimpleMovingAverage;
-use crate::Factory;
-
-pub struct SstoFactory {}
-
-impl SstoFactory {
-    pub fn new() -> Self {
-        Self {}
-    }
-}
-
-impl Factory for SstoFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
-
-/// Slow stochastic oscillator.
-///
-/// Basically it is a fast stochastic oscillator smoothed with exponential moving average.
-///
-/// # Parameters
-///
-/// * _stochastic_n_ - number of periods for fast stochastic (integer greater than 0). Default is 14.
-/// *_ema_n_ - length for EMA (integer greater than 0). Default is 3.
-
-//
-// # Example
-//
-// ```
-// use core::indicators::SlowStochastic;
-// use core::Next;
-//
-// let mut stoch = SlowStochastic::new(3, 2).unwrap();
-// assert_eq!(stoch.next(10.0), 50.0);
-// assert_eq!(stoch.next(50.0).round(), 83.0);
-// assert_eq!(stoch.next(50.0).round(), 94.0);
-// assert_eq!(stoch.next(30.0).round(), 31.0);
-// assert_eq!(stoch.next(55.0).round(), 77.0);
-// ```
-
-#[derive(Clone, Debug)]
-pub struct SlowStochastic {
-    fast_stochastic: FastStochastic,
-    ema: ExponentialMovingAverage,
-}
-
-impl SlowStochastic {
-    pub fn new(stochastic_n: u32, ema_n: u32) -> Result<Self> {
-        let indicator = Self {
-            fast_stochastic: FastStochastic::new(stochastic_n)?,
-            ema: ExponentialMovingAverage::new(ema_n)?,
-        };
-        Ok(indicator)
-    }
-}
-
-impl Next<f64> for SlowStochastic {
-    type Output = f64;
-
-    fn next(&mut self, input: f64) -> Self::Output {
-        self.ema.next(self.fast_stochastic.next(input))
-    }
-}
-
-impl<'a, T: High + Low + Close> Next<&'a T> for SlowStochastic {
-    type Output = f64;
-
-    fn next(&mut self, input: &'a T) -> Self::Output {
-        self.ema.next(self.fast_stochastic.next(input))
-    }
-}
-
-impl Reset for SlowStochastic {
-    fn reset(&mut self) {
-        self.fast_stochastic.reset();
-        self.ema.reset();
-    }
-}
-
-impl Default for SlowStochastic {
-    fn default() -> Self {
-        Self::new(14, 3).unwrap()
-    }
-}
-
-impl fmt::Display for SlowStochastic {
-    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
-        write!(
-            f,
-            "SLOW_STOCH({}, {})",
-            self.fast_stochastic.length(),
-            self.ema.length()
-        )
-    }
-}
-
-#[cfg(test)]
-mod tests {
-    use super::*;
-    use crate::test_helper::*;
-
-    // test_indicator!(SlowStochastic);
-
-    #[test]
-    fn test_new() {
-        assert!(SlowStochastic::new(0, 1).is_err());
-        assert!(SlowStochastic::new(1, 0).is_err());
-        assert!(SlowStochastic::new(1, 1).is_ok());
-    }
-
-    #[test]
-    fn test_next_with_f64() {
-        let mut stoch = SlowStochastic::new(3, 2).unwrap();
-        assert_eq!(stoch.next(10.0), 50.0);
-        assert_eq!(stoch.next(50.0).round(), 83.0);
-        assert_eq!(stoch.next(50.0).round(), 94.0);
-        assert_eq!(stoch.next(30.0).round(), 31.0);
-        assert_eq!(stoch.next(55.0).round(), 77.0);
-    }
-
-    #[test]
-    fn test_next_with_bars() {
-        let test_data = vec![
-            // high, low , close, expected
-            (30.0, 10.0, 25.0, 75.0),
-            (20.0, 20.0, 20.0, 58.0),
-            (40.0, 20.0, 16.0, 33.0),
-            (35.0, 15.0, 19.0, 22.0),
-            (30.0, 20.0, 25.0, 34.0),
-            (35.0, 25.0, 30.0, 61.0),
-        ];
-
-        let mut stoch = SlowStochastic::new(3, 2).unwrap();
-
-        for (high, low, close, expected) in test_data {
-            let input_bar = Bar::new().high(high).low(low).close(close);
-            assert_eq!(stoch.next(&input_bar).round(), expected);
-        }
-    }
-
-    #[test]
-    fn test_reset() {
-        let mut stoch = SlowStochastic::new(3, 2).unwrap();
-        assert_eq!(stoch.next(10.0), 50.0);
-        assert_eq!(stoch.next(50.0).round(), 83.0);
-        assert_eq!(stoch.next(50.0).round(), 94.0);
-
-        stoch.reset();
-        assert_eq!(stoch.next(10.0), 50.0);
-    }
-
-    #[test]
-    fn test_default() {
-        SlowStochastic::default();
-    }
-
-    #[test]
-    fn test_display() {
-        let indicator = SlowStochastic::new(10, 2).unwrap();
-        assert_eq!(format!("{}", indicator), "SLOW_STOCH(10, 2)");
-    }
-}
diff --git a/src/indicators/stddev.rs b/src/indicators/stddev.rs
deleted file mode 100644
index ca9e0e1..0000000
--- a/src/indicators/stddev.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct StdDevFactory {
-}
-
-impl StdDevFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for StdDevFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/stderr.rs b/src/indicators/stderr.rs
deleted file mode 100644
index 63e1bf9..0000000
--- a/src/indicators/stderr.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct StdErrFactory {
-}
-
-impl StdErrFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for StdErrFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/stoch.rs b/src/indicators/stoch.rs
deleted file mode 100644
index 2801cb3..0000000
--- a/src/indicators/stoch.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct StochFactory {
-}
-
-impl StochFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for StochFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/stochrsi.rs b/src/indicators/stochrsi.rs
deleted file mode 100644
index 9f0ad77..0000000
--- a/src/indicators/stochrsi.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct StochRsiFactory {
-}
-
-impl StochRsiFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for StochRsiFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/sub.rs b/src/indicators/sub.rs
deleted file mode 100644
index 4f2430b..0000000
--- a/src/indicators/sub.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct SubFactory {
-}
-
-impl SubFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for SubFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/sum.rs b/src/indicators/sum.rs
deleted file mode 100644
index 6133456..0000000
--- a/src/indicators/sum.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct SumFactory {
-}
-
-impl SumFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for SumFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/tan.rs b/src/indicators/tan.rs
deleted file mode 100644
index 9d88953..0000000
--- a/src/indicators/tan.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct TanFactory {
-}
-
-impl TanFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for TanFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/tanh.rs b/src/indicators/tanh.rs
deleted file mode 100644
index a541f9d..0000000
--- a/src/indicators/tanh.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct TanhFactory {
-}
-
-impl TanhFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for TanhFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/tema.rs b/src/indicators/tema.rs
deleted file mode 100644
index 9f378fe..0000000
--- a/src/indicators/tema.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct TemaFactory {
-}
-
-impl TemaFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for TemaFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/todeg.rs b/src/indicators/todeg.rs
deleted file mode 100644
index 2f20acc..0000000
--- a/src/indicators/todeg.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct ToDegFactory {
-}
-
-impl ToDegFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for ToDegFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/torad.rs b/src/indicators/torad.rs
deleted file mode 100644
index 5090dd2..0000000
--- a/src/indicators/torad.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct ToRadFactory {
-}
-
-impl ToRadFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for ToRadFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/tr.rs b/src/indicators/tr.rs
deleted file mode 100644
index 089debe..0000000
--- a/src/indicators/tr.rs
+++ /dev/null
@@ -1,184 +0,0 @@
-#![allow(dead_code)]
-
-use std::fmt;
-
-use crate::helpers::max3;
-use crate::{Close, High, Low, Next, Reset};
-
-use crate::indicators::SimpleMovingAverage;
-use crate::Factory;
-
-pub struct TrFactory {}
-
-impl TrFactory {
-    pub fn new() -> Self {
-        Self {}
-    }
-}
-
-impl Factory for TrFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
-
-/// The range of a day's trading is simply _high_ - _low_.
-/// The true range extends it to yesterday's closing price if it was outside of today's range.
-///
-/// The true range is the largest of one the following:
-///
-/// * Most recent period's high minus the most recent period's low
-/// * Absolute value of the most recent period's high minus the previous close
-/// * Absolute value of the most recent period's low minus the previous close
-///
-/// # Formula
-///
-/// TR = max[(high - low), abs(high - close<sub>prev</sub>), abs(low - close<sub>prev</sub>)]
-///
-
-// # Example
-//
-// ```
-// extern crate core;
-// #[macro_use] extern crate assert_approx_eq;
-//
-// use core::{Next, DataItem};
-// use core::indicators::TrueRange;
-//
-// fn main() {
-//     let data = vec![
-//         // open, high, low, close, tr
-//         (9.7   , 10.0, 9.0, 9.5  , 1.0),  // tr = high - low = 10.0 - 9.0 = 1.0
-//         (9.9   , 10.4, 9.8, 10.2 , 0.9),  // tr = high - prev_close = 10.4 - 9.5 = 0.9
-//         (10.1  , 10.7, 9.4, 9.7  , 1.3),  // tr = high - low = 10.7 - 9.4 = 1.3
-//         (9.1   , 9.2 , 8.1, 8.4  , 1.6),  // tr = prev_close - low = 9.7 - 8.1 = 1.6
-//     ];
-//     let mut indicator = TrueRange::new();
-//
-//     for (open, high, low, close, tr) in data {
-//         let di = DataItem::builder()
-//             .high(high)
-//             .low(low)
-//             .close(close)
-//             .open(open)
-//             .volume(1000.0)
-//             .build().unwrap();
-//         assert_approx_eq!(indicator.next(&di), tr);
-//     }
-// }
-// ```
-
-#[derive(Debug, Clone)]
-pub struct TrueRange {
-    prev_close: Option<f64>,
-}
-
-impl TrueRange {
-    pub fn new() -> Self {
-        Self { prev_close: None }
-    }
-}
-
-impl Default for TrueRange {
-    fn default() -> Self {
-        Self::new()
-    }
-}
-
-impl fmt::Display for TrueRange {
-    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
-        write!(f, "TRUE_RANGE()")
-    }
-}
-
-impl Next<f64> for TrueRange {
-    type Output = f64;
-
-    fn next(&mut self, input: f64) -> Self::Output {
-        let distance = match self.prev_close {
-            Some(prev) => (input - prev).abs(),
-            None => 0.0,
-        };
-        self.prev_close = Some(input);
-        distance
-    }
-}
-
-impl<'a, T: High + Low + Close> Next<&'a T> for TrueRange {
-    type Output = f64;
-
-    fn next(&mut self, bar: &'a T) -> Self::Output {
-        let max_dist = match self.prev_close {
-            Some(prev_close) => {
-                let dist1 = bar.high() - bar.low();
-                let dist2 = (bar.high() - prev_close).abs();
-                let dist3 = (bar.low() - prev_close).abs();
-                max3(dist1, dist2, dist3)
-            }
-            None => bar.high() - bar.low(),
-        };
-        self.prev_close = Some(bar.close());
-        max_dist
-    }
-}
-
-impl Reset for TrueRange {
-    fn reset(&mut self) {
-        self.prev_close = None;
-    }
-}
-
-#[cfg(test)]
-mod tests {
-    use super::*;
-    use crate::test_helper::*;
-
-    // test_indicator!(TrueRange);
-
-    #[test]
-    fn test_next_f64() {
-        let mut tr = TrueRange::new();
-        assert_eq!(round(tr.next(2.5)), 0.0);
-        assert_eq!(round(tr.next(3.6)), 1.1);
-        assert_eq!(round(tr.next(3.3)), 0.3);
-    }
-
-    #[test]
-    fn test_next_bar() {
-        let mut tr = TrueRange::new();
-
-        let bar1 = Bar::new().high(10).low(7.5).close(9);
-        let bar2 = Bar::new().high(11).low(9).close(9.5);
-        let bar3 = Bar::new().high(9).low(5).close(8);
-
-        assert_eq!(tr.next(&bar1), 2.5);
-        assert_eq!(tr.next(&bar2), 2.0);
-        assert_eq!(tr.next(&bar3), 4.5);
-    }
-
-    #[test]
-    fn test_reset() {
-        let mut tr = TrueRange::new();
-
-        let bar1 = Bar::new().high(10).low(7.5).close(9);
-        let bar2 = Bar::new().high(11).low(9).close(9.5);
-
-        tr.next(&bar1);
-        tr.next(&bar2);
-
-        tr.reset();
-        let bar3 = Bar::new().high(60).low(15).close(51);
-        assert_eq!(tr.next(&bar3), 45.0);
-    }
-
-    #[test]
-    fn test_default() {
-        TrueRange::default();
-    }
-
-    #[test]
-    fn test_display() {
-        let indicator = TrueRange::new();
-        assert_eq!(format!("{}", indicator), "TRUE_RANGE()");
-    }
-}
diff --git a/src/indicators/trend.rs b/src/indicators/trend.rs
deleted file mode 100644
index f4b9132..0000000
--- a/src/indicators/trend.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct TrendFactory {
-}
-
-impl TrendFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for TrendFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/trima.rs b/src/indicators/trima.rs
deleted file mode 100644
index 9129cce..0000000
--- a/src/indicators/trima.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct TrimaFactory {
-}
-
-impl TrimaFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for TrimaFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/truerange.rs b/src/indicators/truerange.rs
deleted file mode 100644
index 1929be6..0000000
--- a/src/indicators/truerange.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct TrueRangeFactory {
-}
-
-impl TrueRangeFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for TrueRangeFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/trunc.rs b/src/indicators/trunc.rs
deleted file mode 100644
index c66e515..0000000
--- a/src/indicators/trunc.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct TruncFactory {
-}
-
-impl TruncFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for TruncFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/tsf.rs b/src/indicators/tsf.rs
deleted file mode 100644
index 1a1978b..0000000
--- a/src/indicators/tsf.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct TsfFactory {
-}
-
-impl TsfFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for TsfFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/typprice.rs b/src/indicators/typprice.rs
deleted file mode 100644
index 3c645dd..0000000
--- a/src/indicators/typprice.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct TypPriceFactory {
-}
-
-impl TypPriceFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for TypPriceFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/ultosc.rs b/src/indicators/ultosc.rs
deleted file mode 100644
index 46549d3..0000000
--- a/src/indicators/ultosc.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct UltOscFactory {
-}
-
-impl UltOscFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for UltOscFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/var.rs b/src/indicators/var.rs
deleted file mode 100644
index 259797c..0000000
--- a/src/indicators/var.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct VarFactory {
-}
-
-impl VarFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for VarFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/vhf.rs b/src/indicators/vhf.rs
deleted file mode 100644
index bcdf6dc..0000000
--- a/src/indicators/vhf.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct VhfFactory {
-}
-
-impl VhfFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for VhfFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/vidya.rs b/src/indicators/vidya.rs
deleted file mode 100644
index aaf63a9..0000000
--- a/src/indicators/vidya.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct VidyaFactory {
-}
-
-impl VidyaFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for VidyaFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/volatility.rs b/src/indicators/volatility.rs
deleted file mode 100644
index 8b6be17..0000000
--- a/src/indicators/volatility.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct VolatilityFactory {
-}
-
-impl VolatilityFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for VolatilityFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/vosc.rs b/src/indicators/vosc.rs
deleted file mode 100644
index 103b84b..0000000
--- a/src/indicators/vosc.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct VoscFactory {
-}
-
-impl VoscFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for VoscFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/vwma.rs b/src/indicators/vwma.rs
deleted file mode 100644
index 69acc27..0000000
--- a/src/indicators/vwma.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct VwmaFactory {
-}
-
-impl VwmaFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for VwmaFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/wad.rs b/src/indicators/wad.rs
deleted file mode 100644
index 800be6b..0000000
--- a/src/indicators/wad.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct WadFactory {
-}
-
-impl WadFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for WadFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/wcprice.rs b/src/indicators/wcprice.rs
deleted file mode 100644
index 972ff3d..0000000
--- a/src/indicators/wcprice.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct WcPriceFactory {
-}
-
-impl WcPriceFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for WcPriceFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/wilders.rs b/src/indicators/wilders.rs
deleted file mode 100644
index da5a301..0000000
--- a/src/indicators/wilders.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct WildersFactory {
-}
-
-impl WildersFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for WildersFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/willr.rs b/src/indicators/willr.rs
deleted file mode 100644
index f61f31a..0000000
--- a/src/indicators/willr.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct WillrFactory {
-}
-
-impl WillrFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for WillrFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/indicators/wma.rs b/src/indicators/wma.rs
deleted file mode 100644
index 8319424..0000000
--- a/src/indicators/wma.rs
+++ /dev/null
@@ -1,240 +0,0 @@
-#![allow(dead_code)]
-#![allow(unused_imports)]
-
-use std::fmt;
-
-use rust_decimal::prelude::*;
-use rust_decimal_macros::*;
-use std::collections::VecDeque;
-
-use crate::errors::{Error, ErrorKind};
-use crate::{Close, Next, Reset};
-
-use crate::indicators::SimpleMovingAverage;
-use crate::Factory;
-
-pub struct WmaFactory {}
-
-impl WmaFactory {
-    pub fn new() -> Self {
-        Self {}
-    }
-}
-
-impl Factory for WmaFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
-
-/// Weighted moving average (SMA).
-///
-/// # Formula
-///
-/// ![WMA](https://wikimedia.org/api/rest_v1/media/math/render/svg/e2bf09dc6deaf86b3607040585fac6078f9c7c89)
-///
-/// Where:
-///
-/// * _WMA<sub>t</sub>_ - value of simple moving average at a point of time _t_
-/// * _period_ - number of periods (length)
-/// * _p<sub>t</sub>_ - input value at a point of time _t_
-///
-/// # Parameters
-///
-/// * _period_ - number of periods (integer greater than 0)
-///
-
-// # Example
-//
-// ```
-// use core::indicators::WeightedMovingAverage;
-// use core::Next;
-//
-// let mut wma = WeightedMovingAverage::new(3).unwrap();
-// assert_eq!(wma.next(10.0), f64::INFINITY);
-// ```
-//
-
-/// # Links
-///
-/// * [Weighted Moving Average, Wikipedia](https://en.wikipedia.org/wiki/Moving_average#Simple_moving_average)
-///
-
-#[derive(Debug, Clone)]
-pub struct WeightedMovingAverage {
-    period: u32,
-    index: usize,
-    count: u32,
-    sum: Decimal,        /* Flat sum of previous numbers. */
-    weight_sum: Decimal, /* Weighted sum of previous numbers. */
-    vec: VecDeque<f64>,
-}
-
-impl WeightedMovingAverage {
-    // pub fn new(period: u32) -> Result<WeightedMovingAverage, Error> {
-    pub fn new(period: u32) -> Result<WeightedMovingAverage, Error> {
-        match period {
-            // 0 => Err(Error::from_kind(ErrorKind::InvalidParameter)),
-            _ => {
-                let indicator = WeightedMovingAverage {
-                    period,
-                    index: 0,
-                    count: 0,
-                    sum: Decimal::zero(),
-                    weight_sum: Decimal::zero(),
-                    vec: VecDeque::with_capacity(period as usize),
-                };
-                Ok(indicator)
-            }
-        }
-    }
-}
-
-impl Next<f64> for WeightedMovingAverage {
-    type Output = f64;
-
-    fn next(&mut self, input: f64) -> Self::Output {
-        // self.index = (self.index + 1) % (self.period as usize);
-
-        // let old_val = self.vec[self.index];
-        // self.vec[self.index] = input;
-
-        // fill windoe upto period
-        if self.count < self.period - 1 {
-            self.count += 1;
-            self.vec.push_back(input);
-            self.weight_sum +=
-                Decimal::from_f64(input).unwrap() * Decimal::from_u32(self.count).unwrap();
-            self.sum += Decimal::from_f64(input).unwrap();
-            return f64::INFINITY;
-        }
-
-        let weights: Decimal = Decimal::from_u32(self.period).unwrap()
-            * (Decimal::from_u32(self.period).unwrap() + Decimal::from_u32(1).unwrap())
-            / Decimal::from_u32(2).unwrap();
-
-        // sliding window
-        self.weight_sum +=
-            Decimal::from_f64(input).unwrap() * Decimal::from_u32(self.period).unwrap();
-        self.sum += Decimal::from_f64(input).unwrap();
-
-        let output: Decimal = self.weight_sum / weights;
-
-        self.vec.push_back(input);
-        self.weight_sum -= self.sum;
-        self.sum -= Decimal::from_f64(self.vec.pop_front().unwrap()).unwrap();
-
-        output
-            .round_dp_with_strategy(3, RoundingStrategy::RoundHalfUp)
-            .to_f64()
-            .unwrap()
-    }
-}
-
-impl<'a, T: Close> Next<&'a T> for WeightedMovingAverage {
-    type Output = f64;
-
-    fn next(&mut self, input: &'a T) -> Self::Output {
-        self.next(input.close())
-    }
-}
-
-impl Reset for WeightedMovingAverage {
-    fn reset(&mut self) {
-        self.index = 0;
-        self.count = 0;
-        self.sum = Decimal::from_f64(0.0).unwrap();
-        for idx in 0..(self.period as usize) {
-            self.vec[idx] = 0.0;
-        }
-    }
-}
-
-impl Default for WeightedMovingAverage {
-    fn default() -> Self {
-        Self::new(9).unwrap()
-    }
-}
-
-impl fmt::Display for WeightedMovingAverage {
-    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
-        write!(f, "WMA({})", self.period)
-    }
-}
-
-#[cfg(test)]
-mod tests {
-    use super::*;
-    use crate::test_helper::*;
-
-    // test_indicator!(WeightedMovingAverage);
-
-    #[test]
-    fn test_new() {
-        initialize();
-        // assert!(WeightedMovingAverage::new(0).is_err());
-        assert!(WeightedMovingAverage::new(1).is_ok());
-    }
-
-    #[test]
-    fn test_next() {
-        initialize();
-        let _params = &TESTS["wma"];
-        println!();
-        for _test in _params.tests.iter() {
-            let _period = _test.options[0];
-            let _input = &_test.inputs[0];
-            let _output = &_test.outputs[0];
-
-            println!("WMA WITH PERIOD {}", _period);
-            let mut indicator = WeightedMovingAverage::new(_period as u32).unwrap();
-            for val in _input.iter() {
-                let res = indicator.next(*val);
-                println!("INPUT {} OUTPUT {}", val, res);
-            }
-        }
-        // let mut indicator = WeightedMovingAverage::new(4).unwrap();
-        // assert_eq!(indicator.next(4.0), 4.0);
-        // assert_eq!(indicator.next(5.0), 4.5);
-        // assert_eq!(indicator.next(6.0), 5.0);
-        // assert_eq!(indicator.next(6.0), 5.25);
-        // assert_eq!(indicator.next(6.0), 5.75);
-        // assert_eq!(indicator.next(6.0), 6.0);
-        // assert_eq!(indicator.next(2.0), 5.0);
-    }
-
-    // #[test]
-    // fn test_next_with_bars() {
-    //     fn bar(close: f64) -> Bar {
-    //         Bar::new().close(close)
-    //     }
-
-    //     let mut indicator = WeightedMovingAverage::new(3).unwrap();
-    //     assert_eq!(indicator.next(&bar(4.0)), 4.0);
-    //     assert_eq!(indicator.next(&bar(4.0)), 4.0);
-    //     assert_eq!(indicator.next(&bar(7.0)), 5.0);
-    //     assert_eq!(indicator.next(&bar(1.0)), 4.0);
-    // }
-
-    // #[test]
-    // fn test_reset() {
-    //     let mut indicator = WeightedMovingAverage::new(4).unwrap();
-    //     assert_eq!(indicator.next(4.0), 4.0);
-    //     assert_eq!(indicator.next(5.0), 4.5);
-    //     assert_eq!(indicator.next(6.0), 5.0);
-
-    //     indicator.reset();
-    //     assert_eq!(indicator.next(99.0), 99.0);
-    // }
-
-    #[test]
-    fn test_default() {
-        WeightedMovingAverage::default();
-    }
-
-    #[test]
-    fn test_display() {
-        let indicator = WeightedMovingAverage::new(5).unwrap();
-        assert_eq!(format!("{}", indicator), "WMA(5)");
-    }
-}
diff --git a/src/indicators/zlema.rs b/src/indicators/zlema.rs
deleted file mode 100644
index bad378d..0000000
--- a/src/indicators/zlema.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::{Factory};
-use crate::indicators::SimpleMovingAverage;
-
-pub struct ZlemaFactory {
-}
-
-impl ZlemaFactory {
-    pub fn new() -> Self {
-        Self{}
-    }
-}
-
-impl Factory for ZlemaFactory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>> {
-        Box::new(SimpleMovingAverage::default())
-    }
-}
\ No newline at end of file
diff --git a/src/lib.rs b/src/lib.rs
deleted file mode 100644
index 0c0a0cf..0000000
--- a/src/lib.rs
+++ /dev/null
@@ -1,94 +0,0 @@
-#![allow(
-    clippy::too_many_arguments,
-    clippy::let_and_return,
-    clippy::from_over_into,
-    clippy::upper_case_acronyms,
-    clippy::new_ret_no_self,
-    clippy::wrong_self_convention,
-    clippy::new_without_default,
-    clippy::float_cmp,
-    clippy::assign_op_pattern,
-    clippy::absurd_extreme_comparisons,
-    clippy::collapsible_else_if,
-)]
-
-//! ta is a Rust library for technical analysis. It provides number of technical indicators
-//! that can be used to build trading strategies for stock markets, futures, forex, cryptocurrencies, etc.
-//!
-//! Every indicator is implemented as a data structure with fields, that define parameters and
-//! state.
-//!
-//! Every indicator implements [Next<T>](trait.Next.html) and [Reset](trait.Reset.html) traits,
-//! which are the core concept of the library.
-//!
-//! Since `Next<T>` is a generic trait, most of the indicators can work with both input types: `f64` and more complex
-//! structures like [DataItem](struct.DataItem.html).
-
-//
-// # Example
-// ```
-// use core::indicators::ExponentialMovingAverage;
-// use core::Next;
-//
-// // it can return an error, when an invalid length is passed (e.g. 0)
-// let mut ema = ExponentialMovingAverage::new(3).unwrap();
-//
-// assert_eq!(ema.next(2.0), 2.0);
-// assert_eq!(ema.next(5.0), 3.5);
-// assert_eq!(ema.next(1.0), 2.25);
-// assert_eq!(ema.next(6.25), 4.25);
-// ```
-//
-// # List of indicators
-//
-// * Trend
-//   * [Exponential Moving Average (EMA)](indicators/struct.ExponentialMovingAverage.html)
-//   * [Simple Moving Average (SMA)](indicators/struct.SimpleMovingAverage.html)
-// * Oscillators
-//   * [Relative Strength Index (RSI)](indicators/struct.RelativeStrengthIndex.html)
-//   * [Fast Stochastic](indicators/struct.FastStochastic.html)
-//   * [Slow Stochastic](indicators/struct.SlowStochastic.html)
-//   * [Moving Average Convergence Divergence (MACD)](indicators/struct.MovingAverageConvergenceDivergence.html)
-//   * [Money Flow Index (MFI)](indicators/struct.MoneyFlowIndex.html)
-// * Other
-//   * [Standard Deviation (SD)](indicators/struct.StandardDeviation.html)
-//   * [Bollinger Bands (BB)](indicators/struct.BollingerBands.html)
-//   * [Maximum](indicators/struct.Maximum.html)
-//   * [Minimum](indicators/struct.Minimum.html)
-//   * [True Range](indicators/struct.TrueRange.html)
-//   * [Average True Range (ATR)](indicators/struct.AverageTrueRange.html)
-//   * [Efficiency Ratio (ER)](indicators/struct.EfficiencyRatio.html)
-//   * [Rate of Change (ROC)](indicators/struct.RateOfChange.html)
-//   * [On Balance Volume (OBV)](indicators/struct.OnBalanceVolume.html)
-//
-
-mod utils;
-
-#[macro_use]
-extern crate error_chain;
-
-#[cfg(test)]
-#[macro_use]
-mod test_helper;
-
-mod helpers;
-
-pub mod errors;
-pub mod indicators;
-
-mod traits;
-pub use crate::traits::*;
-
-mod indicator;
-pub use crate::indicator::*;
-
-mod data_item;
-pub use crate::data_item::DataItem;
-
-#[cfg(test)]
-mod tests {
-    #[test]
-    fn it_works() {
-        assert_eq!(2 + 2, 4);
-    }
-}
diff --git a/src/main.rs b/src/main.rs
deleted file mode 100644
index 6aa7541..0000000
--- a/src/main.rs
+++ /dev/null
@@ -1,5 +0,0 @@
-#![allow(dead_code)]
-#![allow(unused_variables)]
-#![allow(unused_imports)]
-
-fn main() {}
diff --git a/src/test_helper.rs b/src/test_helper.rs
deleted file mode 100644
index 554e1aa..0000000
--- a/src/test_helper.rs
+++ /dev/null
@@ -1,165 +0,0 @@
-use lazy_static::lazy_static;
-use std::collections::HashMap;
-use std::fs;
-use std::sync::Once;
-
-use serde::{Deserialize, Serialize};
-// use serde_json::{Map, Value};
-
-use super::{Close, High, Low, Open, Volume};
-
-#[derive(Debug, PartialEq)]
-pub struct Bar {
-    open: f64,
-    high: f64,
-    low: f64,
-    close: f64,
-    volume: f64,
-}
-
-impl Bar {
-    pub fn new() -> Self {
-        Self {
-            open: 0.0,
-            close: 0.0,
-            low: 0.0,
-            high: 0.0,
-            volume: 0.0,
-        }
-    }
-
-    //pub fn open<T: Into<f64>>(mut self, val :T ) -> Self {
-    //    self.open = val.into();
-    //    self
-    //}
-
-    pub fn high<T: Into<f64>>(mut self, val: T) -> Self {
-        self.high = val.into();
-        self
-    }
-
-    pub fn low<T: Into<f64>>(mut self, val: T) -> Self {
-        self.low = val.into();
-        self
-    }
-
-    pub fn close<T: Into<f64>>(mut self, val: T) -> Self {
-        self.close = val.into();
-        self
-    }
-
-    pub fn volume(mut self, val: f64) -> Self {
-        self.volume = val;
-        self
-    }
-}
-
-impl Open for Bar {
-    fn open(&self) -> f64 {
-        self.open
-    }
-}
-
-impl Close for Bar {
-    fn close(&self) -> f64 {
-        self.close
-    }
-}
-
-impl Low for Bar {
-    fn low(&self) -> f64 {
-        self.low
-    }
-}
-
-impl High for Bar {
-    fn high(&self) -> f64 {
-        self.high
-    }
-}
-
-impl Volume for Bar {
-    fn volume(&self) -> f64 {
-        self.volume
-    }
-}
-
-pub fn round(num: f64) -> f64 {
-    (num * 1000.0).round() / 1000.00
-}
-
-// macro_rules! test_indicator {
-//     ($i:tt) => {
-//         #[test]
-//         fn test_indicator() {
-//             initialize();
-
-//             let bar = Bar::new();
-
-//             // ensure Default trait is implemented
-//             let mut indicator = $i::default();
-
-//             // ensure Next<f64> is implemented
-//             let first_output = indicator.next(12.3);
-
-//             // ensure next accepts &DataItem as well
-//             indicator.next(&bar);
-
-//             // ensure Reset is implemented and works correctly
-//             indicator.reset();
-//             assert_eq!(indicator.next(12.3), first_output);
-
-//             // ensure Display is implemented
-//             format!("{}", indicator);
-//         }
-//     };
-// }
-
-// cargo test -- --nocapture
-
-static INIT: Once = Once::new();
-
-#[derive(Debug, Serialize, Deserialize)]
-pub struct Slot {
-    pub input: u32,
-    pub options: u32,
-    pub output: u32,
-}
-
-#[derive(Debug, Serialize, Deserialize)]
-pub struct Test {
-    pub options: Vec<f64>,
-    pub inputs: Vec<Vec<f64>>,
-    pub outputs: Vec<Vec<f64>>,
-}
-
-#[derive(Debug, Serialize, Deserialize)]
-pub struct TestIndicator {
-    pub name: String,
-    pub description: String,
-    #[serde(rename = "type")]
-    pub indicatortype: String,
-    pub slots: Slot,
-    pub options: String,
-    pub tests: Vec<Test>,
-}
-
-lazy_static! {
-    pub static ref TESTS: HashMap<String, TestIndicator> = {
-        // println!(":::::::::::::::::::::::: INIT ::::::::::::::::::::::::");
-        let contents = fs::read_to_string("tests/data.json")
-            .expect("Something went wrong reading the file");
-
-        serde_json::from_str(&contents).unwrap()
-    };
-}
-
-pub fn initialize() {
-    INIT.call_once(|| {
-        // initialization code here
-        if TESTS.len() == 0 {
-            println!("Tests uninitialized")
-            // println!("With text: {}", TESTS["abs"].name);
-        }
-    });
-}
diff --git a/src/theme/book.js b/src/theme/book.js
new file mode 100644
index 0000000..5e38636
--- /dev/null
+++ b/src/theme/book.js
@@ -0,0 +1,660 @@
+"use strict";
+
+// Fix back button cache problem
+window.onunload = function () { };
+
+// Global variable, shared between modules
+function playground_text(playground) {
+    let code_block = playground.querySelector("code");
+
+    if (window.ace && code_block.classList.contains("editable")) {
+        let editor = window.ace.edit(code_block);
+        return editor.getValue();
+    } else {
+        return code_block.textContent;
+    }
+}
+
+(function codeSnippets() {
+    function fetch_with_timeout(url, options, timeout = 6000) {
+        return Promise.race([
+            fetch(url, options),
+            new Promise((_, reject) => setTimeout(() => reject(new Error('timeout')), timeout))
+        ]);
+    }
+
+    var playgrounds = Array.from(document.querySelectorAll(".playground"));
+    if (playgrounds.length > 0) {
+        fetch_with_timeout("https://play.rust-lang.org/meta/crates", {
+            headers: {
+                'Content-Type': "application/json",
+            },
+            method: 'POST',
+            mode: 'cors',
+        })
+        .then(response => response.json())
+        .then(response => {
+            // get list of crates available in the rust playground
+            let playground_crates = response.crates.map(item => item["id"]);
+            playgrounds.forEach(block => handle_crate_list_update(block, playground_crates));
+        });
+    }
+
+    function handle_crate_list_update(playground_block, playground_crates) {
+        // update the play buttons after receiving the response
+        update_play_button(playground_block, playground_crates);
+
+        // and install on change listener to dynamically update ACE editors
+        if (window.ace) {
+            let code_block = playground_block.querySelector("code");
+            if (code_block.classList.contains("editable")) {
+                let editor = window.ace.edit(code_block);
+                editor.addEventListener("change", function (e) {
+                    update_play_button(playground_block, playground_crates);
+                });
+                // add Ctrl-Enter command to execute rust code
+                editor.commands.addCommand({
+                    name: "run",
+                    bindKey: {
+                        win: "Ctrl-Enter",
+                        mac: "Ctrl-Enter"
+                    },
+                    exec: _editor => run_rust_code(playground_block)
+                });
+            }
+        }
+    }
+
+    // updates the visibility of play button based on `no_run` class and
+    // used crates vs ones available on http://play.rust-lang.org
+    function update_play_button(pre_block, playground_crates) {
+        var play_button = pre_block.querySelector(".play-button");
+
+        // skip if code is `no_run`
+        if (pre_block.querySelector('code').classList.contains("no_run")) {
+            play_button.classList.add("hidden");
+            return;
+        }
+
+        // get list of `extern crate`'s from snippet
+        var txt = playground_text(pre_block);
+        var re = /extern\s+crate\s+([a-zA-Z_0-9]+)\s*;/g;
+        var snippet_crates = [];
+        var item;
+        while (item = re.exec(txt)) {
+            snippet_crates.push(item[1]);
+        }
+
+        // check if all used crates are available on play.rust-lang.org
+        var all_available = snippet_crates.every(function (elem) {
+            return playground_crates.indexOf(elem) > -1;
+        });
+
+        if (all_available) {
+            play_button.classList.remove("hidden");
+        } else {
+            play_button.classList.add("hidden");
+        }
+    }
+
+    function run_rust_code(code_block) {
+        var result_block = code_block.querySelector(".result");
+        if (!result_block) {
+            result_block = document.createElement('code');
+            result_block.className = 'result hljs language-bash';
+
+            code_block.append(result_block);
+        }
+
+        let text = playground_text(code_block);
+        let classes = code_block.querySelector('code').classList;
+        let has_2018 = classes.contains("edition2018");
+        let edition = has_2018 ? "2018" : "2015";
+
+        var params = {
+            version: "stable",
+            optimize: "0",
+            code: text,
+            edition: edition
+        };
+
+        if (text.indexOf("#![feature") !== -1) {
+            params.version = "nightly";
+        }
+
+        result_block.innerText = "Running...";
+
+        fetch_with_timeout("https://play.rust-lang.org/evaluate.json", {
+            headers: {
+                'Content-Type': "application/json",
+            },
+            method: 'POST',
+            mode: 'cors',
+            body: JSON.stringify(params)
+        })
+        .then(response => response.json())
+        .then(response => result_block.innerText = response.result)
+        .catch(error => result_block.innerText = "Playground Communication: " + error.message);
+    }
+
+    // Syntax highlighting Configuration
+    hljs.configure({
+        tabReplace: '    ', // 4 spaces
+        languages: [],      // Languages used for auto-detection
+    });
+
+    let code_nodes = Array
+        .from(document.querySelectorAll('code'))
+        // Don't highlight `inline code` blocks in headers.
+        .filter(function (node) {return !node.parentElement.classList.contains("header"); });
+
+    if (window.ace) {
+        // language-rust class needs to be removed for editable
+        // blocks or highlightjs will capture events
+        Array
+            .from(document.querySelectorAll('code.editable'))
+            .forEach(function (block) { block.classList.remove('language-rust'); });
+
+        Array
+            .from(document.querySelectorAll('code:not(.editable)'))
+            .forEach(function (block) { hljs.highlightBlock(block); });
+    } else {
+        code_nodes.forEach(function (block) { hljs.highlightBlock(block); });
+    }
+
+    // Adding the hljs class gives code blocks the color css
+    // even if highlighting doesn't apply
+    code_nodes.forEach(function (block) { block.classList.add('hljs'); });
+
+    Array.from(document.querySelectorAll("code.language-rust")).forEach(function (block) {
+
+        var lines = Array.from(block.querySelectorAll('.boring'));
+        // If no lines were hidden, return
+        if (!lines.length) { return; }
+        block.classList.add("hide-boring");
+
+        var buttons = document.createElement('div');
+        buttons.className = 'buttons';
+        buttons.innerHTML = "<button class=\"fa fa-eye\" title=\"Show hidden lines\" aria-label=\"Show hidden lines\"></button>";
+
+        // add expand button
+        var pre_block = block.parentNode;
+        pre_block.insertBefore(buttons, pre_block.firstChild);
+
+        pre_block.querySelector('.buttons').addEventListener('click', function (e) {
+            if (e.target.classList.contains('fa-eye')) {
+                e.target.classList.remove('fa-eye');
+                e.target.classList.add('fa-eye-slash');
+                e.target.title = 'Hide lines';
+                e.target.setAttribute('aria-label', e.target.title);
+
+                block.classList.remove('hide-boring');
+            } else if (e.target.classList.contains('fa-eye-slash')) {
+                e.target.classList.remove('fa-eye-slash');
+                e.target.classList.add('fa-eye');
+                e.target.title = 'Show hidden lines';
+                e.target.setAttribute('aria-label', e.target.title);
+
+                block.classList.add('hide-boring');
+            }
+        });
+    });
+
+    if (window.playground_copyable) {
+        Array.from(document.querySelectorAll('pre code')).forEach(function (block) {
+            var pre_block = block.parentNode;
+            if (!pre_block.classList.contains('playground')) {
+                var buttons = pre_block.querySelector(".buttons");
+                if (!buttons) {
+                    buttons = document.createElement('div');
+                    buttons.className = 'buttons';
+                    pre_block.insertBefore(buttons, pre_block.firstChild);
+                }
+
+                var clipButton = document.createElement('button');
+                clipButton.className = 'fa fa-copy clip-button';
+                clipButton.title = 'Copy to clipboard';
+                clipButton.setAttribute('aria-label', clipButton.title);
+                clipButton.innerHTML = '<i class=\"tooltiptext\"></i>';
+
+                buttons.insertBefore(clipButton, buttons.firstChild);
+            }
+        });
+    }
+
+    // Process playground code blocks
+    Array.from(document.querySelectorAll(".playground")).forEach(function (pre_block) {
+        // Add play button
+        var buttons = pre_block.querySelector(".buttons");
+        if (!buttons) {
+            buttons = document.createElement('div');
+            buttons.className = 'buttons';
+            pre_block.insertBefore(buttons, pre_block.firstChild);
+        }
+
+        var runCodeButton = document.createElement('button');
+        runCodeButton.className = 'fa fa-play play-button';
+        runCodeButton.hidden = true;
+        runCodeButton.title = 'Run this code';
+        runCodeButton.setAttribute('aria-label', runCodeButton.title);
+
+        buttons.insertBefore(runCodeButton, buttons.firstChild);
+        runCodeButton.addEventListener('click', function (e) {
+            run_rust_code(pre_block);
+        });
+
+        if (window.playground_copyable) {
+            var copyCodeClipboardButton = document.createElement('button');
+            copyCodeClipboardButton.className = 'fa fa-copy clip-button';
+            copyCodeClipboardButton.innerHTML = '<i class="tooltiptext"></i>';
+            copyCodeClipboardButton.title = 'Copy to clipboard';
+            copyCodeClipboardButton.setAttribute('aria-label', copyCodeClipboardButton.title);
+
+            buttons.insertBefore(copyCodeClipboardButton, buttons.firstChild);
+        }
+
+        let code_block = pre_block.querySelector("code");
+        if (window.ace && code_block.classList.contains("editable")) {
+            var undoChangesButton = document.createElement('button');
+            undoChangesButton.className = 'fa fa-history reset-button';
+            undoChangesButton.title = 'Undo changes';
+            undoChangesButton.setAttribute('aria-label', undoChangesButton.title);
+
+            buttons.insertBefore(undoChangesButton, buttons.firstChild);
+
+            undoChangesButton.addEventListener('click', function () {
+                let editor = window.ace.edit(code_block);
+                editor.setValue(editor.originalCode);
+                editor.clearSelection();
+            });
+        }
+    });
+})();
+
+(function themes() {
+    var html = document.querySelector('html');
+    var themeToggleButton = document.getElementById('theme-toggle');
+    var themePopup = document.getElementById('theme-list');
+    var themeColorMetaTag = document.querySelector('meta[name="theme-color"]');
+    var stylesheets = {
+        ayuHighlight: document.querySelector("[href$='ayu-highlight.css']"),
+        tomorrowNight: document.querySelector("[href$='tomorrow-night.css']"),
+        highlight: document.querySelector("[href$='highlight.css']"),
+    };
+
+    function showThemes() {
+        themePopup.style.display = 'block';
+        themeToggleButton.setAttribute('aria-expanded', true);
+        themePopup.querySelector("button#" + get_theme()).focus();
+    }
+
+    function hideThemes() {
+        themePopup.style.display = 'none';
+        themeToggleButton.setAttribute('aria-expanded', false);
+        themeToggleButton.focus();
+    }
+
+    function get_theme() {
+        var theme;
+        try { theme = localStorage.getItem('mdbook-theme'); } catch (e) { }
+        if (theme === null || theme === undefined) {
+            return default_theme;
+        } else {
+            return theme;
+        }
+    }
+
+    function set_theme(theme, store = true) {
+        let ace_theme;
+
+        if (theme == 'coal' || theme == 'navy') {
+            stylesheets.ayuHighlight.disabled = true;
+            stylesheets.tomorrowNight.disabled = false;
+            stylesheets.highlight.disabled = true;
+
+            ace_theme = "ace/theme/tomorrow_night";
+        } else if (theme == 'ayu') {
+            stylesheets.ayuHighlight.disabled = false;
+            stylesheets.tomorrowNight.disabled = true;
+            stylesheets.highlight.disabled = true;
+            ace_theme = "ace/theme/tomorrow_night";
+        } else {
+            stylesheets.ayuHighlight.disabled = true;
+            stylesheets.tomorrowNight.disabled = true;
+            stylesheets.highlight.disabled = false;
+            ace_theme = "ace/theme/dawn";
+        }
+
+        setTimeout(function () {
+            themeColorMetaTag.content = getComputedStyle(document.body).backgroundColor;
+        }, 1);
+
+        if (window.ace && window.editors) {
+            window.editors.forEach(function (editor) {
+                editor.setTheme(ace_theme);
+            });
+        }
+
+        var previousTheme = get_theme();
+
+        if (store) {
+            try { localStorage.setItem('mdbook-theme', theme); } catch (e) { }
+        }
+
+        html.classList.remove(previousTheme);
+        html.classList.add(theme);
+    }
+
+    // Set theme
+    var theme = get_theme();
+
+    set_theme(theme, false);
+
+    themeToggleButton.addEventListener('click', function () {
+        if (themePopup.style.display === 'block') {
+            hideThemes();
+        } else {
+            showThemes();
+        }
+    });
+
+    themePopup.addEventListener('click', function (e) {
+        var theme = e.target.id || e.target.parentElement.id;
+        set_theme(theme);
+    });
+
+    themePopup.addEventListener('focusout', function(e) {
+        // e.relatedTarget is null in Safari and Firefox on macOS (see workaround below)
+        if (!!e.relatedTarget && !themeToggleButton.contains(e.relatedTarget) && !themePopup.contains(e.relatedTarget)) {
+            hideThemes();
+        }
+    });
+
+    // Should not be needed, but it works around an issue on macOS & iOS: https://github.com/rust-lang/mdBook/issues/628
+    document.addEventListener('click', function(e) {
+        if (themePopup.style.display === 'block' && !themeToggleButton.contains(e.target) && !themePopup.contains(e.target)) {
+            hideThemes();
+        }
+    });
+
+    document.addEventListener('keydown', function (e) {
+        if (e.altKey || e.ctrlKey || e.metaKey || e.shiftKey) { return; }
+        if (!themePopup.contains(e.target)) { return; }
+
+        switch (e.key) {
+            case 'Escape':
+                e.preventDefault();
+                hideThemes();
+                break;
+            case 'ArrowUp':
+                e.preventDefault();
+                var li = document.activeElement.parentElement;
+                if (li && li.previousElementSibling) {
+                    li.previousElementSibling.querySelector('button').focus();
+                }
+                break;
+            case 'ArrowDown':
+                e.preventDefault();
+                var li = document.activeElement.parentElement;
+                if (li && li.nextElementSibling) {
+                    li.nextElementSibling.querySelector('button').focus();
+                }
+                break;
+            case 'Home':
+                e.preventDefault();
+                themePopup.querySelector('li:first-child button').focus();
+                break;
+            case 'End':
+                e.preventDefault();
+                themePopup.querySelector('li:last-child button').focus();
+                break;
+        }
+    });
+})();
+
+(function sidebar() {
+    var html = document.querySelector("html");
+    var sidebar = document.getElementById("sidebar");
+    var sidebarLinks = document.querySelectorAll('#sidebar a');
+    var sidebarToggleButton = document.getElementById("sidebar-toggle");
+    var sidebarResizeHandle = document.getElementById("sidebar-resize-handle");
+    var firstContact = null;
+
+    function showSidebar() {
+        html.classList.remove('sidebar-hidden')
+        html.classList.add('sidebar-visible');
+        Array.from(sidebarLinks).forEach(function (link) {
+            link.setAttribute('tabIndex', 0);
+        });
+        sidebarToggleButton.setAttribute('aria-expanded', true);
+        sidebar.setAttribute('aria-hidden', false);
+        try { localStorage.setItem('mdbook-sidebar', 'visible'); } catch (e) { }
+    }
+
+
+    var sidebarAnchorToggles = document.querySelectorAll('#sidebar a.toggle');
+
+    function toggleSection(ev) {
+        ev.currentTarget.parentElement.classList.toggle('expanded');
+    }
+
+    Array.from(sidebarAnchorToggles).forEach(function (el) {
+        el.addEventListener('click', toggleSection);
+    });
+
+    function hideSidebar() {
+        html.classList.remove('sidebar-visible')
+        html.classList.add('sidebar-hidden');
+        Array.from(sidebarLinks).forEach(function (link) {
+            link.setAttribute('tabIndex', -1);
+        });
+        sidebarToggleButton.setAttribute('aria-expanded', false);
+        sidebar.setAttribute('aria-hidden', true);
+        try { localStorage.setItem('mdbook-sidebar', 'hidden'); } catch (e) { }
+    }
+
+    // Toggle sidebar
+    sidebarToggleButton.addEventListener('click', function sidebarToggle() {
+        if (html.classList.contains("sidebar-hidden")) {
+            var current_width = parseInt(
+                document.documentElement.style.getPropertyValue('--sidebar-width'), 10);
+            if (current_width < 150) {
+                document.documentElement.style.setProperty('--sidebar-width', '150px');
+            }
+            showSidebar();
+        } else if (html.classList.contains("sidebar-visible")) {
+            hideSidebar();
+        } else {
+            if (getComputedStyle(sidebar)['transform'] === 'none') {
+                hideSidebar();
+            } else {
+                showSidebar();
+            }
+        }
+    });
+
+    sidebarResizeHandle.addEventListener('mousedown', initResize, false);
+
+    function initResize(e) {
+        window.addEventListener('mousemove', resize, false);
+        window.addEventListener('mouseup', stopResize, false);
+        html.classList.add('sidebar-resizing');
+    }
+    function resize(e) {
+        var pos = (e.clientX - sidebar.offsetLeft);
+        if (pos < 20) {
+            hideSidebar();
+        } else {
+            if (html.classList.contains("sidebar-hidden")) {
+                showSidebar();
+            }
+            pos = Math.min(pos, window.innerWidth - 100);
+            document.documentElement.style.setProperty('--sidebar-width', pos + 'px');
+        }
+    }
+    //on mouseup remove windows functions mousemove & mouseup
+    function stopResize(e) {
+        html.classList.remove('sidebar-resizing');
+        window.removeEventListener('mousemove', resize, false);
+        window.removeEventListener('mouseup', stopResize, false);
+    }
+
+    document.addEventListener('touchstart', function (e) {
+        firstContact = {
+            x: e.touches[0].clientX,
+            time: Date.now()
+        };
+    }, { passive: true });
+
+    document.addEventListener('touchmove', function (e) {
+        if (!firstContact)
+            return;
+
+        var curX = e.touches[0].clientX;
+        var xDiff = curX - firstContact.x,
+            tDiff = Date.now() - firstContact.time;
+
+        if (tDiff < 250 && Math.abs(xDiff) >= 150) {
+            if (xDiff >= 0 && firstContact.x < Math.min(document.body.clientWidth * 0.25, 300))
+                showSidebar();
+            else if (xDiff < 0 && curX < 300)
+                hideSidebar();
+
+            firstContact = null;
+        }
+    }, { passive: true });
+
+    // Scroll sidebar to current active section
+    var activeSection = document.getElementById("sidebar").querySelector(".active");
+    if (activeSection) {
+        // https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView
+        activeSection.scrollIntoView({ block: 'center' });
+    }
+})();
+
+(function chapterNavigation() {
+    document.addEventListener('keydown', function (e) {
+        if (e.altKey || e.ctrlKey || e.metaKey || e.shiftKey) { return; }
+        if (window.search && window.search.hasFocus()) { return; }
+
+        switch (e.key) {
+            case 'ArrowRight':
+                e.preventDefault();
+                var nextButton = document.querySelector('.nav-chapters.next');
+                if (nextButton) {
+                    window.location.href = nextButton.href;
+                }
+                break;
+            case 'ArrowLeft':
+                e.preventDefault();
+                var previousButton = document.querySelector('.nav-chapters.previous');
+                if (previousButton) {
+                    window.location.href = previousButton.href;
+                }
+                break;
+        }
+    });
+})();
+
+(function clipboard() {
+    var clipButtons = document.querySelectorAll('.clip-button');
+
+    function hideTooltip(elem) {
+        elem.firstChild.innerText = "";
+        elem.className = 'fa fa-copy clip-button';
+    }
+
+    function showTooltip(elem, msg) {
+        elem.firstChild.innerText = msg;
+        elem.className = 'fa fa-copy tooltipped';
+    }
+
+    var clipboardSnippets = new ClipboardJS('.clip-button', {
+        text: function (trigger) {
+            hideTooltip(trigger);
+            let playground = trigger.closest("pre");
+            return playground_text(playground);
+        }
+    });
+
+    Array.from(clipButtons).forEach(function (clipButton) {
+        clipButton.addEventListener('mouseout', function (e) {
+            hideTooltip(e.currentTarget);
+        });
+    });
+
+    clipboardSnippets.on('success', function (e) {
+        e.clearSelection();
+        showTooltip(e.trigger, "Copied!");
+    });
+
+    clipboardSnippets.on('error', function (e) {
+        showTooltip(e.trigger, "Clipboard error!");
+    });
+})();
+
+(function scrollToTop () {
+    var menuTitle = document.querySelector('.menu-title');
+
+    menuTitle.addEventListener('click', function () {
+        document.scrollingElement.scrollTo({ top: 0, behavior: 'smooth' });
+    });
+})();
+
+(function controllMenu() {
+    var menu = document.getElementById('menu-bar');
+
+    (function controllPosition() {
+        var scrollTop = document.scrollingElement.scrollTop;
+        var prevScrollTop = scrollTop;
+        var minMenuY = -menu.clientHeight - 50;
+        // When the script loads, the page can be at any scroll (e.g. if you reforesh it).
+        menu.style.top = scrollTop + 'px';
+        // Same as parseInt(menu.style.top.slice(0, -2), but faster
+        var topCache = menu.style.top.slice(0, -2);
+        menu.classList.remove('sticky');
+        var stickyCache = false; // Same as menu.classList.contains('sticky'), but faster
+        document.addEventListener('scroll', function () {
+            scrollTop = Math.max(document.scrollingElement.scrollTop, 0);
+            // `null` means that it doesn't need to be updated
+            var nextSticky = null;
+            var nextTop = null;
+            var scrollDown = scrollTop > prevScrollTop;
+            var menuPosAbsoluteY = topCache - scrollTop;
+            if (scrollDown) {
+                nextSticky = false;
+                if (menuPosAbsoluteY > 0) {
+                    nextTop = prevScrollTop;
+                }
+            } else {
+                if (menuPosAbsoluteY > 0) {
+                    nextSticky = true;
+                } else if (menuPosAbsoluteY < minMenuY) {
+                    nextTop = prevScrollTop + minMenuY;
+                }
+            }
+            if (nextSticky === true && stickyCache === false) {
+                menu.classList.add('sticky');
+                stickyCache = true;
+            } else if (nextSticky === false && stickyCache === true) {
+                menu.classList.remove('sticky');
+                stickyCache = false;
+            }
+            if (nextTop !== null) {
+                menu.style.top = nextTop + 'px';
+                topCache = nextTop;
+            }
+            prevScrollTop = scrollTop;
+        }, { passive: true });
+    })();
+    (function controllBorder() {
+        menu.classList.remove('bordered');
+        document.addEventListener('scroll', function () {
+            if (menu.offsetTop === 0) {
+                menu.classList.remove('bordered');
+            } else {
+                menu.classList.add('bordered');
+            }
+        }, { passive: true });
+    })();
+})();
diff --git a/src/theme/css/chrome.css b/src/theme/css/chrome.css
new file mode 100644
index 0000000..9ca8633
--- /dev/null
+++ b/src/theme/css/chrome.css
@@ -0,0 +1,495 @@
+/* CSS for UI elements (a.k.a. chrome) */
+
+@import 'variables.css';
+
+::-webkit-scrollbar {
+    background: var(--bg);
+}
+::-webkit-scrollbar-thumb {
+    background: var(--scrollbar);
+}
+html {
+    scrollbar-color: var(--scrollbar) var(--bg);
+}
+#searchresults a,
+.content a:link,
+a:visited,
+a > .hljs {
+    color: var(--links);
+}
+
+/* Menu Bar */
+
+#menu-bar,
+#menu-bar-hover-placeholder {
+    z-index: 101;
+    margin: auto calc(0px - var(--page-padding));
+}
+#menu-bar {
+    position: relative;
+    display: flex;
+    flex-wrap: wrap;
+    background-color: var(--bg);
+    border-bottom-color: var(--bg);
+    border-bottom-width: 1px;
+    border-bottom-style: solid;
+}
+#menu-bar.sticky,
+.js #menu-bar-hover-placeholder:hover + #menu-bar,
+.js #menu-bar:hover,
+.js.sidebar-visible #menu-bar {
+    position: -webkit-sticky;
+    position: sticky;
+    top: 0 !important;
+}
+#menu-bar-hover-placeholder {
+    position: sticky;
+    position: -webkit-sticky;
+    top: 0;
+    height: var(--menu-bar-height);
+}
+#menu-bar.bordered {
+    border-bottom-color: var(--table-border-color);
+}
+#menu-bar i, #menu-bar .icon-button {
+    position: relative;
+    padding: 0 8px;
+    z-index: 10;
+    line-height: var(--menu-bar-height);
+    cursor: pointer;
+    transition: color 0.5s;
+}
+@media only screen and (max-width: 420px) {
+    #menu-bar i, #menu-bar .icon-button {
+        padding: 0 5px;
+    }
+}
+
+.icon-button {
+    border: none;
+    background: none;
+    padding: 0;
+    color: inherit;
+}
+.icon-button i {
+    margin: 0;
+}
+
+.right-buttons {
+    margin: 0 15px;
+}
+.right-buttons a {
+    text-decoration: none;
+}
+
+.left-buttons {
+    display: flex;
+    margin: 0 5px;
+}
+.no-js .left-buttons {
+    display: none;
+}
+
+.menu-title {
+    display: inline-block;
+    font-weight: 200;
+    font-size: 2rem;
+    line-height: var(--menu-bar-height);
+    text-align: center;
+    margin: 0;
+    flex: 1;
+    white-space: nowrap;
+    overflow: hidden;
+    text-overflow: ellipsis;
+}
+.js .menu-title {
+    cursor: pointer;
+}
+
+.menu-bar,
+.menu-bar:visited,
+.nav-chapters,
+.nav-chapters:visited,
+.mobile-nav-chapters,
+.mobile-nav-chapters:visited,
+.menu-bar .icon-button,
+.menu-bar a i {
+    color: var(--icons);
+}
+
+.menu-bar i:hover,
+.menu-bar .icon-button:hover,
+.nav-chapters:hover,
+.mobile-nav-chapters i:hover {
+    color: var(--icons-hover);
+}
+
+/* Nav Icons */
+
+.nav-chapters {
+    font-size: 2.5em;
+    text-align: center;
+    text-decoration: none;
+
+    position: fixed;
+    top: 0;
+    bottom: 0;
+    margin: 0;
+    max-width: 150px;
+    min-width: 90px;
+
+    display: flex;
+    justify-content: center;
+    align-content: center;
+    flex-direction: column;
+
+    transition: color 0.5s, background-color 0.5s;
+}
+
+.nav-chapters:hover {
+    text-decoration: none;
+    background-color: var(--theme-hover);
+    transition: background-color 0.15s, color 0.15s;
+}
+
+.nav-wrapper {
+    margin-top: 50px;
+    display: none;
+}
+
+.mobile-nav-chapters {
+    font-size: 2.5em;
+    text-align: center;
+    text-decoration: none;
+    width: 90px;
+    border-radius: 5px;
+    background-color: var(--sidebar-bg);
+}
+
+.previous {
+    float: left;
+}
+
+.next {
+    float: right;
+    right: var(--page-padding);
+}
+
+@media only screen and (max-width: 1080px) {
+    .nav-wide-wrapper { display: none; }
+    .nav-wrapper { display: block; }
+}
+
+@media only screen and (max-width: 1380px) {
+    .sidebar-visible .nav-wide-wrapper { display: none; }
+    .sidebar-visible .nav-wrapper { display: block; }
+}
+
+/* Inline code */
+
+:not(pre) > .hljs {
+    display: inline;
+    padding: 0.1em 0.3em;
+    border-radius: 3px;
+}
+
+:not(pre):not(a) > .hljs {
+    color: var(--inline-code-color);
+    overflow-x: initial;
+}
+
+a:hover > .hljs {
+    text-decoration: underline;
+}
+
+pre {
+    position: relative;
+}
+pre > .buttons {
+    position: absolute;
+    z-index: 100;
+    right: 5px;
+    top: 5px;
+
+    color: var(--sidebar-fg);
+    cursor: pointer;
+}
+pre > .buttons :hover {
+    color: var(--sidebar-active);
+}
+pre > .buttons i {
+    margin-left: 8px;
+}
+pre > .buttons button {
+    color: inherit;
+    background: transparent;
+    border: none;
+    cursor: inherit;
+}
+pre > .result {
+    margin-top: 10px;
+}
+
+/* Search */
+
+#searchresults a {
+    text-decoration: none;
+}
+
+mark {
+    border-radius: 2px;
+    padding: 0 3px 1px 3px;
+    margin: 0 -3px -1px -3px;
+    background-color: var(--search-mark-bg);
+    transition: background-color 300ms linear;
+    cursor: pointer;
+}
+
+mark.fade-out {
+    background-color: rgba(0,0,0,0) !important;
+    cursor: auto;
+}
+
+.searchbar-outer {
+    margin-left: auto;
+    margin-right: auto;
+    max-width: var(--content-max-width);
+}
+
+#searchbar {
+    width: 100%;
+    margin: 5px auto 0px auto;
+    padding: 10px 16px;
+    transition: box-shadow 300ms ease-in-out;
+    border: 1px solid var(--searchbar-border-color);
+    border-radius: 3px;
+    background-color: var(--searchbar-bg);
+    color: var(--searchbar-fg);
+}
+#searchbar:focus,
+#searchbar.active {
+    box-shadow: 0 0 3px var(--searchbar-shadow-color);
+}
+
+.searchresults-header {
+    font-weight: bold;
+    font-size: 1em;
+    padding: 18px 0 0 5px;
+    color: var(--searchresults-header-fg);
+}
+
+.searchresults-outer {
+    margin-left: auto;
+    margin-right: auto;
+    max-width: var(--content-max-width);
+    border-bottom: 1px dashed var(--searchresults-border-color);
+}
+
+ul#searchresults {
+    list-style: none;
+    padding-left: 20px;
+}
+ul#searchresults li {
+    margin: 10px 0px;
+    padding: 2px;
+    border-radius: 2px;
+}
+ul#searchresults li.focus {
+    background-color: var(--searchresults-li-bg);
+}
+ul#searchresults span.teaser {
+    display: block;
+    clear: both;
+    margin: 5px 0 0 20px;
+    font-size: 0.8em;
+}
+ul#searchresults span.teaser em {
+    font-weight: bold;
+    font-style: normal;
+}
+
+/* Sidebar */
+
+.sidebar {
+    position: fixed;
+    left: 0;
+    top: 0;
+    bottom: 0;
+    width: var(--sidebar-width);
+    font-size: 0.875em;
+    box-sizing: border-box;
+    -webkit-overflow-scrolling: touch;
+    overscroll-behavior-y: contain;
+    background-color: var(--sidebar-bg);
+    color: var(--sidebar-fg);
+}
+.sidebar-resizing {
+    -moz-user-select: none;
+    -webkit-user-select: none;
+    -ms-user-select: none;
+    user-select: none;
+}
+.js:not(.sidebar-resizing) .sidebar {
+    transition: transform 0.3s; /* Animation: slide away */
+}
+.sidebar code {
+    line-height: 2em;
+}
+.sidebar .sidebar-scrollbox {
+    overflow-y: auto;
+    position: absolute;
+    top: 0;
+    bottom: 0;
+    left: 0;
+    right: 0;
+    padding: 10px 10px;
+}
+.sidebar .sidebar-resize-handle {
+    position: absolute;
+    cursor: col-resize;
+    width: 0;
+    right: 0;
+    top: 0;
+    bottom: 0;
+}
+.js .sidebar .sidebar-resize-handle {
+    cursor: col-resize;
+    width: 5px;
+}
+.sidebar-hidden .sidebar {
+    transform: translateX(calc(0px - var(--sidebar-width)));
+}
+.sidebar::-webkit-scrollbar {
+    background: var(--sidebar-bg);
+}
+.sidebar::-webkit-scrollbar-thumb {
+    background: var(--scrollbar);
+}
+
+.sidebar-visible .page-wrapper {
+    transform: translateX(var(--sidebar-width));
+}
+@media only screen and (min-width: 620px) {
+    .sidebar-visible .page-wrapper {
+        transform: none;
+        margin-left: var(--sidebar-width);
+    }
+}
+
+.chapter {
+    list-style: none outside none;
+    padding-left: 0;
+    line-height: 2.2em;
+}
+
+.chapter ol {
+    width: 100%;
+}
+
+.chapter li {
+    display: flex;
+    color: var(--sidebar-non-existant);
+}
+.chapter li a {
+    display: block;
+    padding: 0;
+    text-decoration: none;
+    color: var(--sidebar-fg);
+}
+
+.chapter li a:hover {
+    color: var(--sidebar-active);
+}
+
+.chapter li a.active {
+    color: var(--sidebar-active);
+}
+
+.chapter li > a.toggle {
+    cursor: pointer;
+    display: block;
+    margin-left: auto;
+    padding: 0 10px;
+    user-select: none;
+    opacity: 0.68;
+}
+
+.chapter li > a.toggle div {
+    transition: transform 0.5s;
+}
+
+/* collapse the section */
+.chapter li:not(.expanded) + li > ol {
+    display: none;
+}
+
+.chapter li.chapter-item {
+    line-height: 1.5em;
+    margin-top: 0.6em;
+}
+
+.chapter li.expanded > a.toggle div {
+    transform: rotate(90deg);
+}
+
+.spacer {
+    width: 100%;
+    height: 3px;
+    margin: 5px 0px;
+}
+.chapter .spacer {
+    background-color: var(--sidebar-spacer);
+}
+
+@media (-moz-touch-enabled: 1), (pointer: coarse) {
+    .chapter li a { padding: 5px 0; }
+    .spacer { margin: 10px 0; }
+}
+
+.section {
+    list-style: none outside none;
+    padding-left: 20px;
+    line-height: 1.9em;
+}
+
+/* Theme Menu Popup */
+
+.theme-popup {
+    position: absolute;
+    left: 10px;
+    top: var(--menu-bar-height);
+    z-index: 1000;
+    border-radius: 4px;
+    font-size: 0.7em;
+    color: var(--fg);
+    background: var(--theme-popup-bg);
+    border: 1px solid var(--theme-popup-border);
+    margin: 0;
+    padding: 0;
+    list-style: none;
+    display: none;
+}
+.theme-popup .default {
+    color: var(--icons);
+}
+.theme-popup .theme {
+    width: 100%;
+    border: 0;
+    margin: 0;
+    padding: 2px 10px;
+    line-height: 25px;
+    white-space: nowrap;
+    text-align: left;
+    cursor: pointer;
+    color: inherit;
+    background: inherit;
+    font-size: inherit;
+}
+.theme-popup .theme:hover {
+    background-color: var(--theme-hover);
+}
+.theme-popup .theme:hover:first-child,
+.theme-popup .theme:hover:last-child {
+    border-top-left-radius: inherit;
+    border-top-right-radius: inherit;
+}
diff --git a/src/theme/css/general.css b/src/theme/css/general.css
new file mode 100644
index 0000000..815dae1
--- /dev/null
+++ b/src/theme/css/general.css
@@ -0,0 +1,174 @@
+/* Base styles and content styles */
+
+@import 'variables.css';
+
+:root {
+    /* Browser default font-size is 16px, this way 1 rem = 10px */
+    font-size: 62.5%;
+}
+
+html {
+    font-family: "Open Sans", sans-serif;
+    color: var(--fg);
+    background-color: var(--bg);
+    text-size-adjust: none;
+}
+
+body {
+    margin: 0;
+    font-size: 1.6rem;
+    overflow-x: hidden;
+}
+
+code {
+    font-family: "Source Code Pro", Consolas, "Ubuntu Mono", Menlo, "DejaVu Sans Mono", monospace, monospace !important;
+    font-size: 0.875em; /* please adjust the ace font size accordingly in editor.js */
+}
+
+/* Don't change font size in headers. */
+h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
+    font-size: unset;
+}
+
+.left { float: left; }
+.right { float: right; }
+.boring { opacity: 0.6; }
+.hide-boring .boring { display: none; }
+.hidden { display: none !important; }
+
+h2, h3 { margin-top: 2.5em; }
+h4, h5 { margin-top: 2em; }
+
+.header + .header h3,
+.header + .header h4,
+.header + .header h5 {
+    margin-top: 1em;
+}
+
+h1 a.header:target::before,
+h2 a.header:target::before,
+h3 a.header:target::before,
+h4 a.header:target::before {
+    display: inline-block;
+    content: "»";
+    margin-left: -30px;
+    width: 30px;
+}
+
+h1 a.header:target,
+h2 a.header:target,
+h3 a.header:target,
+h4 a.header:target {
+    scroll-margin-top: calc(var(--menu-bar-height) + 0.5em);
+}
+
+.page {
+    outline: 0;
+    padding: 0 var(--page-padding);
+    margin-top: calc(0px - var(--menu-bar-height)); /* Compensate for the #menu-bar-hover-placeholder */
+}
+.page-wrapper {
+    box-sizing: border-box;
+}
+.js:not(.sidebar-resizing) .page-wrapper {
+    transition: margin-left 0.3s ease, transform 0.3s ease; /* Animation: slide away */
+}
+
+.content {
+    overflow-y: auto;
+    padding: 0 15px;
+    padding-bottom: 50px;
+}
+.content main {
+    margin-left: auto;
+    margin-right: auto;
+    max-width: var(--content-max-width);
+}
+.content p { line-height: 1.45em; }
+.content ol { line-height: 1.45em; }
+.content ul { line-height: 1.45em; }
+.content a { text-decoration: none; }
+.content a:hover { text-decoration: underline; }
+.content img { max-width: 100%; }
+.content .header:link,
+.content .header:visited {
+    color: var(--fg);
+}
+.content .header:link,
+.content .header:visited:hover {
+    text-decoration: none;
+}
+
+table {
+    margin: 0 auto;
+    border-collapse: collapse;
+}
+table td {
+    padding: 3px 20px;
+    border: 1px var(--table-border-color) solid;
+}
+table thead {
+    background: var(--table-header-bg);
+}
+table thead td {
+    font-weight: 700;
+    border: none;
+}
+table thead th {
+    padding: 3px 20px;
+}
+table thead tr {
+    border: 1px var(--table-header-bg) solid;
+}
+/* Alternate background colors for rows */
+table tbody tr:nth-child(2n) {
+    background: var(--table-alternate-bg);
+}
+
+
+blockquote {
+    margin: 20px 0;
+    padding: 0 20px;
+    color: var(--fg);
+    background-color: var(--quote-bg);
+    border-top: .1em solid var(--quote-border);
+    border-bottom: .1em solid var(--quote-border);
+}
+
+
+:not(.footnote-definition) + .footnote-definition,
+.footnote-definition + :not(.footnote-definition) {
+    margin-top: 2em;
+}
+.footnote-definition {
+    font-size: 0.9em;
+    margin: 0.5em 0;
+}
+.footnote-definition p {
+    display: inline;
+}
+
+.tooltiptext {
+    position: absolute;
+    visibility: hidden;
+    color: #fff;
+    background-color: #333;
+    transform: translateX(-50%); /* Center by moving tooltip 50% of its width left */
+    left: -8px; /* Half of the width of the icon */
+    top: -35px;
+    font-size: 0.8em;
+    text-align: center;
+    border-radius: 6px;
+    padding: 5px 8px;
+    margin: 5px;
+    z-index: 1000;
+}
+.tooltipped .tooltiptext {
+    visibility: visible;
+}
+
+.chapter li.part-title {
+    color: var(--sidebar-fg);
+    margin: 5px 0px;
+    font-weight: bold;
+}
diff --git a/src/theme/css/print.css b/src/theme/css/print.css
new file mode 100644
index 0000000..5e690f7
--- /dev/null
+++ b/src/theme/css/print.css
@@ -0,0 +1,54 @@
+
+#sidebar,
+#menu-bar,
+.nav-chapters,
+.mobile-nav-chapters {
+    display: none;
+}
+
+#page-wrapper.page-wrapper {
+    transform: none;
+    margin-left: 0px;
+    overflow-y: initial;
+}
+
+#content {
+    max-width: none;
+    margin: 0;
+    padding: 0;
+}
+
+.page {
+    overflow-y: initial;
+}
+
+code {
+    background-color: #666666;
+    border-radius: 5px;
+
+    /* Force background to be printed in Chrome */
+    -webkit-print-color-adjust: exact;
+}
+
+pre > .buttons {
+    z-index: 2;
+}
+
+a, a:visited, a:active, a:hover {
+    color: #4183c4;
+    text-decoration: none;
+}
+
+h1, h2, h3, h4, h5, h6 {
+    page-break-inside: avoid;
+    page-break-after: avoid;
+}
+
+pre, code {
+    page-break-inside: avoid;
+    white-space: pre-wrap;
+}
+
+.fa {
+    display: none !important;
+}
diff --git a/src/theme/css/variables.css b/src/theme/css/variables.css
new file mode 100644
index 0000000..9534ec8
--- /dev/null
+++ b/src/theme/css/variables.css
@@ -0,0 +1,253 @@
+
+/* Globals */
+
+:root {
+    --sidebar-width: 300px;
+    --page-padding: 15px;
+    --content-max-width: 750px;
+    --menu-bar-height: 50px;
+}
+
+/* Themes */
+
+.ayu {
+    --bg: hsl(210, 25%, 8%);
+    --fg: #c5c5c5;
+
+    --sidebar-bg: #14191f;
+    --sidebar-fg: #c8c9db;
+    --sidebar-non-existant: #5c6773;
+    --sidebar-active: #ffb454;
+    --sidebar-spacer: #2d334f;
+
+    --scrollbar: var(--sidebar-fg);
+
+    --icons: #737480;
+    --icons-hover: #b7b9cc;
+
+    --links: #0096cf;
+
+    --inline-code-color: #ffb454;
+
+    --theme-popup-bg: #14191f;
+    --theme-popup-border: #5c6773;
+    --theme-hover: #191f26;
+
+    --quote-bg: hsl(226, 15%, 17%);
+    --quote-border: hsl(226, 15%, 22%);
+
+    --table-border-color: hsl(210, 25%, 13%);
+    --table-header-bg: hsl(210, 25%, 28%);
+    --table-alternate-bg: hsl(210, 25%, 11%);
+
+    --searchbar-border-color: #848484;
+    --searchbar-bg: #424242;
+    --searchbar-fg: #fff;
+    --searchbar-shadow-color: #d4c89f;
+    --searchresults-header-fg: #666;
+    --searchresults-border-color: #888;
+    --searchresults-li-bg: #252932;
+    --search-mark-bg: #e3b171;
+}
+
+.coal {
+    --bg: hsl(200, 7%, 8%);
+    --fg: #98a3ad;
+
+    --sidebar-bg: #292c2f;
+    --sidebar-fg: #a1adb8;
+    --sidebar-non-existant: #505254;
+    --sidebar-active: #3473ad;
+    --sidebar-spacer: #393939;
+
+    --scrollbar: var(--sidebar-fg);
+
+    --icons: #43484d;
+    --icons-hover: #b3c0cc;
+
+    --links: #2b79a2;
+
+    --inline-code-color: #c5c8c6;;
+
+    --theme-popup-bg: #141617;
+    --theme-popup-border: #43484d;
+    --theme-hover: #1f2124;
+
+    --quote-bg: hsl(234, 21%, 18%);
+    --quote-border: hsl(234, 21%, 23%);
+
+    --table-border-color: hsl(200, 7%, 13%);
+    --table-header-bg: hsl(200, 7%, 28%);
+    --table-alternate-bg: hsl(200, 7%, 11%);
+
+    --searchbar-border-color: #aaa;
+    --searchbar-bg: #b7b7b7;
+    --searchbar-fg: #000;
+    --searchbar-shadow-color: #aaa;
+    --searchresults-header-fg: #666;
+    --searchresults-border-color: #98a3ad;
+    --searchresults-li-bg: #2b2b2f;
+    --search-mark-bg: #355c7d;
+}
+
+.light {
+    --bg: hsl(0, 0%, 100%);
+    --fg: #333333;
+
+    --sidebar-bg: #fafafa;
+    --sidebar-fg: #364149;
+    --sidebar-non-existant: #aaaaaa;
+    --sidebar-active: #008cff;
+    --sidebar-spacer: #f4f4f4;
+
+    --scrollbar: #cccccc;
+
+    --icons: #cccccc;
+    --icons-hover: #333333;
+
+    --links: #4183c4;
+
+    --inline-code-color: #6e6b5e;
+
+    --theme-popup-bg: #fafafa;
+    --theme-popup-border: #cccccc;
+    --theme-hover: #e6e6e6;
+
+    --quote-bg: hsl(197, 37%, 96%);
+    --quote-border: hsl(197, 37%, 91%);
+
+    --table-border-color: hsl(0, 0%, 95%);
+    --table-header-bg: hsl(0, 0%, 80%);
+    --table-alternate-bg: hsl(0, 0%, 97%);
+
+    --searchbar-border-color: #aaa;
+    --searchbar-bg: #fafafa;
+    --searchbar-fg: #000;
+    --searchbar-shadow-color: #aaa;
+    --searchresults-header-fg: #666;
+    --searchresults-border-color: #888;
+    --searchresults-li-bg: #e4f2fe;
+    --search-mark-bg: #a2cff5;
+}
+
+.navy {
+    --bg: hsl(226, 23%, 11%);
+    --fg: #bcbdd0;
+
+    --sidebar-bg: #282d3f;
+    --sidebar-fg: #c8c9db;
+    --sidebar-non-existant: #505274;
+    --sidebar-active: #2b79a2;
+    --sidebar-spacer: #2d334f;
+
+    --scrollbar: var(--sidebar-fg);
+
+    --icons: #737480;
+    --icons-hover: #b7b9cc;
+
+    --links: #2b79a2;
+
+    --inline-code-color: #c5c8c6;;
+
+    --theme-popup-bg: #161923;
+    --theme-popup-border: #737480;
+    --theme-hover: #282e40;
+
+    --quote-bg: hsl(226, 15%, 17%);
+    --quote-border: hsl(226, 15%, 22%);
+
+    --table-border-color: hsl(226, 23%, 16%);
+    --table-header-bg: hsl(226, 23%, 31%);
+    --table-alternate-bg: hsl(226, 23%, 14%);
+
+    --searchbar-border-color: #aaa;
+    --searchbar-bg: #aeaec6;
+    --searchbar-fg: #000;
+    --searchbar-shadow-color: #aaa;
+    --searchresults-header-fg: #5f5f71;
+    --searchresults-border-color: #5c5c68;
+    --searchresults-li-bg: #242430;
+    --search-mark-bg: #a2cff5;
+}
+
+.rust {
+    --bg: hsl(60, 9%, 87%);
+    --fg: #262625;
+
+    --sidebar-bg: #3b2e2a;
+    --sidebar-fg: #c8c9db;
+    --sidebar-non-existant: #505254;
+    --sidebar-active: #e69f67;
+    --sidebar-spacer: #45373a;
+
+    --scrollbar: var(--sidebar-fg);
+
+    --icons: #737480;
+    --icons-hover: #262625;
+
+    --links: #2b79a2;
+
+    --inline-code-color: #6e6b5e;
+
+    --theme-popup-bg: #e1e1db;
+    --theme-popup-border: #b38f6b;
+    --theme-hover: #99908a;
+
+    --quote-bg: hsl(60, 5%, 75%);
+    --quote-border: hsl(60, 5%, 70%);
+
+    --table-border-color: hsl(60, 9%, 82%);
+    --table-header-bg: #b3a497;
+    --table-alternate-bg: hsl(60, 9%, 84%);
+
+    --searchbar-border-color: #aaa;
+    --searchbar-bg: #fafafa;
+    --searchbar-fg: #000;
+    --searchbar-shadow-color: #aaa;
+    --searchresults-header-fg: #666;
+    --searchresults-border-color: #888;
+    --searchresults-li-bg: #dec2a2;
+    --search-mark-bg: #e69f67;
+}
+
+@media (prefers-color-scheme: dark) {
+    .light.no-js {
+        --bg: hsl(200, 7%, 8%);
+        --fg: #98a3ad;
+
+        --sidebar-bg: #292c2f;
+        --sidebar-fg: #a1adb8;
+        --sidebar-non-existant: #505254;
+        --sidebar-active: #3473ad;
+        --sidebar-spacer: #393939;
+
+        --scrollbar: var(--sidebar-fg);
+
+        --icons: #43484d;
+        --icons-hover: #b3c0cc;
+
+        --links: #2b79a2;
+
+        --inline-code-color: #c5c8c6;;
+
+        --theme-popup-bg: #141617;
+        --theme-popup-border: #43484d;
+        --theme-hover: #1f2124;
+
+        --quote-bg: hsl(234, 21%, 18%);
+        --quote-border: hsl(234, 21%, 23%);
+
+        --table-border-color: hsl(200, 7%, 13%);
+        --table-header-bg: hsl(200, 7%, 28%);
+        --table-alternate-bg: hsl(200, 7%, 11%);
+
+        --searchbar-border-color: #aaa;
+        --searchbar-bg: #b7b7b7;
+        --searchbar-fg: #000;
+        --searchbar-shadow-color: #aaa;
+        --searchresults-header-fg: #666;
+        --searchresults-border-color: #98a3ad;
+        --searchresults-li-bg: #2b2b2f;
+        --search-mark-bg: #355c7d;
+    }
+}
diff --git a/src/theme/favicon.png b/src/theme/favicon.png
new file mode 100644
index 0000000..a5b1aa1
Binary files /dev/null and b/src/theme/favicon.png differ
diff --git a/src/theme/favicon.svg b/src/theme/favicon.svg
new file mode 100644
index 0000000..90e0ea5
--- /dev/null
+++ b/src/theme/favicon.svg
@@ -0,0 +1,22 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 199.7 184.2">
+  <style>
+    @media (prefers-color-scheme: dark) {
+      svg { fill: white; }
+    }
+  </style>
+<path d="M189.5,36.8c0.2,2.8,0,5.1-0.6,6.8L153,162c-0.6,2.1-2,3.7-4.2,5c-2.2,1.2-4.4,1.9-6.7,1.9H31.4c-9.6,0-15.3-2.8-17.3-8.4
+  c-0.8-2.2-0.8-3.9,0.1-5.2c0.9-1.2,2.4-1.8,4.6-1.8H123c7.4,0,12.6-1.4,15.4-4.1s5.7-8.9,8.6-18.4l32.9-108.6
+  c1.8-5.9,1-11.1-2.2-15.6S169.9,0,164,0H72.7c-1,0-3.1,0.4-6.1,1.1l0.1-0.4C64.5,0.2,62.6,0,61,0.1s-3,0.5-4.3,1.4
+  c-1.3,0.9-2.4,1.8-3.2,2.8S52,6.5,51.2,8.1c-0.8,1.6-1.4,3-1.9,4.3s-1.1,2.7-1.8,4.2c-0.7,1.5-1.3,2.7-2,3.7c-0.5,0.6-1.2,1.5-2,2.5
+  s-1.6,2-2.2,2.8s-0.9,1.5-1.1,2.2c-0.2,0.7-0.1,1.8,0.2,3.2c0.3,1.4,0.4,2.4,0.4,3.1c-0.3,3-1.4,6.9-3.3,11.6
+  c-1.9,4.7-3.6,8.1-5.1,10.1c-0.3,0.4-1.2,1.3-2.6,2.7c-1.4,1.4-2.3,2.6-2.6,3.7c-0.3,0.4-0.3,1.5-0.1,3.4c0.3,1.8,0.4,3.1,0.3,3.8
+  c-0.3,2.7-1.3,6.3-3,10.8c-1.7,4.5-3.4,8.2-5,11c-0.2,0.5-0.9,1.4-2,2.8c-1.1,1.4-1.8,2.5-2,3.4c-0.2,0.6-0.1,1.8,0.1,3.4
+  c0.2,1.6,0.2,2.8-0.1,3.6c-0.6,3-1.8,6.7-3.6,11c-1.8,4.3-3.6,7.9-5.4,11c-0.5,0.8-1.1,1.7-2,2.8c-0.8,1.1-1.5,2-2,2.8
+  s-0.8,1.6-1,2.5c-0.1,0.5,0,1.3,0.4,2.3c0.3,1.1,0.4,1.9,0.4,2.6c-0.1,1.1-0.2,2.6-0.5,4.4c-0.2,1.8-0.4,2.9-0.4,3.2
+  c-1.8,4.8-1.7,9.9,0.2,15.2c2.2,6.2,6.2,11.5,11.9,15.8c5.7,4.3,11.7,6.4,17.8,6.4h110.7c5.2,0,10.1-1.7,14.7-5.2s7.7-7.8,9.2-12.9
+  l33-108.6c1.8-5.8,1-10.9-2.2-15.5C194.9,39.7,192.6,38,189.5,36.8z M59.6,122.8L73.8,80c0,0,7,0,10.8,0s28.8-1.7,25.4,17.5
+  c-3.4,19.2-18.8,25.2-36.8,25.4S59.6,122.8,59.6,122.8z M78.6,116.8c4.7-0.1,18.9-2.9,22.1-17.1S89.2,86.3,89.2,86.3l-8.9,0
+  l-10.2,30.5C70.2,116.9,74,116.9,78.6,116.8z M75.3,68.7L89,26.2h9.8l0.8,34l23.6-34h9.9l-13.6,42.5h-7.1l12.5-35.4l-24.5,35.4h-6.8
+  l-0.8-35L82,68.7H75.3z"/>
+</svg>
+<!-- Original image Copyright Dave Gandy — CC BY 4.0 License -->
diff --git a/src/theme/highlight.css b/src/theme/highlight.css
new file mode 100644
index 0000000..ab8c49c
--- /dev/null
+++ b/src/theme/highlight.css
@@ -0,0 +1,79 @@
+/* Base16 Atelier Dune Light - Theme */
+/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune) */
+/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
+
+/* Atelier-Dune Comment */
+.hljs-comment,
+.hljs-quote {
+  color: #AAA;
+}
+
+/* Atelier-Dune Red */
+.hljs-variable,
+.hljs-template-variable,
+.hljs-attribute,
+.hljs-tag,
+.hljs-name,
+.hljs-regexp,
+.hljs-link,
+.hljs-name,
+.hljs-selector-id,
+.hljs-selector-class {
+  color: #d73737;
+}
+
+/* Atelier-Dune Orange */
+.hljs-number,
+.hljs-meta,
+.hljs-built_in,
+.hljs-builtin-name,
+.hljs-literal,
+.hljs-type,
+.hljs-params {
+  color: #b65611;
+}
+
+/* Atelier-Dune Green */
+.hljs-string,
+.hljs-symbol,
+.hljs-bullet {
+  color: #60ac39;
+}
+
+/* Atelier-Dune Blue */
+.hljs-title,
+.hljs-section {
+  color: #6684e1;
+}
+
+/* Atelier-Dune Purple */
+.hljs-keyword,
+.hljs-selector-tag {
+  color: #b854d4;
+}
+
+.hljs {
+  display: block;
+  overflow-x: auto;
+  background: #f1f1f1;
+  color: #6e6b5e;
+  padding: 0.5em;
+}
+
+.hljs-emphasis {
+  font-style: italic;
+}
+
+.hljs-strong {
+  font-weight: bold;
+}
+
+.hljs-addition {
+  color: #22863a;
+  background-color: #f0fff4;
+}
+
+.hljs-deletion {
+  color: #b31d28;
+  background-color: #ffeef0;
+}
diff --git a/src/theme/highlight.js b/src/theme/highlight.js
new file mode 100644
index 0000000..180385b
--- /dev/null
+++ b/src/theme/highlight.js
@@ -0,0 +1,6 @@
+/*
+  Highlight.js 10.1.1 (93fd0d73)
+  License: BSD-3-Clause
+  Copyright (c) 2006-2020, Ivan Sagalaev
+*/
+var hljs=function(){"use strict";function e(n){Object.freeze(n);var t="function"==typeof n;return Object.getOwnPropertyNames(n).forEach((function(r){!Object.hasOwnProperty.call(n,r)||null===n[r]||"object"!=typeof n[r]&&"function"!=typeof n[r]||t&&("caller"===r||"callee"===r||"arguments"===r)||Object.isFrozen(n[r])||e(n[r])})),n}class n{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data}ignoreMatch(){this.ignore=!0}}function t(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function r(e,...n){var t={};for(const n in e)t[n]=e[n];return n.forEach((function(e){for(const n in e)t[n]=e[n]})),t}function a(e){return e.nodeName.toLowerCase()}var i=Object.freeze({__proto__:null,escapeHTML:t,inherit:r,nodeStream:function(e){var n=[];return function e(t,r){for(var i=t.firstChild;i;i=i.nextSibling)3===i.nodeType?r+=i.nodeValue.length:1===i.nodeType&&(n.push({event:"start",offset:r,node:i}),r=e(i,r),a(i).match(/br|hr|img|input/)||n.push({event:"stop",offset:r,node:i}));return r}(e,0),n},mergeStreams:function(e,n,r){var i=0,s="",o=[];function l(){return e.length&&n.length?e[0].offset!==n[0].offset?e[0].offset<n[0].offset?e:n:"start"===n[0].event?e:n:e.length?e:n}function c(e){s+="<"+a(e)+[].map.call(e.attributes,(function(e){return" "+e.nodeName+'="'+t(e.value)+'"'})).join("")+">"}function u(e){s+="</"+a(e)+">"}function d(e){("start"===e.event?c:u)(e.node)}for(;e.length||n.length;){var g=l();if(s+=t(r.substring(i,g[0].offset)),i=g[0].offset,g===e){o.reverse().forEach(u);do{d(g.splice(0,1)[0]),g=l()}while(g===e&&g.length&&g[0].offset===i);o.reverse().forEach(c)}else"start"===g[0].event?o.push(g[0].node):o.pop(),d(g.splice(0,1)[0])}return s+t(r.substr(i))}});const s="</span>",o=e=>!!e.kind;class l{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=t(e)}openNode(e){if(!o(e))return;let n=e.kind;e.sublanguage||(n=`${this.classPrefix}${n}`),this.span(n)}closeNode(e){o(e)&&(this.buffer+=s)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}class c{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const n={kind:e,children:[]};this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,n){return"string"==typeof n?e.addText(n):n.children&&(e.openNode(n),n.children.forEach(n=>this._walk(e,n)),e.closeNode(n)),e}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every(e=>"string"==typeof e)?e.children=[e.children.join("")]:e.children.forEach(e=>{c._collapse(e)}))}}class u extends c{constructor(e){super(),this.options=e}addKeyword(e,n){""!==e&&(this.openNode(n),this.addText(e),this.closeNode())}addText(e){""!==e&&this.add(e)}addSublanguage(e,n){const t=e.root;t.kind=n,t.sublanguage=!0,this.add(t)}toHTML(){return new l(this,this.options).value()}finalize(){return!0}}function d(e){return e?"string"==typeof e?e:e.source:null}const g="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",h={begin:"\\\\[\\s\\S]",relevance:0},f={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[h]},p={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[h]},b={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},m=function(e,n,t={}){var a=r({className:"comment",begin:e,end:n,contains:[]},t);return a.contains.push(b),a.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),a},v=m("//","$"),x=m("/\\*","\\*/"),E=m("#","$");var _=Object.freeze({__proto__:null,IDENT_RE:"[a-zA-Z]\\w*",UNDERSCORE_IDENT_RE:"[a-zA-Z_]\\w*",NUMBER_RE:"\\b\\d+(\\.\\d+)?",C_NUMBER_RE:g,BINARY_NUMBER_RE:"\\b(0b[01]+)",RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const n=/^#![ ]*\//;return e.binary&&(e.begin=function(...e){return e.map(e=>d(e)).join("")}(n,/.*\b/,e.binary,/\b.*/)),r({className:"meta",begin:n,end:/$/,relevance:0,"on:begin":(e,n)=>{0!==e.index&&n.ignoreMatch()}},e)},BACKSLASH_ESCAPE:h,APOS_STRING_MODE:f,QUOTE_STRING_MODE:p,PHRASAL_WORDS_MODE:b,COMMENT:m,C_LINE_COMMENT_MODE:v,C_BLOCK_COMMENT_MODE:x,HASH_COMMENT_MODE:E,NUMBER_MODE:{className:"number",begin:"\\b\\d+(\\.\\d+)?",relevance:0},C_NUMBER_MODE:{className:"number",begin:g,relevance:0},BINARY_NUMBER_MODE:{className:"number",begin:"\\b(0b[01]+)",relevance:0},CSS_NUMBER_MODE:{className:"number",begin:"\\b\\d+(\\.\\d+)?(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[h,{begin:/\[/,end:/\]/,relevance:0,contains:[h]}]}]},TITLE_MODE:{className:"title",begin:"[a-zA-Z]\\w*",relevance:0},UNDERSCORE_TITLE_MODE:{className:"title",begin:"[a-zA-Z_]\\w*",relevance:0},METHOD_GUARD:{begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0},END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,n)=>{n.data._beginMatch=e[1]},"on:end":(e,n)=>{n.data._beginMatch!==e[1]&&n.ignoreMatch()}})}}),N="of and for in not or if then".split(" ");function w(e,n){return n?+n:function(e){return N.includes(e.toLowerCase())}(e)?0:1}const R=t,y=r,{nodeStream:k,mergeStreams:O}=i,M=Symbol("nomatch");return function(t){var a=[],i={},s={},o=[],l=!0,c=/(^(<[^>]+>|\t|)+|\n)/gm,g="Could not find the language '{}', did you forget to load/include a language module?";const h={disableAutodetect:!0,name:"Plain text",contains:[]};var f={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:u};function p(e){return f.noHighlightRe.test(e)}function b(e,n,t,r){var a={code:n,language:e};S("before:highlight",a);var i=a.result?a.result:m(a.language,a.code,t,r);return i.code=a.code,S("after:highlight",i),i}function m(e,t,a,s){var o=t;function c(e,n){var t=E.case_insensitive?n[0].toLowerCase():n[0];return Object.prototype.hasOwnProperty.call(e.keywords,t)&&e.keywords[t]}function u(){null!=y.subLanguage?function(){if(""!==A){var e=null;if("string"==typeof y.subLanguage){if(!i[y.subLanguage])return void O.addText(A);e=m(y.subLanguage,A,!0,k[y.subLanguage]),k[y.subLanguage]=e.top}else e=v(A,y.subLanguage.length?y.subLanguage:null);y.relevance>0&&(I+=e.relevance),O.addSublanguage(e.emitter,e.language)}}():function(){if(!y.keywords)return void O.addText(A);let e=0;y.keywordPatternRe.lastIndex=0;let n=y.keywordPatternRe.exec(A),t="";for(;n;){t+=A.substring(e,n.index);const r=c(y,n);if(r){const[e,a]=r;O.addText(t),t="",I+=a,O.addKeyword(n[0],e)}else t+=n[0];e=y.keywordPatternRe.lastIndex,n=y.keywordPatternRe.exec(A)}t+=A.substr(e),O.addText(t)}(),A=""}function h(e){return e.className&&O.openNode(e.className),y=Object.create(e,{parent:{value:y}})}function p(e){return 0===y.matcher.regexIndex?(A+=e[0],1):(L=!0,0)}var b={};function x(t,r){var i=r&&r[0];if(A+=t,null==i)return u(),0;if("begin"===b.type&&"end"===r.type&&b.index===r.index&&""===i){if(A+=o.slice(r.index,r.index+1),!l){const n=Error("0 width match regex");throw n.languageName=e,n.badRule=b.rule,n}return 1}if(b=r,"begin"===r.type)return function(e){var t=e[0],r=e.rule;const a=new n(r),i=[r.__beforeBegin,r["on:begin"]];for(const n of i)if(n&&(n(e,a),a.ignore))return p(t);return r&&r.endSameAsBegin&&(r.endRe=RegExp(t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")),r.skip?A+=t:(r.excludeBegin&&(A+=t),u(),r.returnBegin||r.excludeBegin||(A=t)),h(r),r.returnBegin?0:t.length}(r);if("illegal"===r.type&&!a){const e=Error('Illegal lexeme "'+i+'" for mode "'+(y.className||"<unnamed>")+'"');throw e.mode=y,e}if("end"===r.type){var s=function(e){var t=e[0],r=o.substr(e.index),a=function e(t,r,a){let i=function(e,n){var t=e&&e.exec(n);return t&&0===t.index}(t.endRe,a);if(i){if(t["on:end"]){const e=new n(t);t["on:end"](r,e),e.ignore&&(i=!1)}if(i){for(;t.endsParent&&t.parent;)t=t.parent;return t}}if(t.endsWithParent)return e(t.parent,r,a)}(y,e,r);if(!a)return M;var i=y;i.skip?A+=t:(i.returnEnd||i.excludeEnd||(A+=t),u(),i.excludeEnd&&(A=t));do{y.className&&O.closeNode(),y.skip||y.subLanguage||(I+=y.relevance),y=y.parent}while(y!==a.parent);return a.starts&&(a.endSameAsBegin&&(a.starts.endRe=a.endRe),h(a.starts)),i.returnEnd?0:t.length}(r);if(s!==M)return s}if("illegal"===r.type&&""===i)return 1;if(B>1e5&&B>3*r.index)throw Error("potential infinite loop, way more iterations than matches");return A+=i,i.length}var E=T(e);if(!E)throw console.error(g.replace("{}",e)),Error('Unknown language: "'+e+'"');var _=function(e){function n(n,t){return RegExp(d(n),"m"+(e.case_insensitive?"i":"")+(t?"g":""))}class t{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,n){n.position=this.position++,this.matchIndexes[this.matchAt]=n,this.regexes.push([n,e]),this.matchAt+=function(e){return RegExp(e.toString()+"|").exec("").length-1}(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map(e=>e[1]);this.matcherRe=n(function(e,n="|"){for(var t=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,r=0,a="",i=0;i<e.length;i++){var s=r+=1,o=d(e[i]);for(i>0&&(a+=n),a+="(";o.length>0;){var l=t.exec(o);if(null==l){a+=o;break}a+=o.substring(0,l.index),o=o.substring(l.index+l[0].length),"\\"===l[0][0]&&l[1]?a+="\\"+(+l[1]+s):(a+=l[0],"("===l[0]&&r++)}a+=")"}return a}(e),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const n=this.matcherRe.exec(e);if(!n)return null;const t=n.findIndex((e,n)=>n>0&&void 0!==e),r=this.matchIndexes[t];return n.splice(0,t),Object.assign(n,r)}}class a{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const n=new t;return this.rules.slice(e).forEach(([e,t])=>n.addRule(e,t)),n.compile(),this.multiRegexes[e]=n,n}considerAll(){this.regexIndex=0}addRule(e,n){this.rules.push([e,n]),"begin"===n.type&&this.count++}exec(e){const n=this.getMatcher(this.regexIndex);n.lastIndex=this.lastIndex;const t=n.exec(e);return t&&(this.regexIndex+=t.position+1,this.regexIndex===this.count&&(this.regexIndex=0)),t}}function i(e,n){const t=e.input[e.index-1],r=e.input[e.index+e[0].length];"."!==t&&"."!==r||n.ignoreMatch()}if(e.contains&&e.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language.  See documentation.");return function t(s,o){const l=s;if(s.compiled)return l;s.compiled=!0,s.__beforeBegin=null,s.keywords=s.keywords||s.beginKeywords;let c=null;if("object"==typeof s.keywords&&(c=s.keywords.$pattern,delete s.keywords.$pattern),s.keywords&&(s.keywords=function(e,n){var t={};return"string"==typeof e?r("keyword",e):Object.keys(e).forEach((function(n){r(n,e[n])})),t;function r(e,r){n&&(r=r.toLowerCase()),r.split(" ").forEach((function(n){var r=n.split("|");t[r[0]]=[e,w(r[0],r[1])]}))}}(s.keywords,e.case_insensitive)),s.lexemes&&c)throw Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return l.keywordPatternRe=n(s.lexemes||c||/\w+/,!0),o&&(s.beginKeywords&&(s.begin="\\b("+s.beginKeywords.split(" ").join("|")+")(?=\\b|\\s)",s.__beforeBegin=i),s.begin||(s.begin=/\B|\b/),l.beginRe=n(s.begin),s.endSameAsBegin&&(s.end=s.begin),s.end||s.endsWithParent||(s.end=/\B|\b/),s.end&&(l.endRe=n(s.end)),l.terminator_end=d(s.end)||"",s.endsWithParent&&o.terminator_end&&(l.terminator_end+=(s.end?"|":"")+o.terminator_end)),s.illegal&&(l.illegalRe=n(s.illegal)),void 0===s.relevance&&(s.relevance=1),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map((function(e){return function(e){return e.variants&&!e.cached_variants&&(e.cached_variants=e.variants.map((function(n){return r(e,{variants:null},n)}))),e.cached_variants?e.cached_variants:function e(n){return!!n&&(n.endsWithParent||e(n.starts))}(e)?r(e,{starts:e.starts?r(e.starts):null}):Object.isFrozen(e)?r(e):e}("self"===e?s:e)}))),s.contains.forEach((function(e){t(e,l)})),s.starts&&t(s.starts,o),l.matcher=function(e){const n=new a;return e.contains.forEach(e=>n.addRule(e.begin,{rule:e,type:"begin"})),e.terminator_end&&n.addRule(e.terminator_end,{type:"end"}),e.illegal&&n.addRule(e.illegal,{type:"illegal"}),n}(l),l}(e)}(E),N="",y=s||_,k={},O=new f.__emitter(f);!function(){for(var e=[],n=y;n!==E;n=n.parent)n.className&&e.unshift(n.className);e.forEach(e=>O.openNode(e))}();var A="",I=0,S=0,B=0,L=!1;try{for(y.matcher.considerAll();;){B++,L?L=!1:(y.matcher.lastIndex=S,y.matcher.considerAll());const e=y.matcher.exec(o);if(!e)break;const n=x(o.substring(S,e.index),e);S=e.index+n}return x(o.substr(S)),O.closeAllNodes(),O.finalize(),N=O.toHTML(),{relevance:I,value:N,language:e,illegal:!1,emitter:O,top:y}}catch(n){if(n.message&&n.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:n.message,context:o.slice(S-100,S+100),mode:n.mode},sofar:N,relevance:0,value:R(o),emitter:O};if(l)return{illegal:!1,relevance:0,value:R(o),emitter:O,language:e,top:y,errorRaised:n};throw n}}function v(e,n){n=n||f.languages||Object.keys(i);var t=function(e){const n={relevance:0,emitter:new f.__emitter(f),value:R(e),illegal:!1,top:h};return n.emitter.addText(e),n}(e),r=t;return n.filter(T).filter(I).forEach((function(n){var a=m(n,e,!1);a.language=n,a.relevance>r.relevance&&(r=a),a.relevance>t.relevance&&(r=t,t=a)})),r.language&&(t.second_best=r),t}function x(e){return f.tabReplace||f.useBR?e.replace(c,e=>"\n"===e?f.useBR?"<br>":e:f.tabReplace?e.replace(/\t/g,f.tabReplace):e):e}function E(e){let n=null;const t=function(e){var n=e.className+" ";n+=e.parentNode?e.parentNode.className:"";const t=f.languageDetectRe.exec(n);if(t){var r=T(t[1]);return r||(console.warn(g.replace("{}",t[1])),console.warn("Falling back to no-highlight mode for this block.",e)),r?t[1]:"no-highlight"}return n.split(/\s+/).find(e=>p(e)||T(e))}(e);if(p(t))return;S("before:highlightBlock",{block:e,language:t}),f.useBR?(n=document.createElement("div")).innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,"\n"):n=e;const r=n.textContent,a=t?b(t,r,!0):v(r),i=k(n);if(i.length){const e=document.createElement("div");e.innerHTML=a.value,a.value=O(i,k(e),r)}a.value=x(a.value),S("after:highlightBlock",{block:e,result:a}),e.innerHTML=a.value,e.className=function(e,n,t){var r=n?s[n]:t,a=[e.trim()];return e.match(/\bhljs\b/)||a.push("hljs"),e.includes(r)||a.push(r),a.join(" ").trim()}(e.className,t,a.language),e.result={language:a.language,re:a.relevance,relavance:a.relevance},a.second_best&&(e.second_best={language:a.second_best.language,re:a.second_best.relevance,relavance:a.second_best.relevance})}const N=()=>{if(!N.called){N.called=!0;var e=document.querySelectorAll("pre code");a.forEach.call(e,E)}};function T(e){return e=(e||"").toLowerCase(),i[e]||i[s[e]]}function A(e,{languageName:n}){"string"==typeof e&&(e=[e]),e.forEach(e=>{s[e]=n})}function I(e){var n=T(e);return n&&!n.disableAutodetect}function S(e,n){var t=e;o.forEach((function(e){e[t]&&e[t](n)}))}Object.assign(t,{highlight:b,highlightAuto:v,fixMarkup:x,highlightBlock:E,configure:function(e){f=y(f,e)},initHighlighting:N,initHighlightingOnLoad:function(){window.addEventListener("DOMContentLoaded",N,!1)},registerLanguage:function(e,n){var r=null;try{r=n(t)}catch(n){if(console.error("Language definition for '{}' could not be registered.".replace("{}",e)),!l)throw n;console.error(n),r=h}r.name||(r.name=e),i[e]=r,r.rawDefinition=n.bind(null,t),r.aliases&&A(r.aliases,{languageName:e})},listLanguages:function(){return Object.keys(i)},getLanguage:T,registerAliases:A,requireLanguage:function(e){var n=T(e);if(n)return n;throw Error("The '{}' language is required, but not loaded.".replace("{}",e))},autoDetection:I,inherit:y,addPlugin:function(e){o.push(e)}}),t.debugMode=function(){l=!1},t.safeMode=function(){l=!0},t.versionString="10.1.1";for(const n in _)"object"==typeof _[n]&&e(_[n]);return Object.assign(t,_),t}({})}();"object"==typeof exports&&"undefined"!=typeof module&&(module.exports=hljs);hljs.registerLanguage("php",function(){"use strict";return function(e){var r={begin:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*"},t={className:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?[=]?/},{begin:/\?>/}]},a={className:"string",contains:[e.BACKSLASH_ESCAPE,t],variants:[{begin:'b"',end:'"'},{begin:"b'",end:"'"},e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},n={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},i={keyword:"__CLASS__ __DIR__ __FILE__ __FUNCTION__ __LINE__ __METHOD__ __NAMESPACE__ __TRAIT__ die echo exit include include_once print require require_once array abstract and as binary bool boolean break callable case catch class clone const continue declare default do double else elseif empty enddeclare endfor endforeach endif endswitch endwhile eval extends final finally float for foreach from global goto if implements instanceof insteadof int integer interface isset iterable list new object or private protected public real return string switch throw trait try unset use var void while xor yield",literal:"false null true",built_in:"Error|0 AppendIterator ArgumentCountError ArithmeticError ArrayIterator ArrayObject AssertionError BadFunctionCallException BadMethodCallException CachingIterator CallbackFilterIterator CompileError Countable DirectoryIterator DivisionByZeroError DomainException EmptyIterator ErrorException Exception FilesystemIterator FilterIterator GlobIterator InfiniteIterator InvalidArgumentException IteratorIterator LengthException LimitIterator LogicException MultipleIterator NoRewindIterator OutOfBoundsException OutOfRangeException OuterIterator OverflowException ParentIterator ParseError RangeException RecursiveArrayIterator RecursiveCachingIterator RecursiveCallbackFilterIterator RecursiveDirectoryIterator RecursiveFilterIterator RecursiveIterator RecursiveIteratorIterator RecursiveRegexIterator RecursiveTreeIterator RegexIterator RuntimeException SeekableIterator SplDoublyLinkedList SplFileInfo SplFileObject SplFixedArray SplHeap SplMaxHeap SplMinHeap SplObjectStorage SplObserver SplObserver SplPriorityQueue SplQueue SplStack SplSubject SplSubject SplTempFileObject TypeError UnderflowException UnexpectedValueException ArrayAccess Closure Generator Iterator IteratorAggregate Serializable Throwable Traversable WeakReference Directory __PHP_Incomplete_Class parent php_user_filter self static stdClass"};return{aliases:["php","php3","php4","php5","php6","php7"],case_insensitive:!0,keywords:i,contains:[e.HASH_COMMENT_MODE,e.COMMENT("//","$",{contains:[t]}),e.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,keywords:"__halt_compiler"}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;?$/,contains:[e.BACKSLASH_ESCAPE,{className:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]}]},t,{className:"keyword",begin:/\$this\b/},r,{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:i,contains:["self",r,e.C_BLOCK_COMMENT_MODE,a,n]}]},{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:!0,illegal:/[:\(\$"]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",end:";",illegal:/[\.']/,contains:[e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",end:";",contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"=>"},a,n]}}}());hljs.registerLanguage("nginx",function(){"use strict";return function(e){var n={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{/,end:/}/},{begin:"[\\$\\@]"+e.UNDERSCORE_IDENT_RE}]},a={endsWithParent:!0,keywords:{$pattern:"[a-z/_]+",literal:"on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[n]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:"\\s\\^",end:"\\s|{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]*\\b",relevance:0},n]};return{name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{begin:e.UNDERSCORE_IDENT_RE+"\\s+{",returnBegin:!0,end:"{",contains:[{className:"section",begin:e.UNDERSCORE_IDENT_RE}],relevance:0},{begin:e.UNDERSCORE_IDENT_RE+"\\s",end:";|{",returnBegin:!0,contains:[{className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:a}],relevance:0}],illegal:"[^\\s\\}]"}}}());hljs.registerLanguage("csharp",function(){"use strict";return function(e){var n={keyword:"abstract as base bool break byte case catch char checked const continue decimal default delegate do double enum event explicit extern finally fixed float for foreach goto if implicit in int interface internal is lock long object operator out override params private protected public readonly ref sbyte sealed short sizeof stackalloc static string struct switch this try typeof uint ulong unchecked unsafe ushort using virtual void volatile while add alias ascending async await by descending dynamic equals from get global group into join let nameof on orderby partial remove select set value var when where yield",literal:"null false true"},i=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),a={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},s={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},t=e.inherit(s,{illegal:/\n/}),l={className:"subst",begin:"{",end:"}",keywords:n},r=e.inherit(l,{illegal:/\n/}),c={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:"{{"},{begin:"}}"},e.BACKSLASH_ESCAPE,r]},o={className:"string",begin:/\$@"/,end:'"',contains:[{begin:"{{"},{begin:"}}"},{begin:'""'},l]},g=e.inherit(o,{illegal:/\n/,contains:[{begin:"{{"},{begin:"}}"},{begin:'""'},r]});l.contains=[o,c,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.C_BLOCK_COMMENT_MODE],r.contains=[g,c,t,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];var d={variants:[o,c,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},E={begin:"<",end:">",contains:[{beginKeywords:"in out"},i]},_=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",b={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:n,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elif endif define undef warning error line region endregion pragma checksum"}},d,a,{beginKeywords:"class interface",end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},i,E,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",end:/[{;=]/,illegal:/[^\s:]/,contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"meta-string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+_+"\\s+)+"+e.IDENT_RE+"\\s*(\\<.+\\>)?\\s*\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:n,contains:[{begin:e.IDENT_RE+"\\s*(\\<.+\\>)?\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE,E],relevance:0},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:n,relevance:0,contains:[d,a,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},b]}}}());hljs.registerLanguage("perl",function(){"use strict";return function(e){var n={$pattern:/[\w.]+/,keyword:"getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qq fileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent shutdown dump chomp connect getsockname die socketpair close flock exists index shmget sub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedir ioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when"},t={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:n},s={begin:"->{",end:"}"},r={variants:[{begin:/\$\d/},{begin:/[\$%@](\^\w\b|#\w+(::\w+)*|{\w+}|\w+(::\w*)*)/},{begin:/[\$%@][^\s\w{]/,relevance:0}]},i=[e.BACKSLASH_ESCAPE,t,r],a=[r,e.HASH_COMMENT_MODE,e.COMMENT("^\\=\\w","\\=cut",{endsWithParent:!0}),s,{className:"string",contains:i,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*\\<",end:"\\>",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:"{\\w+}",contains:[],relevance:0},{begin:"-?\\w+\\s*\\=\\>",contains:[],relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",begin:"(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*",relevance:10},{className:"regexp",begin:"(m|qr)?/",end:"/[a-z]*",contains:[e.BACKSLASH_ESCAPE],relevance:0}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return t.contains=a,s.contains=a,{name:"Perl",aliases:["pl","pm"],keywords:n,contains:a}}}());hljs.registerLanguage("swift",function(){"use strict";return function(e){var i={keyword:"#available #colorLiteral #column #else #elseif #endif #file #fileLiteral #function #if #imageLiteral #line #selector #sourceLocation _ __COLUMN__ __FILE__ __FUNCTION__ __LINE__ Any as as! as? associatedtype associativity break case catch class continue convenience default defer deinit didSet do dynamic dynamicType else enum extension fallthrough false fileprivate final for func get guard if import in indirect infix init inout internal is lazy left let mutating nil none nonmutating open operator optional override postfix precedence prefix private protocol Protocol public repeat required rethrows return right self Self set static struct subscript super switch throw throws true try try! try? Type typealias unowned var weak where while willSet",literal:"true false nil",built_in:"abs advance alignof alignofValue anyGenerator assert assertionFailure bridgeFromObjectiveC bridgeFromObjectiveCUnconditional bridgeToObjectiveC bridgeToObjectiveCUnconditional c compactMap contains count countElements countLeadingZeros debugPrint debugPrintln distance dropFirst dropLast dump encodeBitsAsWords enumerate equal fatalError filter find getBridgedObjectiveCType getVaList indices insertionSort isBridgedToObjectiveC isBridgedVerbatimToObjectiveC isUniquelyReferenced isUniquelyReferencedNonObjC join lazy lexicographicalCompare map max maxElement min minElement numericCast overlaps partition posix precondition preconditionFailure print println quickSort readLine reduce reflect reinterpretCast reverse roundUpToAlignment sizeof sizeofValue sort split startsWith stride strideof strideofValue swap toString transcode underestimateCount unsafeAddressOf unsafeBitCast unsafeDowncast unsafeUnwrap unsafeReflect withExtendedLifetime withObjectAtPlusZero withUnsafePointer withUnsafePointerToObject withUnsafeMutablePointer withUnsafeMutablePointers withUnsafePointer withUnsafePointers withVaList zip"},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),t={className:"subst",begin:/\\\(/,end:"\\)",keywords:i,contains:[]},a={className:"string",contains:[e.BACKSLASH_ESCAPE,t],variants:[{begin:/"""/,end:/"""/},{begin:/"/,end:/"/}]},r={className:"number",begin:"\\b([\\d_]+(\\.[\\deE_]+)?|0x[a-fA-F0-9_]+(\\.[a-fA-F0-9p_]+)?|0b[01_]+|0o[0-7_]+)\\b",relevance:0};return t.contains=[r],{name:"Swift",keywords:i,contains:[a,e.C_LINE_COMMENT_MODE,n,{className:"type",begin:"\\b[A-Z][\\wÀ-ʸ']*[!?]"},{className:"type",begin:"\\b[A-Z][\\wÀ-ʸ']*",relevance:0},r,{className:"function",beginKeywords:"func",end:"{",excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{begin:/</,end:/>/},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:i,contains:["self",r,a,e.C_BLOCK_COMMENT_MODE,{begin:":"}],illegal:/["']/}],illegal:/\[|%/},{className:"class",beginKeywords:"struct protocol class extension enum",keywords:i,end:"\\{",excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/})]},{className:"meta",begin:"(@discardableResult|@warn_unused_result|@exported|@lazy|@noescape|@NSCopying|@NSManaged|@objc|@objcMembers|@convention|@required|@noreturn|@IBAction|@IBDesignable|@IBInspectable|@IBOutlet|@infix|@prefix|@postfix|@autoclosure|@testable|@available|@nonobjc|@NSApplicationMain|@UIApplicationMain|@dynamicMemberLookup|@propertyWrapper)\\b"},{beginKeywords:"import",end:/$/,contains:[e.C_LINE_COMMENT_MODE,n]}]}}}());hljs.registerLanguage("makefile",function(){"use strict";return function(e){var i={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,i]},a={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[i]},r={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},s={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[i]};return{name:"Makefile",aliases:["mk","mak"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[e.HASH_COMMENT_MODE,i,n,a,r,{className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,"meta-keyword":".PHONY"}},s]}}}());hljs.registerLanguage("css",function(){"use strict";return function(e){var n={begin:/(?:[A-Z\_\.\-]+|--[a-zA-Z0-9_-]+)\s*:/,returnBegin:!0,end:";",endsWithParent:!0,contains:[{className:"attribute",begin:/\S/,end:":",excludeEnd:!0,starts:{endsWithParent:!0,excludeEnd:!0,contains:[{begin:/[\w-]+\(/,returnBegin:!0,contains:[{className:"built_in",begin:/[\w-]+/},{begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.CSS_NUMBER_MODE]}]},e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",begin:"#[0-9A-Fa-f]+"},{className:"meta",begin:"!important"}]}}]};return{name:"CSS",case_insensitive:!0,illegal:/[=\/|'\$]/,contains:[e.C_BLOCK_COMMENT_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/},{className:"selector-class",begin:/\.[A-Za-z0-9_-]+/},{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},{className:"selector-pseudo",begin:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{begin:"@(page|font-face)",lexemes:"@[a-z-]+",keywords:"@page @font-face"},{begin:"@",end:"[{;]",illegal:/:/,returnBegin:!0,contains:[{className:"keyword",begin:/@\-?\w[\w]*(\-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:"and or not only",contains:[{begin:/[a-z-]+:/,className:"attribute"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},{begin:"{",end:"}",illegal:/\S/,contains:[e.C_BLOCK_COMMENT_MODE,n]}]}}}());hljs.registerLanguage("xml",function(){"use strict";return function(e){var n={className:"symbol",begin:"&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;"},a={begin:"\\s",contains:[{className:"meta-keyword",begin:"#?[a-z_][a-z1-9_-]+",illegal:"\\n"}]},s=e.inherit(a,{begin:"\\(",end:"\\)"}),t=e.inherit(e.APOS_STRING_MODE,{className:"meta-string"}),i=e.inherit(e.QUOTE_STRING_MODE,{className:"meta-string"}),c={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:"[A-Za-z0-9\\._:-]+",relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[n]},{begin:/'/,end:/'/,contains:[n]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:"<![a-z]",end:">",relevance:10,contains:[a,i,t,s,{begin:"\\[",end:"\\]",contains:[{className:"meta",begin:"<![a-z]",end:">",contains:[a,s,i,t]}]}]},e.COMMENT("\x3c!--","--\x3e",{relevance:10}),{begin:"<\\!\\[CDATA\\[",end:"\\]\\]>",relevance:10},n,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:"<style(?=\\s|>)",end:">",keywords:{name:"style"},contains:[c],starts:{end:"</style>",returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:"<script(?=\\s|>)",end:">",keywords:{name:"script"},contains:[c],starts:{end:"<\/script>",returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:"</?",end:"/?>",contains:[{className:"name",begin:/[^\/><\s]+/,relevance:0},c]}]}}}());hljs.registerLanguage("bash",function(){"use strict";return function(e){const s={};Object.assign(s,{className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{/,end:/\}/,contains:[{begin:/:-/,contains:[s]}]}]});const t={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},n={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,t]};t.contains.push(n);const a={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,s]},i=e.SHEBANG({binary:"(fish|bash|zsh|sh|csh|ksh|tcsh|dash|scsh)",relevance:10}),c={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b-?[a-z\._]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp",_:"-ne -eq -lt -gt -f -d -e -s -l -a"},contains:[i,e.SHEBANG(),c,a,e.HASH_COMMENT_MODE,n,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},s]}}}());hljs.registerLanguage("c-like",function(){"use strict";return function(e){function t(e){return"(?:"+e+")?"}var n="(decltype\\(auto\\)|"+t("[a-zA-Z_]\\w*::")+"[a-zA-Z_]\\w*"+t("<.*?>")+")",r={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},a={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},i={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},s={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(a,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},o={className:"title",begin:t("[a-zA-Z_]\\w*::")+e.IDENT_RE,relevance:0},c=t("[a-zA-Z_]\\w*::")+e.IDENT_RE+"\\s*\\(",l={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary",literal:"true false nullptr NULL"},d=[r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,a],_={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:l,contains:d.concat([{begin:/\(/,end:/\)/,keywords:l,contains:d.concat(["self"]),relevance:0}]),relevance:0},u={className:"function",begin:"("+n+"[\\*&\\s]+)+"+c,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:l,illegal:/[^\w\s\*&:<>]/,contains:[{begin:"decltype\\(auto\\)",keywords:l,relevance:0},{begin:c,returnBegin:!0,contains:[o],relevance:0},{className:"params",begin:/\(/,end:/\)/,keywords:l,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,i,r,{begin:/\(/,end:/\)/,keywords:l,relevance:0,contains:["self",e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,i,r]}]},r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s]};return{aliases:["c","cc","h","c++","h++","hpp","hh","hxx","cxx"],keywords:l,disableAutodetect:!0,illegal:"</",contains:[].concat(_,u,d,[s,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",end:">",keywords:l,contains:["self",r]},{begin:e.IDENT_RE+"::",keywords:l},{className:"class",beginKeywords:"class struct",end:/[{;:]/,contains:[{begin:/</,end:/>/,contains:["self"]},e.TITLE_MODE]}]),exports:{preprocessor:s,strings:a,keywords:l}}}}());hljs.registerLanguage("coffeescript",function(){"use strict";const e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],a=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);return function(r){var t={keyword:e.concat(["then","unless","until","loop","by","when","and","or","is","isnt","not"]).filter((e=>n=>!e.includes(n))(["var","const","let","function","static"])).join(" "),literal:n.concat(["yes","no","on","off"]).join(" "),built_in:a.concat(["npm","print"]).join(" ")},i="[A-Za-z$_][0-9A-Za-z$_]*",s={className:"subst",begin:/#\{/,end:/}/,keywords:t},o=[r.BINARY_NUMBER_MODE,r.inherit(r.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[r.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[r.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[r.BACKSLASH_ESCAPE,s]},{begin:/"/,end:/"/,contains:[r.BACKSLASH_ESCAPE,s]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[s,r.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+i},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];s.contains=o;var c=r.inherit(r.TITLE_MODE,{begin:i}),l={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(o)}]};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:t,illegal:/\/\*/,contains:o.concat([r.COMMENT("###","###"),r.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+i+"\\s*=\\s*(\\(.*\\))?\\s*\\B[-=]>",end:"[-=]>",returnBegin:!0,contains:[c,l]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:"(\\(.*\\))?\\s*\\B[-=]>",end:"[-=]>",returnBegin:!0,contains:[l]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[c]},c]},{begin:i+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}}());hljs.registerLanguage("ruby",function(){"use strict";return function(e){var n="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",a={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor",literal:"true false nil"},s={className:"doctag",begin:"@[A-Za-z]+"},i={begin:"#<",end:">"},r=[e.COMMENT("#","$",{contains:[s]}),e.COMMENT("^\\=begin","^\\=end",{contains:[s],relevance:10}),e.COMMENT("^__END__","\\n$")],c={className:"subst",begin:"#\\{",end:"}",keywords:a},t={className:"string",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[qQwWx]?\\(",end:"\\)"},{begin:"%[qQwWx]?\\[",end:"\\]"},{begin:"%[qQwWx]?{",end:"}"},{begin:"%[qQwWx]?<",end:">"},{begin:"%[qQwWx]?/",end:"/"},{begin:"%[qQwWx]?%",end:"%"},{begin:"%[qQwWx]?-",end:"-"},{begin:"%[qQwWx]?\\|",end:"\\|"},{begin:/\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/},{begin:/<<[-~]?'?(\w+)(?:.|\n)*?\n\s*\1\b/,returnBegin:!0,contains:[{begin:/<<[-~]?'?/},e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,c]})]}]},b={className:"params",begin:"\\(",end:"\\)",endsParent:!0,keywords:a},d=[t,i,{className:"class",beginKeywords:"class module",end:"$|;",illegal:/=/,contains:[e.inherit(e.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{begin:"<\\s*",contains:[{begin:"("+e.IDENT_RE+"::)?"+e.IDENT_RE}]}].concat(r)},{className:"function",beginKeywords:"def",end:"$|;",contains:[e.inherit(e.TITLE_MODE,{begin:n}),b].concat(r)},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(\\!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[t,{begin:n}],relevance:0},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{className:"params",begin:/\|/,end:/\|/,keywords:a},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[i,{className:"regexp",contains:[e.BACKSLASH_ESCAPE,c],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:"%r{",end:"}[a-z]*"},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(r),relevance:0}].concat(r);c.contains=d,b.contains=d;var g=[{begin:/^\s*=>/,starts:{end:"$",contains:d}},{className:"meta",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+>|(\\w+-)?\\d+\\.\\d+\\.\\d(p\\d+)?[^>]+>)",starts:{end:"$",contains:d}}];return{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:r.concat(g).concat(d)}}}());hljs.registerLanguage("yaml",function(){"use strict";return function(e){var n="true false yes no null",a="[\\w#;/?:@&=+$,.~*\\'()[\\]]+",s={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:"{{",end:"}}"},{begin:"%{",end:"}"}]}]},i=e.inherit(s,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l={end:",",endsWithParent:!0,excludeEnd:!0,contains:[],keywords:n,relevance:0},t={begin:"{",end:"}",contains:[l],illegal:"\\n",relevance:0},g={begin:"\\[",end:"\\]",contains:[l],illegal:"\\n",relevance:0},b=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---s*$",relevance:10},{className:"string",begin:"[\\|>]([0-9]?[+-])?[ ]*\\n( *)[\\S ]+\\n(\\2[\\S ]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+a},{className:"type",begin:"!<"+a+">"},{className:"type",begin:"!"+a},{className:"type",begin:"!!"+a},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"\\-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},{className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},{className:"number",begin:e.C_NUMBER_RE+"\\b"},t,g,s],c=[...b];return c.pop(),c.push(i),l.contains=c,{name:"YAML",case_insensitive:!0,aliases:["yml","YAML"],contains:b}}}());hljs.registerLanguage("d",function(){"use strict";return function(e){var a={$pattern:e.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},d="((0|[1-9][\\d_]*)|0[bB][01_]+|0[xX]([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*))",n="\\\\(['\"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};",t={className:"number",begin:"\\b"+d+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},_={className:"number",begin:"\\b(((0[xX](([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)\\.([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)|\\.?([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*))[pP][+-]?(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d))|((0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)(\\.\\d*|([eE][+-]?(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)))|\\d+\\.(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)|\\.(0|[1-9][\\d_]*)([eE][+-]?(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d))?))([fF]|L|i|[fF]i|Li)?|"+d+"(i|[fF]i|Li))",relevance:0},r={className:"string",begin:"'("+n+"|.)",end:"'",illegal:"."},i={className:"string",begin:'"',contains:[{begin:n,relevance:0}],end:'"[cwd]?'},s=e.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:a,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s,{className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},i,{className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},{className:"string",begin:"`",end:"`[cwd]?"},{className:"string",begin:'q"\\{',end:'\\}"'},_,t,r,{className:"meta",begin:"^#!",end:"$",relevance:5},{className:"meta",begin:"#(line)",end:"$",relevance:5},{className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"}]}}}());hljs.registerLanguage("properties",function(){"use strict";return function(e){var n="[ \\t\\f]*",t="("+n+"[:=]"+n+"|[ \\t\\f]+)",a="([^\\\\:= \\t\\f\\n]|\\\\.)+",s={end:t,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\n"}]}};return{name:".properties",case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{begin:"([^\\\\\\W:= \\t\\f\\n]|\\\\.)+"+t,returnBegin:!0,contains:[{className:"attr",begin:"([^\\\\\\W:= \\t\\f\\n]|\\\\.)+",endsParent:!0,relevance:0}],starts:s},{begin:a+t,returnBegin:!0,relevance:0,contains:[{className:"meta",begin:a,endsParent:!0,relevance:0}],starts:s},{className:"attr",relevance:0,begin:a+n+"$"}]}}}());hljs.registerLanguage("http",function(){"use strict";return function(e){var n="HTTP/[0-9\\.]+";return{name:"HTTP",aliases:["https"],illegal:"\\S",contains:[{begin:"^"+n,end:"$",contains:[{className:"number",begin:"\\b\\d{3}\\b"}]},{begin:"^[A-Z]+ (.*?) "+n+"$",returnBegin:!0,end:"$",contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{begin:n},{className:"keyword",begin:"[A-Z]+"}]},{className:"attribute",begin:"^\\w",end:": ",excludeEnd:!0,illegal:"\\n|\\s|=",starts:{end:"$",relevance:0}},{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}]}}}());hljs.registerLanguage("haskell",function(){"use strict";return function(e){var n={variants:[e.COMMENT("--","$"),e.COMMENT("{-","-}",{contains:["self"]})]},i={className:"meta",begin:"{-#",end:"#-}"},a={className:"meta",begin:"^#",end:"$"},s={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},l={begin:"\\(",end:"\\)",illegal:'"',contains:[i,a,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),n]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[l,n],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[l,n],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[s,l,n]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[i,s,l,{begin:"{",end:"}",contains:l.contains},n]},{beginKeywords:"default",end:"$",contains:[s,l,n]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,n]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[s,e.QUOTE_STRING_MODE,n]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},i,a,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,s,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),n,{begin:"->|<-"}]}}}());hljs.registerLanguage("handlebars",function(){"use strict";function e(...e){return e.map(e=>(function(e){return e?"string"==typeof e?e:e.source:null})(e)).join("")}return function(n){const a={"builtin-name":"action bindattr collection component concat debugger each each-in get hash if in input link-to loc log lookup mut outlet partial query-params render template textarea unbound unless view with yield"},t=/\[.*?\]/,s=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,i=e("(",/'.*?'/,"|",/".*?"/,"|",t,"|",s,"|",/\.|\//,")+"),r=e("(",t,"|",s,")(?==)"),l={begin:i,lexemes:/[\w.\/]+/},c=n.inherit(l,{keywords:{literal:"true false undefined null"}}),o={begin:/\(/,end:/\)/},m={className:"attr",begin:r,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[n.NUMBER_MODE,n.QUOTE_STRING_MODE,n.APOS_STRING_MODE,c,o]}}},d={contains:[n.NUMBER_MODE,n.QUOTE_STRING_MODE,n.APOS_STRING_MODE,{begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},m,c,o],returnEnd:!0},g=n.inherit(l,{className:"name",keywords:a,starts:n.inherit(d,{end:/\)/})});o.contains=[g];const u=n.inherit(l,{keywords:a,className:"name",starts:n.inherit(d,{end:/}}/})}),b=n.inherit(l,{keywords:a,className:"name"}),h=n.inherit(l,{className:"name",keywords:a,starts:n.inherit(d,{end:/}}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},n.COMMENT(/\{\{!--/,/--\}\}/),n.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[u],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[b]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[u]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[b]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[h]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[h]}]}}}());hljs.registerLanguage("rust",function(){"use strict";return function(e){var n="([ui](8|16|32|64|128|size)|f(32|64))?",t="drop i8 i16 i32 i64 i128 isize u8 u16 u32 u64 u128 usize f32 f64 str char bool Box Option Result String Vec Copy Send Sized Sync Drop Fn FnMut FnOnce ToOwned Clone Debug PartialEq PartialOrd Eq Ord AsRef AsMut Into From Default Iterator Extend IntoIterator DoubleEndedIterator ExactSizeIterator SliceConcatExt ToString assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! debug_assert! debug_assert_eq! env! panic! file! format! format_args! include_bin! include_str! line! local_data_key! module_path! option_env! print! println! select! stringify! try! unimplemented! unreachable! vec! write! writeln! macro_rules! assert_ne! debug_assert_ne!";return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",keyword:"abstract as async await become box break const continue crate do dyn else enum extern false final fn for if impl in let loop macro match mod move mut override priv pub ref return self Self static struct super trait true try type typeof unsafe unsized use virtual where while yield",literal:"true false Some None Ok Err",built_in:t},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"string",variants:[{begin:/r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{begin:"\\b0b([01_]+)"+n},{begin:"\\b0o([0-7_]+)"+n},{begin:"\\b0x([A-Fa-f0-9_]+)"+n},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+n}],relevance:0},{className:"function",beginKeywords:"fn",end:"(\\(|<)",excludeEnd:!0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"meta",begin:"#\\!?\\[",end:"\\]",contains:[{className:"meta-string",begin:/"/,end:/"/}]},{className:"class",beginKeywords:"type",end:";",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{endsParent:!0})],illegal:"\\S"},{className:"class",beginKeywords:"trait enum struct union",end:"{",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{endsParent:!0})],illegal:"[\\w\\d]"},{begin:e.IDENT_RE+"::",keywords:{built_in:t}},{begin:"->"}]}}}());hljs.registerLanguage("cpp",function(){"use strict";return function(e){var t=e.getLanguage("c-like").rawDefinition();return t.disableAutodetect=!1,t.name="C++",t.aliases=["cc","c++","h++","hpp","hh","hxx","cxx"],t}}());hljs.registerLanguage("ini",function(){"use strict";function e(e){return e?"string"==typeof e?e:e.source:null}function n(...n){return n.map(n=>e(n)).join("")}return function(a){var s={className:"number",relevance:0,variants:[{begin:/([\+\-]+)?[\d]+_[\d_]+/},{begin:a.NUMBER_RE}]},i=a.COMMENT();i.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];var t={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)}/}]},r={className:"literal",begin:/\bon|off|true|false|yes|no\b/},l={className:"string",contains:[a.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},c={begin:/\[/,end:/\]/,contains:[i,r,t,l,s,"self"],relevance:0},g="("+[/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/].map(n=>e(n)).join("|")+")";return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[i,{className:"section",begin:/\[+/,end:/\]+/},{begin:n(g,"(\\s*\\.\\s*",g,")*",n("(?=",/\s*=\s*[^#\s]/,")")),className:"attr",starts:{end:/$/,contains:[i,c,r,t,l,s]}}]}}}());hljs.registerLanguage("objectivec",function(){"use strict";return function(e){var n=/[a-zA-Z@][a-zA-Z0-9_]*/,_={$pattern:n,keyword:"@interface @class @protocol @implementation"};return{name:"Objective-C",aliases:["mm","objc","obj-c"],keywords:{$pattern:n,keyword:"int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign readwrite self @synchronized id typeof nonatomic super unichar IBOutlet IBAction strong weak copy in out inout bycopy byref oneway __strong __weak __block __autoreleasing @private @protected @public @try @property @end @throw @catch @finally @autoreleasepool @synthesize @dynamic @selector @optional @required @encode @package @import @defs @compatibility_alias __bridge __bridge_transfer __bridge_retained __bridge_retain __covariant __contravariant __kindof _Nonnull _Nullable _Null_unspecified __FUNCTION__ __PRETTY_FUNCTION__ __attribute__ getter setter retain unsafe_unretained nonnull nullable null_unspecified null_resettable class instancetype NS_DESIGNATED_INITIALIZER NS_UNAVAILABLE NS_REQUIRES_SUPER NS_RETURNS_INNER_POINTER NS_INLINE NS_AVAILABLE NS_DEPRECATED NS_ENUM NS_OPTIONS NS_SWIFT_UNAVAILABLE NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_REFINED_FOR_SWIFT NS_SWIFT_NAME NS_SWIFT_NOTHROW NS_DURING NS_HANDLER NS_ENDHANDLER NS_VALUERETURN NS_VOIDRETURN",literal:"false true FALSE TRUE nil YES NO NULL",built_in:"BOOL dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once"},illegal:"</",contains:[{className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+_.keyword.split(" ").join("|")+")\\b",end:"({|$)",excludeEnd:!0,keywords:_,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}}());hljs.registerLanguage("apache",function(){"use strict";return function(e){var n={className:"number",begin:"\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?"};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"section",begin:"</?",end:">",contains:[n,{className:"number",begin:":\\d{1,5}"},e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{nomarkup:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:"\\s\\[",end:"\\]$"},{className:"variable",begin:"[\\$%]\\{",end:"\\}",contains:["self",{className:"number",begin:"[\\$%]\\d+"}]},n,{className:"number",begin:"\\d+"},e.QUOTE_STRING_MODE]}}],illegal:/\S/}}}());hljs.registerLanguage("java",function(){"use strict";function e(e){return e?"string"==typeof e?e:e.source:null}function n(e){return a("(",e,")?")}function a(...n){return n.map(n=>e(n)).join("")}function s(...n){return"("+n.map(n=>e(n)).join("|")+")"}return function(e){var t="false synchronized int abstract float private char boolean var static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do",i={className:"meta",begin:"@[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},r=e=>a("[",e,"]+([",e,"_]*[",e,"]+)?"),c={className:"number",variants:[{begin:`\\b(0[bB]${r("01")})[lL]?`},{begin:`\\b(0${r("0-7")})[dDfFlL]?`},{begin:a(/\b0[xX]/,s(a(r("a-fA-F0-9"),/\./,r("a-fA-F0-9")),a(r("a-fA-F0-9"),/\.?/),a(/\./,r("a-fA-F0-9"))),/([pP][+-]?(\d+))?/,/[fFdDlL]?/)},{begin:a(/\b/,s(a(/\d*\./,r("\\d")),r("\\d")),/[eE][+-]?[\d]+[dDfF]?/)},{begin:a(/\b/,r(/\d/),n(/\.?/),n(r(/\d/)),/[dDfFlL]?/)}],relevance:0};return{name:"Java",aliases:["jsp"],keywords:t,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"new throw return else",relevance:0},{className:"function",begin:"([À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*(<[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*(\\s*,\\s*[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*)*>)?\\s+)+"+e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:t,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:t,relevance:0,contains:[i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},c,i]}}}());hljs.registerLanguage("x86asm",function(){"use strict";return function(s){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+s.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0  xmm1  xmm2  xmm3  xmm4  xmm5  xmm6  xmm7  xmm8  xmm9 xmm10  xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0  ymm1  ymm2  ymm3  ymm4  ymm5  ymm6  ymm7  ymm8  ymm9 ymm10  ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0  zmm1  zmm2  zmm3  zmm4  zmm5  zmm6  zmm7  zmm8  zmm9 zmm10  zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__  __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__  __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[s.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*\\.?[0-9_]*(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},s.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}}());hljs.registerLanguage("kotlin",function(){"use strict";return function(e){var n={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual trait volatile transient native default",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},a={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},i={className:"subst",begin:"\\${",end:"}",contains:[e.C_NUMBER_MODE]},s={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},t={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[s,i]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,s,i]}]};i.contains.push(t);var r={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},l={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(t,{className:"meta-string"})]}]},c=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),o={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},d=o;return d.variants[1].contains=[o],o.variants[1].contains=[d],{name:"Kotlin",aliases:["kt"],keywords:n,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,c,{className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},a,r,l,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:n,illegal:/fun\s+(<.*>)?[^\s\(]+(\s+[^\s\(]+)\s*=/,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:n,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[o,e.C_LINE_COMMENT_MODE,c],relevance:0},e.C_LINE_COMMENT_MODE,c,r,l,t,e.C_NUMBER_MODE]},c]},{className:"class",beginKeywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,]|$/,excludeBegin:!0,returnEnd:!0},r,l]},t,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},{className:"number",begin:"\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?",relevance:0}]}}}());hljs.registerLanguage("armasm",function(){"use strict";return function(s){const e={variants:[s.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),s.COMMENT("[;@]","$",{relevance:0}),s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+s.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},e,s.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}}());hljs.registerLanguage("go",function(){"use strict";return function(e){var n={keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune",literal:"true false iota nil",built_in:"append cap close complex copy imag len make new panic print println real recover delete"};return{name:"Go",aliases:["golang"],keywords:n,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:e.C_NUMBER_RE+"[i]",relevance:1},e.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:n,illegal:/["']/}]}]}}}());hljs.registerLanguage("diff",function(){"use strict";return function(e){return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,variants:[{begin:/^@@ +\-\d+,\d+ +\+\d+,\d+ +@@$/},{begin:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{begin:/^\-\-\- +\d+,\d+ +\-\-\-\-$/}]},{className:"comment",variants:[{begin:/Index: /,end:/$/},{begin:/={3,}/,end:/$/},{begin:/^\-{3}/,end:/$/},{begin:/^\*{3} /,end:/$/},{begin:/^\+{3}/,end:/$/},{begin:/^\*{15}$/}]},{className:"addition",begin:"^\\+",end:"$"},{className:"deletion",begin:"^\\-",end:"$"},{className:"addition",begin:"^\\!",end:"$"}]}}}());hljs.registerLanguage("python",function(){"use strict";return function(e){var n={keyword:"and elif is global as in if from raise for except finally print import pass return exec else break not with class assert yield try while continue del or def lambda async await nonlocal|10",built_in:"Ellipsis NotImplemented",literal:"False None True"},a={className:"meta",begin:/^(>>>|\.\.\.) /},i={className:"subst",begin:/\{/,end:/\}/,keywords:n,illegal:/#/},s={begin:/\{\{/,relevance:0},r={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/(fr|rf|f)'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a,s,i]},{begin:/(fr|rf|f)"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a,s,i]},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},{begin:/(fr|rf|f)'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,i]},{begin:/(fr|rf|f)"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,i]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},l={className:"number",relevance:0,variants:[{begin:e.BINARY_NUMBER_RE+"[lLjJ]?"},{begin:"\\b(0o[0-7]+)[lLjJ]?"},{begin:e.C_NUMBER_RE+"[lLjJ]?"}]},t={className:"params",variants:[{begin:/\(\s*\)/,skip:!0,className:null},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:["self",a,l,r,e.HASH_COMMENT_MODE]}]};return i.contains=[r,l,a],{name:"Python",aliases:["py","gyp","ipython"],keywords:n,illegal:/(<\/|->|\?)|=>/,contains:[a,l,{beginKeywords:"if",relevance:0},r,e.HASH_COMMENT_MODE,{variants:[{className:"function",beginKeywords:"def"},{className:"class",beginKeywords:"class"}],end:/:/,illegal:/[${=;\n,]/,contains:[e.UNDERSCORE_TITLE_MODE,t,{begin:/->/,endsWithParent:!0,keywords:"None"}]},{className:"meta",begin:/^[\t ]*@/,end:/$/},{begin:/\b(print|exec)\(/}]}}}());hljs.registerLanguage("shell",function(){"use strict";return function(s){return{name:"Shell Session",aliases:["console"],contains:[{className:"meta",begin:"^\\s{0,3}[/\\w\\d\\[\\]()@-]*[>%$#]",starts:{end:"$",subLanguage:"bash"}}]}}}());hljs.registerLanguage("scala",function(){"use strict";return function(e){var n={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:"\\${",end:"}"}]},a={className:"string",variants:[{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'"""',end:'"""',relevance:10},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,n]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[n],relevance:10}]},s={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},t={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},i={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[s]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[s]},t]},l={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[t]};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if forSome for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,{className:"symbol",begin:"'\\w[\\w\\d_]*(?!')"},s,l,i,e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}}());hljs.registerLanguage("julia",function(){"use strict";return function(e){var r="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",t={$pattern:r,keyword:"in isa where baremodule begin break catch ccall const continue do else elseif end export false finally for function global if import importall let local macro module quote return true try using while type immutable abstract bitstype typealias ",literal:"true false ARGS C_NULL DevNull ENDIAN_BOM ENV I Inf Inf16 Inf32 Inf64 InsertionSort JULIA_HOME LOAD_PATH MergeSort NaN NaN16 NaN32 NaN64 PROGRAM_FILE QuickSort RoundDown RoundFromZero RoundNearest RoundNearestTiesAway RoundNearestTiesUp RoundToZero RoundUp STDERR STDIN STDOUT VERSION catalan e|0 eu|0 eulergamma golden im nothing pi γ π φ ",built_in:"ANY AbstractArray AbstractChannel AbstractFloat AbstractMatrix AbstractRNG AbstractSerializer AbstractSet AbstractSparseArray AbstractSparseMatrix AbstractSparseVector AbstractString AbstractUnitRange AbstractVecOrMat AbstractVector Any ArgumentError Array AssertionError Associative Base64DecodePipe Base64EncodePipe Bidiagonal BigFloat BigInt BitArray BitMatrix BitVector Bool BoundsError BufferStream CachingPool CapturedException CartesianIndex CartesianRange Cchar Cdouble Cfloat Channel Char Cint Cintmax_t Clong Clonglong ClusterManager Cmd CodeInfo Colon Complex Complex128 Complex32 Complex64 CompositeException Condition ConjArray ConjMatrix ConjVector Cptrdiff_t Cshort Csize_t Cssize_t Cstring Cuchar Cuint Cuintmax_t Culong Culonglong Cushort Cwchar_t Cwstring DataType Date DateFormat DateTime DenseArray DenseMatrix DenseVecOrMat DenseVector Diagonal Dict DimensionMismatch Dims DirectIndexString Display DivideError DomainError EOFError EachLine Enum Enumerate ErrorException Exception ExponentialBackOff Expr Factorization FileMonitor Float16 Float32 Float64 Function Future GlobalRef GotoNode HTML Hermitian IO IOBuffer IOContext IOStream IPAddr IPv4 IPv6 IndexCartesian IndexLinear IndexStyle InexactError InitError Int Int128 Int16 Int32 Int64 Int8 IntSet Integer InterruptException InvalidStateException Irrational KeyError LabelNode LinSpace LineNumberNode LoadError LowerTriangular MIME Matrix MersenneTwister Method MethodError MethodTable Module NTuple NewvarNode NullException Nullable Number ObjectIdDict OrdinalRange OutOfMemoryError OverflowError Pair ParseError PartialQuickSort PermutedDimsArray Pipe PollingFileWatcher ProcessExitedException Ptr QuoteNode RandomDevice Range RangeIndex Rational RawFD ReadOnlyMemoryError Real ReentrantLock Ref Regex RegexMatch RemoteChannel RemoteException RevString RoundingMode RowVector SSAValue SegmentationFault SerializationState Set SharedArray SharedMatrix SharedVector Signed SimpleVector Slot SlotNumber SparseMatrixCSC SparseVector StackFrame StackOverflowError StackTrace StepRange StepRangeLen StridedArray StridedMatrix StridedVecOrMat StridedVector String SubArray SubString SymTridiagonal Symbol Symmetric SystemError TCPSocket Task Text TextDisplay Timer Tridiagonal Tuple Type TypeError TypeMapEntry TypeMapLevel TypeName TypeVar TypedSlot UDPSocket UInt UInt128 UInt16 UInt32 UInt64 UInt8 UndefRefError UndefVarError UnicodeError UniformScaling Union UnionAll UnitRange Unsigned UpperTriangular Val Vararg VecElement VecOrMat Vector VersionNumber Void WeakKeyDict WeakRef WorkerConfig WorkerPool "},a={keywords:t,illegal:/<\//},n={className:"subst",begin:/\$\(/,end:/\)/,keywords:t},o={className:"variable",begin:"\\$"+r},i={className:"string",contains:[e.BACKSLASH_ESCAPE,n,o],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},l={className:"string",contains:[e.BACKSLASH_ESCAPE,n,o],begin:"`",end:"`"},s={className:"meta",begin:"@"+r};return a.name="Julia",a.contains=[{className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},{className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},i,l,s,{className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]},e.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],n.contains=a.contains,a}}());hljs.registerLanguage("php-template",function(){"use strict";return function(n){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},n.inherit(n.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),n.inherit(n.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}}());hljs.registerLanguage("scss",function(){"use strict";return function(e){var t={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b"},i={className:"number",begin:"#[0-9A-Fa-f]+"};return e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_BLOCK_COMMENT_MODE,{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"selector-id",begin:"\\#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},{className:"selector-attr",begin:"\\[",end:"\\]",illegal:"$"},{className:"selector-tag",begin:"\\b(a|abbr|acronym|address|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|keygen|label|legend|li|link|map|mark|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|pre|progress|q|rp|rt|ruby|samp|script|section|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video)\\b",relevance:0},{className:"selector-pseudo",begin:":(visited|valid|root|right|required|read-write|read-only|out-range|optional|only-of-type|only-child|nth-of-type|nth-last-of-type|nth-last-child|nth-child|not|link|left|last-of-type|last-child|lang|invalid|indeterminate|in-range|hover|focus|first-of-type|first-line|first-letter|first-child|first|enabled|empty|disabled|default|checked|before|after|active)"},{className:"selector-pseudo",begin:"::(after|before|choices|first-letter|first-line|repeat-index|repeat-item|selection|value)"},t,{className:"attribute",begin:"\\b(src|z-index|word-wrap|word-spacing|word-break|width|widows|white-space|visibility|vertical-align|unicode-bidi|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform-style|transform-origin|transform|top|text-underline-position|text-transform|text-shadow|text-rendering|text-overflow|text-indent|text-decoration-style|text-decoration-line|text-decoration-color|text-decoration|text-align-last|text-align|tab-size|table-layout|right|resize|quotes|position|pointer-events|perspective-origin|perspective|page-break-inside|page-break-before|page-break-after|padding-top|padding-right|padding-left|padding-bottom|padding|overflow-y|overflow-x|overflow-wrap|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|order|opacity|object-position|object-fit|normal|none|nav-up|nav-right|nav-left|nav-index|nav-down|min-width|min-height|max-width|max-height|mask|marks|margin-top|margin-right|margin-left|margin-bottom|margin|list-style-type|list-style-position|list-style-image|list-style|line-height|letter-spacing|left|justify-content|initial|inherit|ime-mode|image-orientation|image-resolution|image-rendering|icon|hyphens|height|font-weight|font-variant-ligatures|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-language-override|font-kerning|font-feature-settings|font-family|font|float|flex-wrap|flex-shrink|flex-grow|flex-flow|flex-direction|flex-basis|flex|filter|empty-cells|display|direction|cursor|counter-reset|counter-increment|content|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|columns|color|clip-path|clip|clear|caption-side|break-inside|break-before|break-after|box-sizing|box-shadow|box-decoration-break|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-left-width|border-left-style|border-left-color|border-left|border-image-width|border-image-source|border-image-slice|border-image-repeat|border-image-outset|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-attachment|background-blend-mode|background|backface-visibility|auto|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-fill-mode|animation-duration|animation-direction|animation-delay|animation|align-self|align-items|align-content)\\b",illegal:"[^\\s]"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:":",end:";",contains:[t,i,e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"meta",begin:"!important"}]},{begin:"@(page|font-face)",lexemes:"@[a-z-]+",keywords:"@page @font-face"},{begin:"@",end:"[{;]",returnBegin:!0,keywords:"and or not only",contains:[{begin:"@[a-z-]+",className:"keyword"},t,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,i,e.CSS_NUMBER_MODE]}]}}}());hljs.registerLanguage("r",function(){"use strict";return function(e){var n="([a-zA-Z]|\\.[a-zA-Z.])[a-zA-Z0-9._]*";return{name:"R",contains:[e.HASH_COMMENT_MODE,{begin:n,keywords:{$pattern:n,keyword:"function if in break next repeat else for return switch while try tryCatch stop warning require library attach detach source setMethod setGeneric setGroupGeneric setClass ...",literal:"NULL NA TRUE FALSE T F Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10"},relevance:0},{className:"number",begin:"0[xX][0-9a-fA-F]+[Li]?\\b",relevance:0},{className:"number",begin:"\\d+(?:[eE][+\\-]?\\d*)?L\\b",relevance:0},{className:"number",begin:"\\d+\\.(?!\\d)(?:i\\b)?",relevance:0},{className:"number",begin:"\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d*)?i?\\b",relevance:0},{className:"number",begin:"\\.\\d+(?:[eE][+\\-]?\\d*)?i?\\b",relevance:0},{begin:"`",end:"`",relevance:0},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]}]}}}());hljs.registerLanguage("sql",function(){"use strict";return function(e){var t=e.COMMENT("--","$");return{name:"SQL",case_insensitive:!0,illegal:/[<>{}*]/,contains:[{beginKeywords:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment values with",end:/;/,endsWithParent:!0,keywords:{$pattern:/[\w\.]+/,keyword:"as abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias all allocate allow alter always analyze ancillary and anti any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound bucket buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain explode export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force foreign form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour hours http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lateral lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minutes minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notnull notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second seconds section securefile security seed segment select self semi sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tablesample tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unnest unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace window with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",literal:"true false null unknown",built_in:"array bigint binary bit blob bool boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text time timestamp tinyint varchar varchar2 varying void"},contains:[{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}]},{className:"string",begin:"`",end:"`"},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,e.HASH_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE,t,e.HASH_COMMENT_MODE]}}}());hljs.registerLanguage("c",function(){"use strict";return function(e){var n=e.getLanguage("c-like").rawDefinition();return n.name="C",n.aliases=["c","h"],n}}());hljs.registerLanguage("json",function(){"use strict";return function(n){var e={literal:"true false null"},i=[n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE],t=[n.QUOTE_STRING_MODE,n.C_NUMBER_MODE],a={end:",",endsWithParent:!0,excludeEnd:!0,contains:t,keywords:e},l={begin:"{",end:"}",contains:[{className:"attr",begin:/"/,end:/"/,contains:[n.BACKSLASH_ESCAPE],illegal:"\\n"},n.inherit(a,{begin:/:/})].concat(i),illegal:"\\S"},s={begin:"\\[",end:"\\]",contains:[n.inherit(a)],illegal:"\\S"};return t.push(l,s),i.forEach((function(n){t.push(n)})),{name:"JSON",contains:t,keywords:e,illegal:"\\S"}}}());hljs.registerLanguage("python-repl",function(){"use strict";return function(n){return{aliases:["pycon"],contains:[{className:"meta",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}}());hljs.registerLanguage("markdown",function(){"use strict";return function(n){const e={begin:"<",end:">",subLanguage:"xml",relevance:0},a={begin:"\\[.+?\\][\\(\\[].*?[\\)\\]]",returnBegin:!0,contains:[{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0,relevance:0},{className:"link",begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}],relevance:10},i={className:"strong",contains:[],variants:[{begin:/_{2}/,end:/_{2}/},{begin:/\*{2}/,end:/\*{2}/}]},s={className:"emphasis",contains:[],variants:[{begin:/\*(?!\*)/,end:/\*/},{begin:/_(?!_)/,end:/_/,relevance:0}]};i.contains.push(s),s.contains.push(i);var c=[e,a];return i.contains=i.contains.concat(c),s.contains=s.contains.concat(c),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:c=c.concat(i,s)},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:c}]}]},e,{className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},i,s,{className:"quote",begin:"^>\\s+",contains:c,end:"$"},{className:"code",variants:[{begin:"(`{3,})(.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})(.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},a,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]}]}}}());hljs.registerLanguage("javascript",function(){"use strict";const e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],a=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function s(e){return r("(?=",e,")")}function r(...e){return e.map(e=>(function(e){return e?"string"==typeof e?e:e.source:null})(e)).join("")}return function(t){var i="[A-Za-z$_][0-9A-Za-z$_]*",c={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/},o={$pattern:"[A-Za-z$_][0-9A-Za-z$_]*",keyword:e.join(" "),literal:n.join(" "),built_in:a.join(" ")},l={className:"number",variants:[{begin:"\\b(0[bB][01]+)n?"},{begin:"\\b(0[oO][0-7]+)n?"},{begin:t.C_NUMBER_RE+"n?"}],relevance:0},E={className:"subst",begin:"\\$\\{",end:"\\}",keywords:o,contains:[]},d={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,E],subLanguage:"xml"}},g={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,E],subLanguage:"css"}},u={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,E]};E.contains=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,d,g,u,l,t.REGEXP_MODE];var b=E.contains.concat([{begin:/\(/,end:/\)/,contains:["self"].concat(E.contains,[t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE])},t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]),_={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:b};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:o,contains:[t.SHEBANG({binary:"node",relevance:5}),{className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,d,g,u,t.C_LINE_COMMENT_MODE,t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:i+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),t.C_BLOCK_COMMENT_MODE,l,{begin:r(/[{,\n]\s*/,s(r(/(((\/\/.*)|(\/\*(.|\n)*\*\/))\s*)*/,i+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:i+s("\\s*:"),relevance:0}]},{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.REGEXP_MODE,{className:"function",begin:"(\\([^(]*(\\([^(]*(\\([^(]*\\))?\\))?\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:b}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:"<>",end:"</>"},{begin:c.begin,end:c.end}],subLanguage:"xml",contains:[{begin:c.begin,end:c.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[t.inherit(t.TITLE_MODE,{begin:i}),_],illegal:/\[|%/},{begin:/\$[(.]/},t.METHOD_GUARD,{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends"},t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"constructor",end:/\{/,excludeEnd:!0},{begin:"(get|set)\\s+(?="+i+"\\()",end:/{/,keywords:"get set",contains:[t.inherit(t.TITLE_MODE,{begin:i}),{begin:/\(\)/},_]}],illegal:/#(?!!)/}}}());hljs.registerLanguage("typescript",function(){"use strict";const e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],a=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);return function(r){var t={$pattern:"[A-Za-z$_][0-9A-Za-z$_]*",keyword:e.concat(["type","namespace","typedef","interface","public","private","protected","implements","declare","abstract","readonly"]).join(" "),literal:n.join(" "),built_in:a.concat(["any","void","number","boolean","string","object","never","enum"]).join(" ")},s={className:"meta",begin:"@[A-Za-z$_][0-9A-Za-z$_]*"},i={className:"number",variants:[{begin:"\\b(0[bB][01]+)n?"},{begin:"\\b(0[oO][0-7]+)n?"},{begin:r.C_NUMBER_RE+"n?"}],relevance:0},o={className:"subst",begin:"\\$\\{",end:"\\}",keywords:t,contains:[]},c={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[r.BACKSLASH_ESCAPE,o],subLanguage:"xml"}},l={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[r.BACKSLASH_ESCAPE,o],subLanguage:"css"}},E={className:"string",begin:"`",end:"`",contains:[r.BACKSLASH_ESCAPE,o]};o.contains=[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,c,l,E,i,r.REGEXP_MODE];var d={begin:"\\(",end:/\)/,keywords:t,contains:["self",r.QUOTE_STRING_MODE,r.APOS_STRING_MODE,r.NUMBER_MODE]},u={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,s,d]};return{name:"TypeScript",aliases:["ts"],keywords:t,contains:[r.SHEBANG(),{className:"meta",begin:/^\s*['"]use strict['"]/},r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,c,l,E,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,i,{begin:"("+r.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.REGEXP_MODE,{className:"function",begin:"(\\([^(]*(\\([^(]*(\\([^(]*\\))?\\))?\\)|"+r.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:r.UNDERSCORE_IDENT_RE},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,contains:d.contains}]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[\{;]/,excludeEnd:!0,keywords:t,contains:["self",r.inherit(r.TITLE_MODE,{begin:"[A-Za-z$_][0-9A-Za-z$_]*"}),u],illegal:/%/,relevance:0},{beginKeywords:"constructor",end:/[\{;]/,excludeEnd:!0,contains:["self",u]},{begin:/module\./,keywords:{built_in:"module"},relevance:0},{beginKeywords:"module",end:/\{/,excludeEnd:!0},{beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:"interface extends"},{begin:/\$[(.]/},{begin:"\\."+r.IDENT_RE,relevance:0},s,d]}}}());hljs.registerLanguage("plaintext",function(){"use strict";return function(t){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}}());hljs.registerLanguage("less",function(){"use strict";return function(e){var n="([\\w-]+|@{[\\w-]+})",a=[],s=[],t=function(e){return{className:"string",begin:"~?"+e+".*?"+e}},r=function(e,n,a){return{className:e,begin:n,relevance:a}},i={begin:"\\(",end:"\\)",contains:s,relevance:0};s.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t("'"),t('"'),e.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},r("number","#[0-9A-Fa-f]+\\b"),i,r("variable","@@?[\\w-]+",10),r("variable","@{[\\w-]+}"),r("built_in","~?`[^`]*?`"),{className:"attribute",begin:"[\\w-]+\\s*:",end:":",returnBegin:!0,excludeEnd:!0},{className:"meta",begin:"!important"});var c=s.concat({begin:"{",end:"}",contains:a}),l={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(s)},o={begin:n+"\\s*:",returnBegin:!0,end:"[;}]",relevance:0,contains:[{className:"attribute",begin:n,end:":",excludeEnd:!0,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:s}}]},g={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",returnEnd:!0,contains:s,relevance:0}},d={className:"variable",variants:[{begin:"@[\\w-]+\\s*:",relevance:15},{begin:"@[\\w-]+"}],starts:{end:"[;}]",returnEnd:!0,contains:c}},b={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:n,end:"{"}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,l,r("keyword","all\\b"),r("variable","@{[\\w-]+}"),r("selector-tag",n+"%?",0),r("selector-id","#"+n),r("selector-class","\\."+n,0),r("selector-tag","&",0),{className:"selector-attr",begin:"\\[",end:"\\]"},{className:"selector-pseudo",begin:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{begin:"\\(",end:"\\)",contains:c},{begin:"!important"}]};return a.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,g,d,o,b),{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:a}}}());hljs.registerLanguage("lua",function(){"use strict";return function(e){var t={begin:"\\[=*\\[",end:"\\]=*\\]",contains:["self"]},a=[e.COMMENT("--(?!\\[=*\\[)","$"),e.COMMENT("--\\[=*\\[","\\]=*\\]",{contains:[t],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:a.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:a}].concat(a)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"\\[=*\\[",end:"\\]=*\\]",contains:[t],relevance:5}])}}}());
diff --git a/src/theme/index.hbs b/src/theme/index.hbs
new file mode 100644
index 0000000..e9e6cff
--- /dev/null
+++ b/src/theme/index.hbs
@@ -0,0 +1,306 @@
+<!DOCTYPE HTML>
+<html lang="{{ language }}" class="sidebar-visible no-js {{ default_theme }}">
+    <head>
+        <!-- Book generated using mdBook -->
+        <meta charset="UTF-8">
+        <title>{{ title }}</title>
+        {{#if is_print }}
+        <meta name="robots" content="noindex" />
+        {{/if}}
+        {{#if base_url}}
+        <base href="{{ base_url }}">
+        {{/if}}
+
+
+        <!-- Custom HTML head -->
+        {{> head}}
+
+        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+        <meta name="description" content="{{ description }}">
+        <meta name="viewport" content="width=device-width, initial-scale=1">
+        <meta name="theme-color" content="#ffffff" />
+
+        {{#if favicon_svg}}
+        <link rel="icon" href="{{ path_to_root }}favicon.svg">
+        {{/if}}
+        {{#if favicon_png}}
+        <link rel="shortcut icon" href="{{ path_to_root }}favicon.png">
+        {{/if}}
+        <link rel="stylesheet" href="{{ path_to_root }}css/variables.css">
+        <link rel="stylesheet" href="{{ path_to_root }}css/general.css">
+        <link rel="stylesheet" href="{{ path_to_root }}css/chrome.css">
+        {{#if print_enable}}
+        <link rel="stylesheet" href="{{ path_to_root }}css/print.css" media="print">
+        {{/if}}
+
+        <!-- Fonts -->
+        <link rel="stylesheet" href="{{ path_to_root }}FontAwesome/css/font-awesome.css">
+        {{#if copy_fonts}}
+        <link rel="stylesheet" href="{{ path_to_root }}fonts/fonts.css">
+        {{/if}}
+
+        <!-- Highlight.js Stylesheets -->
+        <link rel="stylesheet" href="{{ path_to_root }}highlight.css">
+        <link rel="stylesheet" href="{{ path_to_root }}tomorrow-night.css">
+        <link rel="stylesheet" href="{{ path_to_root }}ayu-highlight.css">
+
+        <!-- Custom theme stylesheets -->
+        {{#each additional_css}}
+        <link rel="stylesheet" href="{{ ../path_to_root }}{{ this }}">
+        {{/each}}
+
+        {{#if mathjax_support}}
+        <!-- MathJax -->
+        <script async type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
+        {{/if}}
+    </head>
+    <body>
+        <!-- Provide site root to javascript -->
+        <script type="text/javascript">
+            var path_to_root = "{{ path_to_root }}";
+            var default_theme = window.matchMedia("(prefers-color-scheme: dark)").matches ? "{{ preferred_dark_theme }}" : "{{ default_theme }}";
+        </script>
+
+        <!-- Work around some values being stored in localStorage wrapped in quotes -->
+        <script type="text/javascript">
+            try {
+                var theme = localStorage.getItem('mdbook-theme');
+                var sidebar = localStorage.getItem('mdbook-sidebar');
+
+                if (theme.startsWith('"') && theme.endsWith('"')) {
+                    localStorage.setItem('mdbook-theme', theme.slice(1, theme.length - 1));
+                }
+
+                if (sidebar.startsWith('"') && sidebar.endsWith('"')) {
+                    localStorage.setItem('mdbook-sidebar', sidebar.slice(1, sidebar.length - 1));
+                }
+            } catch (e) { }
+        </script>
+
+        <!-- Set the theme before any content is loaded, prevents flash -->
+        <script type="text/javascript">
+            var theme;
+            try { theme = localStorage.getItem('mdbook-theme'); } catch(e) { }
+            if (theme === null || theme === undefined) { theme = default_theme; }
+            var html = document.querySelector('html');
+            html.classList.remove('no-js')
+            html.classList.remove('{{ default_theme }}')
+            html.classList.add(theme);
+            html.classList.add('js');
+        </script>
+
+        <!-- Hide / unhide sidebar before it is displayed -->
+        <script type="text/javascript">
+            var html = document.querySelector('html');
+            var sidebar = 'hidden';
+            if (document.body.clientWidth >= 1080) {
+                try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch(e) { }
+                sidebar = sidebar || 'visible';
+            }
+            html.classList.remove('sidebar-visible');
+            html.classList.add("sidebar-" + sidebar);
+        </script>
+
+        <nav id="sidebar" class="sidebar" aria-label="Table of contents">
+            <div class="sidebar-scrollbox">
+                {{#toc}}{{/toc}}
+            </div>
+            <div id="sidebar-resize-handle" class="sidebar-resize-handle"></div>
+        </nav>
+
+        <div id="page-wrapper" class="page-wrapper">
+
+            <div class="page">
+                {{> header}}
+                <div id="menu-bar-hover-placeholder"></div>
+                <div id="menu-bar" class="menu-bar sticky bordered">
+                    <div class="left-buttons">
+                        <button id="sidebar-toggle" class="icon-button" type="button" title="Toggle Table of Contents" aria-label="Toggle Table of Contents" aria-controls="sidebar">
+                            <i class="fa fa-bars"></i>
+                        </button>
+                        <button id="theme-toggle" class="icon-button" type="button" title="Change theme" aria-label="Change theme" aria-haspopup="true" aria-expanded="false" aria-controls="theme-list">
+                            <i class="fa fa-paint-brush"></i>
+                        </button>
+                        <ul id="theme-list" class="theme-popup" aria-label="Themes" role="menu">
+                            <li role="none"><button role="menuitem" class="theme" id="light">{{ theme_option "Light" }}</button></li>
+                            <li role="none"><button role="menuitem" class="theme" id="rust">{{ theme_option "Rust" }}</button></li>
+                            <li role="none"><button role="menuitem" class="theme" id="coal">{{ theme_option "Coal" }}</button></li>
+                            <li role="none"><button role="menuitem" class="theme" id="navy">{{ theme_option "Navy" }}</button></li>
+                            <li role="none"><button role="menuitem" class="theme" id="ayu">{{ theme_option "Ayu" }}</button></li>
+                        </ul>
+                        {{#if search_enabled}}
+                        <button id="search-toggle" class="icon-button" type="button" title="Search. (Shortkey: s)" aria-label="Toggle Searchbar" aria-expanded="false" aria-keyshortcuts="S" aria-controls="searchbar">
+                            <i class="fa fa-search"></i>
+                        </button>
+                        {{/if}}
+                    </div>
+
+                    <h1 class="menu-title">{{ book_title }}</h1>
+
+                    <div class="right-buttons">
+                        {{#if print_enable}}
+                        <a href="{{ path_to_root }}print.html" title="Print this book" aria-label="Print this book">
+                            <i id="print-button" class="fa fa-print"></i>
+                        </a>
+                        {{/if}}
+                        {{#if git_repository_url}}
+                        <a href="{{git_repository_url}}" title="Git repository" aria-label="Git repository">
+                            <i id="git-repository-button" class="fa {{git_repository_icon}}"></i>
+                        </a>
+                        {{/if}}
+                    </div>
+                </div>
+
+                {{#if search_enabled}}
+                <div id="search-wrapper" class="hidden">
+                    <form id="searchbar-outer" class="searchbar-outer">
+                        <input type="search" name="search" id="searchbar" name="searchbar" placeholder="Search this book ..." aria-controls="searchresults-outer" aria-describedby="searchresults-header">
+                    </form>
+                    <div id="searchresults-outer" class="searchresults-outer hidden">
+                        <div id="searchresults-header" class="searchresults-header"></div>
+                        <ul id="searchresults">
+                        </ul>
+                    </div>
+                </div>
+                {{/if}}
+
+                <!-- Apply ARIA attributes after the sidebar and the sidebar toggle button are added to the DOM -->
+                <script type="text/javascript">
+                    document.getElementById('sidebar-toggle').setAttribute('aria-expanded', sidebar === 'visible');
+                    document.getElementById('sidebar').setAttribute('aria-hidden', sidebar !== 'visible');
+                    Array.from(document.querySelectorAll('#sidebar a')).forEach(function(link) {
+                        link.setAttribute('tabIndex', sidebar === 'visible' ? 0 : -1);
+                    });
+                </script>
+
+                <div id="content" class="content">
+                    <main>
+                        {{{ content }}}
+                    </main>
+
+                    <nav class="nav-wrapper" aria-label="Page navigation">
+                        <!-- Mobile navigation buttons -->
+                        {{#previous}}
+                            <a rel="prev" href="{{ path_to_root }}{{link}}" class="mobile-nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left">
+                                <i class="fa fa-angle-left"></i>
+                            </a>
+                        {{/previous}}
+
+                        {{#next}}
+                            <a rel="next" href="{{ path_to_root }}{{link}}" class="mobile-nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
+                                <i class="fa fa-angle-right"></i>
+                            </a>
+                        {{/next}}
+
+                        <div style="clear: both"></div>
+                    </nav>
+                </div>
+            </div>
+
+            <nav class="nav-wide-wrapper" aria-label="Page navigation">
+                {{#previous}}
+                    <a rel="prev" href="{{ path_to_root }}{{link}}" class="nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left">
+                        <i class="fa fa-angle-left"></i>
+                    </a>
+                {{/previous}}
+
+                {{#next}}
+                    <a rel="next" href="{{ path_to_root }}{{link}}" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
+                        <i class="fa fa-angle-right"></i>
+                    </a>
+                {{/next}}
+            </nav>
+
+        </div>
+
+        {{#if livereload}}
+        <!-- Livereload script (if served using the cli tool) -->
+        <script type="text/javascript">
+            var socket = new WebSocket("{{{livereload}}}");
+            socket.onmessage = function (event) {
+                if (event.data === "reload") {
+                    socket.close();
+                    location.reload();
+                }
+            };
+
+            window.onbeforeunload = function() {
+                socket.close();
+            }
+        </script>
+        {{/if}}
+
+        {{#if google_analytics}}
+        <!-- Google Analytics Tag -->
+        <script type="text/javascript">
+            var localAddrs = ["localhost", "127.0.0.1", ""];
+
+            // make sure we don't activate google analytics if the developer is
+            // inspecting the book locally...
+            if (localAddrs.indexOf(document.location.hostname) === -1) {
+                (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+                (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+                m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+                })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
+
+                ga('create', '{{google_analytics}}', 'auto');
+                ga('send', 'pageview');
+            }
+        </script>
+        {{/if}}
+
+        {{#if playground_line_numbers}}
+        <script type="text/javascript">
+            window.playground_line_numbers = true;
+        </script>
+        {{/if}}
+
+        {{#if playground_copyable}}
+        <script type="text/javascript">
+            window.playground_copyable = true;
+        </script>
+        {{/if}}
+
+        {{#if playground_js}}
+        <script src="{{ path_to_root }}ace.js" type="text/javascript" charset="utf-8"></script>
+        <script src="{{ path_to_root }}editor.js" type="text/javascript" charset="utf-8"></script>
+        <script src="{{ path_to_root }}mode-rust.js" type="text/javascript" charset="utf-8"></script>
+        <script src="{{ path_to_root }}theme-dawn.js" type="text/javascript" charset="utf-8"></script>
+        <script src="{{ path_to_root }}theme-tomorrow_night.js" type="text/javascript" charset="utf-8"></script>
+        {{/if}}
+
+        {{#if search_js}}
+        <script src="{{ path_to_root }}elasticlunr.min.js" type="text/javascript" charset="utf-8"></script>
+        <script src="{{ path_to_root }}mark.min.js" type="text/javascript" charset="utf-8"></script>
+        <script src="{{ path_to_root }}searcher.js" type="text/javascript" charset="utf-8"></script>
+        {{/if}}
+
+        <script src="{{ path_to_root }}clipboard.min.js" type="text/javascript" charset="utf-8"></script>
+        <script src="{{ path_to_root }}highlight.js" type="text/javascript" charset="utf-8"></script>
+        <script src="{{ path_to_root }}book.js" type="text/javascript" charset="utf-8"></script>
+
+        <!-- Custom JS scripts -->
+        {{#each additional_js}}
+        <script type="text/javascript" src="{{ ../path_to_root }}{{this}}"></script>
+        {{/each}}
+
+        {{#if is_print}}
+        {{#if mathjax_support}}
+        <script type="text/javascript">
+        window.addEventListener('load', function() {
+            MathJax.Hub.Register.StartupHook('End', function() {
+                window.setTimeout(window.print, 100);
+            });
+        });
+        </script>
+        {{else}}
+        <script type="text/javascript">
+        window.addEventListener('load', function() {
+            window.setTimeout(window.print, 100);
+        });
+        </script>
+        {{/if}}
+        {{/if}}
+
+    </body>
+</html>
diff --git a/src/traits.rs b/src/traits.rs
deleted file mode 100644
index 3482fa5..0000000
--- a/src/traits.rs
+++ /dev/null
@@ -1,51 +0,0 @@
-// Indicator traits
-//
-
-/// Resets an indicator to the initial state.
-pub trait Reset {
-    fn reset(&mut self);
-}
-
-/// Consumes a data item of type `T` and returns `Output`.
-///
-/// Typically `T` can be `f64` or a struct similar to [DataItem](struct.DataItem.html), that implements
-/// traits necessary to calculate value of a particular indicator.
-///
-/// In most cases `Output` is `f64`, but sometimes it can be different. For example for
-/// [MACD](indicators/struct.MovingAverageConvergenceDivergence.html) it is `(f64, f64, f64)` since
-/// MACD returns 3 values.
-///
-pub trait Next<T> {
-    type Output;
-    fn next(&mut self, input: T) -> Self::Output;
-}
-
-/// Open price of a particular period.
-pub trait Open {
-    fn open(&self) -> f64;
-}
-
-/// Close price of a particular period.
-pub trait Close {
-    fn close(&self) -> f64;
-}
-
-/// Lowest price of a particular period.
-pub trait Low {
-    fn low(&self) -> f64;
-}
-
-/// Highest price of a particular period.
-pub trait High {
-    fn high(&self) -> f64;
-}
-
-/// Trading volume of a particular trading period.
-pub trait Volume {
-    fn volume(&self) -> f64;
-}
-
-/// Factory trait to create indicator
-pub trait Factory {
-    fn create() -> Box<dyn Next<f64, Output = Box<[f64]>>>;
-}
diff --git a/src/utils.rs b/src/utils.rs
deleted file mode 100644
index 1cf2dfe..0000000
--- a/src/utils.rs
+++ /dev/null
@@ -1,12 +0,0 @@
-#![allow(dead_code)]
-
-pub fn set_panic_hook() {
-    // When the `console_error_panic_hook` feature is enabled, we can call the
-    // `set_panic_hook` function at least once during initialization, and then
-    // we will get better error messages if our code ever panics.
-    //
-    // For more details see
-    // https://github.com/rustwasm/console_error_panic_hook#readme
-    #[cfg(feature = "console_error_panic_hook")]
-    console_error_panic_hook::set_once();
-}
diff --git a/tests/Makefile b/tests/Makefile
deleted file mode 100644
index ac0f8c5..0000000
--- a/tests/Makefile
+++ /dev/null
@@ -1,2 +0,0 @@
-all:
-	cargo test -- --nocapture --test-threads=1
diff --git a/tests/data.json b/tests/data.json
deleted file mode 100644
index 9c04934..0000000
--- a/tests/data.json
+++ /dev/null
@@ -1,10522 +0,0 @@
-{
-    "abs": {
-        "description": "Vector Absolute Value",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "abs",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        -1,
-                        1,
-                        -4,
-                        6
-                    ]
-                ],
-                "outputs": [
-                    [
-                        1,
-                        1,
-                        4,
-                        6
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ]
-            }
-        ]
-    },
-    "acos": {
-        "description": "Vector Arccosine",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "acos",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        0,
-                        0.5,
-                        1
-                    ]
-                ],
-                "outputs": [
-                    [
-                        1.571,
-                        1.047,
-                        0
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        0.2,
-                        0.3,
-                        0.4,
-                        0.3,
-                        0.5,
-                        0.7,
-                        0.75,
-                        0.9,
-                        0.9,
-                        1,
-                        1,
-                        0.2,
-                        0.1,
-                        -0.1,
-                        -0.5
-                    ]
-                ],
-                "outputs": [
-                    [
-                        1.369,
-                        1.266,
-                        1.159,
-                        1.266,
-                        1.047,
-                        0.795,
-                        0.723,
-                        0.451,
-                        0.451,
-                        0,
-                        0,
-                        1.369,
-                        1.471,
-                        1.671,
-                        2.094
-                    ]
-                ]
-            }
-        ]
-    },
-    "ad": {
-        "description": "Accumulation/Distribution Line",
-        "type": "indicator",
-        "slots": {
-            "input": 4,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "high, low, close, volume",
-        "options": "none",
-        "name": "ad",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        8.625,
-                        8.875,
-                        9.375,
-                        10.125,
-                        9.375,
-                        10.125,
-                        10,
-                        9.75,
-                        9.5,
-                        9.625,
-                        10,
-                        9.75,
-                        9.125,
-                        9.25,
-                        9.375,
-                        9.375,
-                        9.375,
-                        8.625,
-                        8.625,
-                        8.625
-                    ],
-                    [
-                        8.25,
-                        8.375,
-                        8.375,
-                        8.75,
-                        8.75,
-                        9.25,
-                        9.125,
-                        9.375,
-                        9,
-                        8.875,
-                        9.375,
-                        8.75,
-                        8.75,
-                        9.125,
-                        9.25,
-                        9.125,
-                        8.625,
-                        8.25,
-                        8.25,
-                        7.875
-                    ],
-                    [
-                        8.625,
-                        8.375,
-                        9.375,
-                        8.75,
-                        9.375,
-                        9.875,
-                        9.375,
-                        9.625,
-                        9.125,
-                        9.25,
-                        9.75,
-                        8.875,
-                        8.875,
-                        9.125,
-                        9.375,
-                        9.25,
-                        8.625,
-                        8.5,
-                        8.5,
-                        7.875
-                    ],
-                    [
-                        19194,
-                        10768,
-                        20032,
-                        55218,
-                        13172,
-                        22245,
-                        15987,
-                        9646,
-                        10848,
-                        14470,
-                        14973,
-                        15799,
-                        16860,
-                        6568,
-                        8312,
-                        5573,
-                        11480,
-                        6366,
-                        8394,
-                        12616
-                    ]
-                ],
-                "outputs": [
-                    [
-                        19194,
-                        8426,
-                        28458,
-                        -26760,
-                        -13588,
-                        -4054.429,
-                        -10906,
-                        -7690.666,
-                        -13114.666,
-                        -13114.666,
-                        -10120.066,
-                        -21969.316,
-                        -27589.316,
-                        -34157.316,
-                        -25845.316,
-                        -25845.316,
-                        -37325.316,
-                        -35203.316,
-                        -32405.316,
-                        -45021.316
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        82.15,
-                        81.89,
-                        83.03,
-                        83.3,
-                        83.85,
-                        83.9,
-                        83.33,
-                        84.3,
-                        84.84,
-                        85,
-                        85.9,
-                        86.58,
-                        86.98,
-                        88,
-                        87.87
-                    ],
-                    [
-                        81.29,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.07,
-                        83.11,
-                        82.49,
-                        82.3,
-                        84.15,
-                        84.11,
-                        84.03,
-                        85.39,
-                        85.76,
-                        87.17,
-                        87.01
-                    ],
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ],
-                    [
-                        5653100,
-                        6447400,
-                        7690900,
-                        3831400,
-                        4455100,
-                        3798000,
-                        3936200,
-                        4732000,
-                        4841300,
-                        3915300,
-                        6830800,
-                        6694100,
-                        5293600,
-                        7985800,
-                        4807900
-                    ]
-                ],
-                "outputs": [
-                    [
-                        -1709076.744,
-                        -3823823.944,
-                        2436210.94,
-                        2730934.016,
-                        4444434.016,
-                        1031041.611,
-                        375008.278,
-                        3640088.278,
-                        4411889.727,
-                        2696196.469,
-                        6823899.143,
-                        13067975.613,
-                        17580552.662,
-                        21140487.602,
-                        19463313.184
-                    ]
-                ]
-            }
-        ]
-    },
-    "add": {
-        "description": "Vector Addition",
-        "type": "simple",
-        "slots": {
-            "input": 2,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real, real",
-        "options": "none",
-        "name": "add",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        1,
-                        5,
-                        4,
-                        6,
-                        7,
-                        8,
-                        5,
-                        1,
-                        0,
-                        6
-                    ],
-                    [
-                        9,
-                        4,
-                        5,
-                        6,
-                        2,
-                        1,
-                        4,
-                        5,
-                        7,
-                        0
-                    ]
-                ],
-                "outputs": [
-                    [
-                        10,
-                        9,
-                        9,
-                        12,
-                        9,
-                        9,
-                        9,
-                        6,
-                        7,
-                        6
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ],
-                    [
-                        81.85,
-                        81.2,
-                        81.55,
-                        82.91,
-                        83.1,
-                        83.41,
-                        82.71,
-                        82.7,
-                        84.2,
-                        84.25,
-                        84.03,
-                        85.45,
-                        86.18,
-                        88,
-                        87.6
-                    ]
-                ],
-                "outputs": [
-                    [
-                        163.44,
-                        162.26,
-                        164.42,
-                        165.91,
-                        166.71,
-                        166.56,
-                        165.55,
-                        166.69,
-                        168.75,
-                        168.61,
-                        169.56,
-                        171.99,
-                        173.07,
-                        175.77,
-                        174.89
-                    ]
-                ]
-            }
-        ]
-    },
-    "adosc": {
-        "description": "Accumulation/Distribution Oscillator",
-        "type": "indicator",
-        "slots": {
-            "input": 4,
-            "options": 2,
-            "output": 1
-        },
-        "inputs": "high, low, close, volume",
-        "options": "short period, long period",
-        "name": "adosc",
-        "tests": [
-            {
-                "options": [
-                    3,
-                    10
-                ],
-                "inputs": [
-                    [
-                        8.625,
-                        8.875,
-                        9.375,
-                        10.125,
-                        9.375,
-                        10.125,
-                        10,
-                        9.75,
-                        9.5,
-                        9.625,
-                        10,
-                        9.75,
-                        9.125,
-                        9.25
-                    ],
-                    [
-                        8.25,
-                        8.375,
-                        8.375,
-                        8.75,
-                        8.75,
-                        9.25,
-                        9.125,
-                        9.375,
-                        9,
-                        8.875,
-                        9.375,
-                        8.75,
-                        8.75,
-                        9.125
-                    ],
-                    [
-                        8.625,
-                        8.375,
-                        9.375,
-                        8.75,
-                        9.375,
-                        9.875,
-                        9.375,
-                        9.625,
-                        9.125,
-                        9.25,
-                        9.75,
-                        8.875,
-                        8.875,
-                        9.125
-                    ],
-                    [
-                        19194,
-                        10768,
-                        20032,
-                        55218,
-                        13172,
-                        22245,
-                        15987,
-                        9646,
-                        10848,
-                        14470,
-                        14973,
-                        15799,
-                        16860,
-                        6568
-                    ]
-                ],
-                "outputs": [
-                    [
-                        -7539.927,
-                        -5614.803,
-                        -8087.032,
-                        -10151.396,
-                        -12162.872
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    2,
-                    5
-                ],
-                "inputs": [
-                    [
-                        82.15,
-                        81.89,
-                        83.03,
-                        83.3,
-                        83.85,
-                        83.9,
-                        83.33,
-                        84.3,
-                        84.84,
-                        85,
-                        85.9,
-                        86.58,
-                        86.98,
-                        88,
-                        87.87
-                    ],
-                    [
-                        81.29,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.07,
-                        83.11,
-                        82.49,
-                        82.3,
-                        84.15,
-                        84.11,
-                        84.03,
-                        85.39,
-                        85.76,
-                        87.17,
-                        87.01
-                    ],
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ],
-                    [
-                        5653100,
-                        6447400,
-                        7690900,
-                        3831400,
-                        4455100,
-                        3798000,
-                        3936200,
-                        4732000,
-                        4841300,
-                        3915300,
-                        6830800,
-                        6694100,
-                        5293600,
-                        7985800,
-                        4807900
-                    ]
-                ],
-                "outputs": [
-                    [
-                        1900759.847,
-                        399262.04,
-                        -241806.815,
-                        757828.287,
-                        1068830.285,
-                        328526.246,
-                        1466909.296,
-                        3475262.287,
-                        4653474.793,
-                        5067839.265,
-                        3474675.616
-                    ]
-                ]
-            }
-        ]
-    },
-    "dx": {
-        "description": "Directional Movement Index",
-        "type": "indicator",
-        "slots": {
-            "input": 3,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "high, low, close",
-        "options": "period",
-        "name": "dx",
-        "tests": [
-            {
-                "options": [
-                    14
-                ],
-                "inputs": [
-                    [
-                        94.1875,
-                        94.5,
-                        93.5,
-                        92.75,
-                        92.875,
-                        90.75,
-                        89.875,
-                        89.125,
-                        90.4375,
-                        90,
-                        88.5,
-                        87.75,
-                        87.0625,
-                        85.8125,
-                        86.5625,
-                        90.375,
-                        91.375,
-                        92.25,
-                        93.375,
-                        92.0625,
-                        92.875,
-                        93.9375,
-                        95.25,
-                        97.125,
-                        97.1875,
-                        94.875,
-                        94.3125,
-                        93.3125,
-                        94.125,
-                        96.9375,
-                        101.125,
-                        108.75,
-                        115,
-                        117.125,
-                        115,
-                        116.625,
-                        118,
-                        119.25,
-                        119.25,
-                        118.812,
-                        118.375,
-                        119.938,
-                        117.75,
-                        118.625,
-                        117.125,
-                        116.375,
-                        113.875,
-                        112.25,
-                        113.688,
-                        114.25
-                    ],
-                    [
-                        92.125,
-                        91.9375,
-                        91.5,
-                        90.3125,
-                        90.5,
-                        84.375,
-                        86.4375,
-                        86.4375,
-                        88.25,
-                        87.0625,
-                        86.9375,
-                        85.875,
-                        85,
-                        84.5,
-                        84.375,
-                        88.4375,
-                        88.375,
-                        89.5,
-                        91,
-                        89.5,
-                        89.5625,
-                        90.875,
-                        92.875,
-                        95.7344,
-                        94.75,
-                        92.875,
-                        91.6875,
-                        91.4375,
-                        92.25,
-                        92.75,
-                        95.3125,
-                        98.5,
-                        108.938,
-                        113.625,
-                        111.188,
-                        110.625,
-                        115.125,
-                        116.75,
-                        116.125,
-                        117.062,
-                        116.812,
-                        117.125,
-                        116.25,
-                        112,
-                        112.25,
-                        109.375,
-                        108.375,
-                        107.312,
-                        111.375,
-                        108.688
-                    ],
-                    [
-                        92.375,
-                        92.5625,
-                        92,
-                        91.75,
-                        91.5625,
-                        89.9375,
-                        88.875,
-                        87.125,
-                        89.625,
-                        89.1875,
-                        87,
-                        87.3125,
-                        85,
-                        84.9375,
-                        86,
-                        89.8125,
-                        89.625,
-                        91.6875,
-                        91.125,
-                        90.1875,
-                        91.0469,
-                        93.1875,
-                        94.8125,
-                        96.125,
-                        95.4375,
-                        93,
-                        91.75,
-                        92.75,
-                        93.875,
-                        96.625,
-                        98.6875,
-                        108.438,
-                        113.688,
-                        115.25,
-                        112.75,
-                        115.875,
-                        117.562,
-                        117.438,
-                        119.125,
-                        117.5,
-                        117.938,
-                        117.625,
-                        116.75,
-                        116.562,
-                        112.625,
-                        113.812,
-                        110,
-                        111.438,
-                        112.25,
-                        109.375
-                    ]
-                ],
-                "outputs": [
-                    [
-                        73.585,
-                        63.6115,
-                        24.4637,
-                        16.584,
-                        10.0206,
-                        2.0645,
-                        11.2771,
-                        5.4886,
-                        1.7117,
-                        9.8936,
-                        20.1233,
-                        12.8777,
-                        0.4497,
-                        6.5667,
-                        8.0233,
-                        2.4342,
-                        14.1285,
-                        31.8079,
-                        51.4207,
-                        61.2569,
-                        63.9309,
-                        51.0546,
-                        53.6679,
-                        55.8176,
-                        57.7373,
-                        54.1312,
-                        54.1312,
-                        52.5138,
-                        55.6475,
-                        49.6919,
-                        24.7277,
-                        24.7277,
-                        10.2966,
-                        5.715,
-                        0.9162,
-                        7.0623,
-                        4.8185
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        82.15,
-                        81.89,
-                        83.03,
-                        83.3,
-                        83.85,
-                        83.9,
-                        83.33,
-                        84.3,
-                        84.84,
-                        85,
-                        85.9,
-                        86.58,
-                        86.98,
-                        88,
-                        87.87
-                    ],
-                    [
-                        81.29,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.07,
-                        83.11,
-                        82.49,
-                        82.3,
-                        84.15,
-                        84.11,
-                        84.03,
-                        85.39,
-                        85.76,
-                        87.17,
-                        87.01
-                    ],
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        50.192,
-                        51.356,
-                        11.088,
-                        41.517,
-                        52.766,
-                        55.907,
-                        69.955,
-                        76.905,
-                        80.262,
-                        86.511,
-                        75.609
-                    ]
-                ]
-            }
-        ]
-    },
-    "ao": {
-        "description": "Awesome Oscillator",
-        "type": "indicator",
-        "slots": {
-            "input": 2,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "high, low",
-        "options": "none",
-        "name": "ao",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        32.11,
-                        27.62,
-                        28.26,
-                        28.02,
-                        26.93,
-                        26.65,
-                        27.25,
-                        27.58,
-                        27.9,
-                        28.9,
-                        29.34,
-                        29.82,
-                        29.54,
-                        29.3,
-                        29.5,
-                        29.5,
-                        29.7,
-                        29.14,
-                        27.17,
-                        30.34,
-                        30.26,
-                        30.14,
-                        29.98,
-                        30.55,
-                        32.11,
-                        34.16,
-                        39.5,
-                        50.78,
-                        51.38,
-                        51.34,
-                        50.7,
-                        44.23,
-                        42.71,
-                        39.82,
-                        42.35,
-                        44.71,
-                        44.27,
-                        43.67,
-                        44.83,
-                        44.55,
-                        46.8,
-                        46.24,
-                        45.52,
-                        44.55,
-                        46.12,
-                        44.71,
-                        44.47,
-                        45.28,
-                        44.63,
-                        43.43,
-                        46.24,
-                        49.13,
-                        49.93,
-                        49.93,
-                        51.38,
-                        52.78,
-                        50.53,
-                        50.61,
-                        49.33,
-                        49.41,
-                        53.3,
-                        52.58,
-                        62.3,
-                        61.57,
-                        62.54,
-                        64.54,
-                        74.14,
-                        73.17,
-                        70.12,
-                        68.64,
-                        71.77,
-                        70.64,
-                        71.77,
-                        104.04,
-                        103.4,
-                        97.62,
-                        98.9,
-                        99.46,
-                        89.23,
-                        87.34,
-                        82.28,
-                        78.99,
-                        81.56,
-                        78.03,
-                        73.86,
-                        77.67,
-                        79.47,
-                        77.71,
-                        76.75,
-                        78.31,
-                        77.71,
-                        72.25,
-                        68.08,
-                        66.31,
-                        65.75,
-                        64.14,
-                        67.43,
-                        80.28,
-                        78.35
-                    ],
-                    [
-                        25.69,
-                        25.57,
-                        25.73,
-                        25.69,
-                        25.69,
-                        26.17,
-                        26.05,
-                        26.29,
-                        26.89,
-                        27.74,
-                        28.46,
-                        29.02,
-                        28.46,
-                        28.78,
-                        29.06,
-                        28.74,
-                        28.5,
-                        27.01,
-                        26.33,
-                        26.97,
-                        29.18,
-                        29.62,
-                        29.54,
-                        29.74,
-                        30.47,
-                        31.83,
-                        34.64,
-                        40.42,
-                        47.68,
-                        48.97,
-                        43.27,
-                        41.58,
-                        38.73,
-                        37.33,
-                        37.89,
-                        43.39,
-                        42.67,
-                        41.14,
-                        42.39,
-                        43.03,
-                        43.75,
-                        44.83,
-                        43.35,
-                        42.67,
-                        43.67,
-                        42.67,
-                        43.59,
-                        43.19,
-                        43.31,
-                        41.58,
-                        42.55,
-                        45.96,
-                        47.4,
-                        48.17,
-                        48.97,
-                        50.25,
-                        48.61,
-                        48.37,
-                        48.05,
-                        48.05,
-                        49.17,
-                        50.98,
-                        49.85,
-                        56.56,
-                        57.8,
-                        58.84,
-                        64.54,
-                        66.31,
-                        63.1,
-                        65.06,
-                        66.95,
-                        65.83,
-                        67.39,
-                        72.25,
-                        84.13,
-                        89.91,
-                        93.12,
-                        89.91,
-                        83.17,
-                        76.34,
-                        72.73,
-                        71.93,
-                        75.86,
-                        72.57,
-                        67.91,
-                        70.04,
-                        75.14,
-                        74.66,
-                        72.69,
-                        72.89,
-                        70.64,
-                        63.66,
-                        57.8,
-                        58.92,
-                        52.66,
-                        57.88,
-                        62.34,
-                        68.76,
-                        67.67
-                    ]
-                ],
-                "outputs": [
-                    [
-                        11.6905,
-                        9.3535,
-                        8.2531,
-                        7.8816,
-                        7.7612,
-                        8.2594,
-                        8.4822,
-                        8.1794,
-                        8.0454,
-                        7.9502,
-                        7.5005,
-                        7.251,
-                        6.5143,
-                        5.7713,
-                        5.2844,
-                        4.9243,
-                        4.0526,
-                        3.7438,
-                        3.8741,
-                        4.1156,
-                        4.5317,
-                        5.4641,
-                        6.2518,
-                        6.0741,
-                        5.6701,
-                        5.0864,
-                        4.3346,
-                        3.862,
-                        4.1222,
-                        5.2467,
-                        7.0596,
-                        8.9599,
-                        10.4984,
-                        13.1686,
-                        14.985,
-                        15.7149,
-                        16.3803,
-                        17.1528,
-                        16.1721,
-                        15.3763,
-                        18.3787,
-                        22.3355,
-                        25.798,
-                        29.8361,
-                        33.3549,
-                        31.751,
-                        28.244,
-                        24.0074,
-                        18.979,
-                        14.7623,
-                        11.6177,
-                        8.6476,
-                        7.1438,
-                        6.6704,
-                        5.3673,
-                        4.5294,
-                        4.764,
-                        4.1044,
-                        1.6913,
-                        -1.3769,
-                        -4.2062,
-                        -7.7196,
-                        -10.6241,
-                        -11.4972,
-                        -9.6358,
-                        -7.9344
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        82.15,
-                        81.89,
-                        83.03,
-                        83.3,
-                        83.85,
-                        83.9,
-                        83.33,
-                        84.3,
-                        84.84,
-                        85,
-                        85.9,
-                        86.58,
-                        86.98,
-                        88,
-                        87.87
-                    ],
-                    [
-                        81.29,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.07,
-                        83.11,
-                        82.49,
-                        82.3,
-                        84.15,
-                        84.11,
-                        84.03,
-                        85.39,
-                        85.76,
-                        87.17,
-                        87.01
-                    ]
-                ],
-                "outputs": [
-                    []
-                ]
-            }
-        ]
-    },
-    "apo": {
-        "description": "Absolute Price Oscillator",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 2,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "short period, long period",
-        "name": "apo",
-        "tests": [
-            {
-                "options": [
-                    3,
-                    5
-                ],
-                "inputs": [
-                    [
-                        25,
-                        24.875,
-                        24.781,
-                        24.594,
-                        24.5,
-                        24.625,
-                        25.219,
-                        27.25
-                    ]
-                ],
-                "outputs": [
-                    [
-                        -0.0208,
-                        -0.04,
-                        -0.0709,
-                        -0.085,
-                        -0.0547,
-                        0.0635,
-                        0.4308
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    2,
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        -0.177,
-                        0.427,
-                        0.509,
-                        0.618,
-                        0.351,
-                        0.111,
-                        0.416,
-                        0.578,
-                        0.422,
-                        0.684,
-                        0.927,
-                        0.891,
-                        0.979,
-                        0.621
-                    ]
-                ]
-            }
-        ]
-    },
-    "aroonosc": {
-        "description": "Aroon Oscillator",
-        "type": "indicator",
-        "slots": {
-            "input": 2,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "high, low",
-        "options": "period",
-        "name": "aroonosc",
-        "tests": [
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        27.5,
-                        28.125,
-                        29,
-                        30.313,
-                        29.75,
-                        28.563,
-                        29.831,
-                        30.969,
-                        30.594,
-                        31.125,
-                        32.5,
-                        33.844,
-                        34.469,
-                        34.719,
-                        33.031,
-                        33.625,
-                        34,
-                        33.813,
-                        33.156,
-                        32.969,
-                        33.813
-                    ],
-                    [
-                        26.219,
-                        26.313,
-                        26.906,
-                        29.188,
-                        29.188,
-                        26.594,
-                        27.875,
-                        30.25,
-                        29.75,
-                        29.813,
-                        30.406,
-                        32.844,
-                        33.813,
-                        32.688,
-                        32.281,
-                        32.281,
-                        32.938,
-                        32.688,
-                        31.5,
-                        31.375,
-                        32.656
-                    ]
-                ],
-                "outputs": [
-                    [
-                        60,
-                        40,
-                        40,
-                        40,
-                        80,
-                        100,
-                        100,
-                        80,
-                        100,
-                        80,
-                        60,
-                        -40,
-                        -40,
-                        -100,
-                        -60,
-                        -60
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        82.15,
-                        81.89,
-                        83.03,
-                        83.3,
-                        83.85,
-                        83.9,
-                        83.33,
-                        84.3,
-                        84.84,
-                        85,
-                        85.9,
-                        86.58,
-                        86.98,
-                        88,
-                        87.87
-                    ],
-                    [
-                        81.29,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.07,
-                        83.11,
-                        82.49,
-                        82.3,
-                        84.15,
-                        84.11,
-                        84.03,
-                        85.39,
-                        85.76,
-                        87.17,
-                        87.01
-                    ]
-                ],
-                "outputs": [
-                    [
-                        80,
-                        80,
-                        100,
-                        20,
-                        40,
-                        60,
-                        80,
-                        100,
-                        60,
-                        60
-                    ]
-                ]
-            }
-        ]
-    },
-    "asin": {
-        "description": "Vector Arcsine",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "asin",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        0,
-                        0.5,
-                        1
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0,
-                        0.524,
-                        1.571
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        0.2,
-                        0.3,
-                        0.4,
-                        0.3,
-                        0.5,
-                        0.7,
-                        0.75,
-                        0.9,
-                        0.9,
-                        1,
-                        1,
-                        0.2,
-                        0.1,
-                        -0.1,
-                        -0.5
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.201,
-                        0.305,
-                        0.412,
-                        0.305,
-                        0.524,
-                        0.775,
-                        0.848,
-                        1.12,
-                        1.12,
-                        1.571,
-                        1.571,
-                        0.201,
-                        0.1,
-                        -0.1,
-                        -0.524
-                    ]
-                ]
-            }
-        ]
-    },
-    "atan": {
-        "description": "Vector Arctangent",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "atan",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        0,
-                        0.5,
-                        1
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0,
-                        0.464,
-                        0.785
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        0.2,
-                        0.3,
-                        0.4,
-                        0.3,
-                        0.5,
-                        0.7,
-                        0.75,
-                        0.9,
-                        0.9,
-                        1,
-                        1,
-                        0.2,
-                        0.1,
-                        -0.1,
-                        -0.5
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.197,
-                        0.291,
-                        0.381,
-                        0.291,
-                        0.464,
-                        0.611,
-                        0.644,
-                        0.733,
-                        0.733,
-                        0.785,
-                        0.785,
-                        0.197,
-                        0.1,
-                        -0.1,
-                        -0.464
-                    ]
-                ]
-            }
-        ]
-    },
-    "atr": {
-        "description": "Average True Range",
-        "type": "indicator",
-        "slots": {
-            "input": 3,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "high, low, close",
-        "options": "period",
-        "name": "atr",
-        "tests": [
-            {
-                "options": [
-                    4
-                ],
-                "inputs": [
-                    [
-                        12.3125,
-                        12.25,
-                        12.3125,
-                        12.2812,
-                        12.375,
-                        12.375,
-                        12.3125,
-                        12.375,
-                        12.5,
-                        12.5938,
-                        12.3438,
-                        12.4062,
-                        12.375,
-                        12.4062,
-                        12.375,
-                        12.2812,
-                        12.25,
-                        12.0625,
-                        12.3125,
-                        12.3125
-                    ],
-                    [
-                        12.1875,
-                        12.1562,
-                        12.1875,
-                        12.125,
-                        12.125,
-                        12.2812,
-                        12.1875,
-                        12.1875,
-                        12.2812,
-                        12.3125,
-                        12.2812,
-                        12.2812,
-                        12.2812,
-                        12.2812,
-                        11.9688,
-                        12.0938,
-                        12,
-                        11.6562,
-                        12.1562,
-                        12.125
-                    ],
-                    [
-                        12.25,
-                        12.1875,
-                        12.25,
-                        12.1875,
-                        12.375,
-                        12.3125,
-                        12.2188,
-                        12.3438,
-                        12.5,
-                        12.375,
-                        12.3438,
-                        12.3438,
-                        12.2812,
-                        12.375,
-                        12.0938,
-                        12.1562,
-                        12.0625,
-                        11.9688,
-                        12.1875,
-                        12.1562
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.125,
-                        0.1563,
-                        0.1406,
-                        0.1367,
-                        0.1494,
-                        0.1668,
-                        0.1954,
-                        0.17,
-                        0.1587,
-                        0.1425,
-                        0.1381,
-                        0.2052,
-                        0.2007,
-                        0.213,
-                        0.2614,
-                        0.2819,
-                        0.2583
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        82.15,
-                        81.89,
-                        83.03,
-                        83.3,
-                        83.85,
-                        83.9,
-                        83.33,
-                        84.3,
-                        84.84,
-                        85,
-                        85.9,
-                        86.58,
-                        86.98,
-                        88,
-                        87.87
-                    ],
-                    [
-                        81.29,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.07,
-                        83.11,
-                        82.49,
-                        82.3,
-                        84.15,
-                        84.11,
-                        84.03,
-                        85.39,
-                        85.76,
-                        87.17,
-                        87.01
-                    ],
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        1.116,
-                        1.051,
-                        1.009,
-                        1.207,
-                        1.136,
-                        1.086,
-                        1.243,
-                        1.233,
-                        1.23,
-                        1.206,
-                        1.137
-                    ]
-                ]
-            }
-        ]
-    },
-    "avgprice": {
-        "description": "Average Price",
-        "type": "overlay",
-        "slots": {
-            "input": 4,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "open, high, low, close",
-        "options": "none",
-        "name": "avgprice",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        81.85,
-                        81.2,
-                        81.55,
-                        82.91,
-                        83.1,
-                        83.41,
-                        82.71,
-                        82.7,
-                        84.2,
-                        84.25,
-                        84.03,
-                        85.45
-                    ],
-                    [
-                        82.15,
-                        81.89,
-                        83.03,
-                        83.3,
-                        83.85,
-                        83.9,
-                        83.33,
-                        84.3,
-                        84.84,
-                        85,
-                        85.9,
-                        86.58
-                    ],
-                    [
-                        81.29,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.07,
-                        83.11,
-                        82.49,
-                        82.3,
-                        84.15,
-                        84.11,
-                        84.03,
-                        85.39
-                    ],
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54
-                    ]
-                ],
-                "outputs": [
-                    [
-                        81.72,
-                        81.198,
-                        82.19,
-                        82.965,
-                        83.408,
-                        83.393,
-                        82.843,
-                        83.323,
-                        84.435,
-                        84.43,
-                        84.873,
-                        85.99
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        81.85,
-                        81.2,
-                        81.55,
-                        82.91,
-                        83.1,
-                        83.41,
-                        82.71,
-                        82.7,
-                        84.2,
-                        84.25,
-                        84.03,
-                        85.45,
-                        86.18,
-                        88,
-                        87.6
-                    ],
-                    [
-                        82.15,
-                        81.89,
-                        83.03,
-                        83.3,
-                        83.85,
-                        83.9,
-                        83.33,
-                        84.3,
-                        84.84,
-                        85,
-                        85.9,
-                        86.58,
-                        86.98,
-                        88,
-                        87.87
-                    ],
-                    [
-                        81.29,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.07,
-                        83.11,
-                        82.49,
-                        82.3,
-                        84.15,
-                        84.11,
-                        84.03,
-                        85.39,
-                        85.76,
-                        87.17,
-                        87.01
-                    ],
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        81.72,
-                        81.198,
-                        82.19,
-                        82.965,
-                        83.407,
-                        83.392,
-                        82.843,
-                        83.322,
-                        84.435,
-                        84.43,
-                        84.873,
-                        85.99,
-                        86.453,
-                        87.735,
-                        87.442
-                    ]
-                ]
-            }
-        ]
-    },
-    "bop": {
-        "description": "Balance of Power",
-        "type": "indicator",
-        "slots": {
-            "input": 4,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "open, high, low, close",
-        "options": "none",
-        "name": "bop",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        81.85,
-                        81.2,
-                        81.55,
-                        82.91,
-                        83.1,
-                        83.41,
-                        82.71,
-                        82.7,
-                        84.2,
-                        84.25,
-                        84.03,
-                        85.45
-                    ],
-                    [
-                        82.15,
-                        81.89,
-                        83.03,
-                        83.3,
-                        83.85,
-                        83.9,
-                        83.33,
-                        84.3,
-                        84.84,
-                        85,
-                        85.9,
-                        86.58
-                    ],
-                    [
-                        81.29,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.07,
-                        83.11,
-                        82.49,
-                        82.3,
-                        84.15,
-                        84.11,
-                        84.03,
-                        85.39
-                    ],
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54
-                    ]
-                ],
-                "outputs": [
-                    [
-                        -0.3023,
-                        -0.112,
-                        0.7674,
-                        0.1385,
-                        0.6538,
-                        -0.3291,
-                        0.1548,
-                        0.645,
-                        0.5072,
-                        0.1236,
-                        0.8021,
-                        0.916
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        81.85,
-                        81.2,
-                        81.55,
-                        82.91,
-                        83.1,
-                        83.41,
-                        82.71,
-                        82.7,
-                        84.2,
-                        84.25,
-                        84.03,
-                        85.45,
-                        86.18,
-                        88,
-                        87.6
-                    ],
-                    [
-                        82.15,
-                        81.89,
-                        83.03,
-                        83.3,
-                        83.85,
-                        83.9,
-                        83.33,
-                        84.3,
-                        84.84,
-                        85,
-                        85.9,
-                        86.58,
-                        86.98,
-                        88,
-                        87.87
-                    ],
-                    [
-                        81.29,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.07,
-                        83.11,
-                        82.49,
-                        82.3,
-                        84.15,
-                        84.11,
-                        84.03,
-                        85.39,
-                        85.76,
-                        87.17,
-                        87.01
-                    ],
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        -0.302,
-                        -0.112,
-                        0.767,
-                        0.138,
-                        0.654,
-                        -0.329,
-                        0.155,
-                        0.645,
-                        0.507,
-                        0.124,
-                        0.802,
-                        0.916,
-                        0.582,
-                        -0.277,
-                        -0.36
-                    ]
-                ]
-            }
-        ]
-    },
-    "cci": {
-        "description": "Commodity Channel Index",
-        "type": "indicator",
-        "slots": {
-            "input": 3,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "high, low, close",
-        "options": "period",
-        "name": "cci",
-        "tests": [
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        15.125,
-                        15.052,
-                        14.8173,
-                        14.69,
-                        14.7967,
-                        14.794,
-                        14.093,
-                        14.7,
-                        14.5255,
-                        14.6579,
-                        14.7842,
-                        14.8273
-                    ],
-                    [
-                        14.936,
-                        14.6267,
-                        14.5557,
-                        14.46,
-                        14.5483,
-                        13.9347,
-                        13.8223,
-                        14.02,
-                        14.2652,
-                        14.3773,
-                        14.5527,
-                        14.3309
-                    ],
-                    [
-                        14.936,
-                        14.752,
-                        14.5857,
-                        14.6,
-                        14.6983,
-                        13.946,
-                        13.9827,
-                        14.45,
-                        14.3452,
-                        14.4197,
-                        14.5727,
-                        14.4773
-                    ]
-                ],
-                "outputs": [
-                    [
-                        18.089,
-                        84.4605,
-                        109.1186,
-                        46.654
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        82.15,
-                        81.89,
-                        83.03,
-                        83.3,
-                        83.85,
-                        83.9,
-                        83.33,
-                        84.3,
-                        84.84,
-                        85,
-                        85.9,
-                        86.58,
-                        86.98,
-                        88,
-                        87.87
-                    ],
-                    [
-                        81.29,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.07,
-                        83.11,
-                        82.49,
-                        82.3,
-                        84.15,
-                        84.11,
-                        84.03,
-                        85.39,
-                        85.76,
-                        87.17,
-                        87.01
-                    ],
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        166.667,
-                        82.02,
-                        95.501,
-                        130.912,
-                        99.163,
-                        116.342,
-                        71.928
-                    ]
-                ]
-            }
-        ]
-    },
-    "ceil": {
-        "description": "Vector Ceiling",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "ceil",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        0,
-                        0.5,
-                        1
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0,
-                        1,
-                        1
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        82,
-                        82,
-                        83,
-                        83,
-                        84,
-                        84,
-                        83,
-                        84,
-                        85,
-                        85,
-                        86,
-                        87,
-                        87,
-                        88,
-                        88
-                    ]
-                ]
-            }
-        ]
-    },
-    "cmo": {
-        "description": "Chande Momentum Oscillator",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "cmo",
-        "tests": [
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        51.0625,
-                        50.125,
-                        52.3125,
-                        52.1875,
-                        53.1875,
-                        53.0625,
-                        54.0625,
-                        53.5,
-                        51.5625,
-                        51.5
-                    ]
-                ],
-                "outputs": [
-                    [
-                        45.7143,
-                        88.7324,
-                        42.2222,
-                        -13.5135,
-                        -45.7627
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    10
-                ],
-                "inputs": [
-                    [
-                        101.0313,
-                        101.0313,
-                        101.125,
-                        101.9687,
-                        102.7813,
-                        103,
-                        102.9687,
-                        103.0625,
-                        102.9375,
-                        102.7188,
-                        102.75,
-                        102.9063,
-                        102.9687
-                    ]
-                ],
-                "outputs": [
-                    [
-                        69.62,
-                        71.4286,
-                        71.0839
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        44.068,
-                        53.614,
-                        42.105,
-                        50.162,
-                        28.09,
-                        70.414,
-                        90.686,
-                        88.415,
-                        89.444,
-                        75.321
-                    ]
-                ]
-            }
-        ]
-    },
-    "cos": {
-        "description": "Vector Cosine",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "cos",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        0,
-                        0.5,
-                        1
-                    ]
-                ],
-                "outputs": [
-                    [
-                        1,
-                        0.878,
-                        0.54
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.996,
-                        0.813,
-                        0.373,
-                        0.25,
-                        -0.35,
-                        0.102,
-                        0.401,
-                        -0.673,
-                        -0.963,
-                        -0.895,
-                        -0.76,
-                        0.146,
-                        0.476,
-                        0.981,
-                        0.781
-                    ]
-                ]
-            }
-        ]
-    },
-    "cosh": {
-        "description": "Vector Hyperbolic Cosine",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "cosh",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        0,
-                        0.5,
-                        1
-                    ]
-                ],
-                "outputs": [
-                    [
-                        1,
-                        1.128,
-                        1.543
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        0.2,
-                        0.3,
-                        0.4,
-                        0.3,
-                        0.5,
-                        0.7,
-                        0.75,
-                        0.9,
-                        0.9,
-                        1,
-                        1,
-                        0.2,
-                        0.1,
-                        -0.1,
-                        -0.5
-                    ]
-                ],
-                "outputs": [
-                    [
-                        1.02,
-                        1.045,
-                        1.081,
-                        1.045,
-                        1.128,
-                        1.255,
-                        1.295,
-                        1.433,
-                        1.433,
-                        1.543,
-                        1.543,
-                        1.02,
-                        1.005,
-                        1.005,
-                        1.128
-                    ]
-                ]
-            }
-        ]
-    },
-    "crossany": {
-        "description": "Crossany",
-        "type": "math",
-        "slots": {
-            "input": 2,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real, real",
-        "options": "none",
-        "name": "crossany",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        5,
-                        5,
-                        5,
-                        5,
-                        5,
-                        5,
-                        5,
-                        5,
-                        5,
-                        5,
-                        5
-                    ],
-                    [
-                        4,
-                        4,
-                        6,
-                        6,
-                        6,
-                        4,
-                        4,
-                        6,
-                        5,
-                        5,
-                        5
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0,
-                        1,
-                        0,
-                        0,
-                        1,
-                        0,
-                        1,
-                        0,
-                        0,
-                        0
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ],
-                    [
-                        81.85,
-                        81.2,
-                        81.55,
-                        82.91,
-                        83.1,
-                        83.41,
-                        82.71,
-                        82.7,
-                        84.2,
-                        84.25,
-                        84.03,
-                        85.45,
-                        86.18,
-                        88,
-                        87.6
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0,
-                        1,
-                        0,
-                        0,
-                        1,
-                        1,
-                        0,
-                        0,
-                        0,
-                        0,
-                        0,
-                        0,
-                        1,
-                        0
-                    ]
-                ]
-            }
-        ]
-    },
-    "crossover": {
-        "description": "Crossover",
-        "type": "math",
-        "slots": {
-            "input": 2,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real, real",
-        "options": "none",
-        "name": "crossover",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        5,
-                        5,
-                        5,
-                        5,
-                        5,
-                        5,
-                        5,
-                        5,
-                        5,
-                        5,
-                        5
-                    ],
-                    [
-                        4,
-                        4,
-                        6,
-                        6,
-                        6,
-                        4,
-                        4,
-                        6,
-                        5,
-                        5,
-                        5
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0,
-                        0,
-                        0,
-                        0,
-                        1,
-                        0,
-                        0,
-                        0,
-                        0,
-                        0
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ],
-                    [
-                        81.85,
-                        81.2,
-                        81.55,
-                        82.91,
-                        83.1,
-                        83.41,
-                        82.71,
-                        82.7,
-                        84.2,
-                        84.25,
-                        84.03,
-                        85.45,
-                        86.18,
-                        88,
-                        87.6
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0,
-                        1,
-                        0,
-                        0,
-                        0,
-                        1,
-                        0,
-                        0,
-                        0,
-                        0,
-                        0,
-                        0,
-                        0,
-                        0
-                    ]
-                ]
-            }
-        ]
-    },
-    "cvi": {
-        "description": "Chaikins Volatility",
-        "type": "indicator",
-        "slots": {
-            "input": 2,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "high, low",
-        "options": "period",
-        "name": "cvi",
-        "tests": [
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        60.2476,
-                        60.5637,
-                        62.0859,
-                        62.7016,
-                        62.9355,
-                        62.8032,
-                        62.3419,
-                        61.8435,
-                        61.6278,
-                        61.3613,
-                        60.5073,
-                        61.4379
-                    ],
-                    [
-                        58.4915,
-                        59.0323,
-                        60.8968,
-                        61.3758,
-                        61.7601,
-                        62.0952,
-                        61.6508,
-                        60.3919,
-                        60.804,
-                        60.6952,
-                        59.6734,
-                        59.6702
-                    ]
-                ],
-                "outputs": [
-                    [
-                        -32.8138,
-                        -22.3683,
-                        18.9829
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        82.15,
-                        81.89,
-                        83.03,
-                        83.3,
-                        83.85,
-                        83.9,
-                        83.33,
-                        84.3,
-                        84.84,
-                        85,
-                        85.9,
-                        86.58,
-                        86.98,
-                        88,
-                        87.87
-                    ],
-                    [
-                        81.29,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.07,
-                        83.11,
-                        82.49,
-                        82.3,
-                        84.15,
-                        84.11,
-                        84.03,
-                        85.39,
-                        85.76,
-                        87.17,
-                        87.01
-                    ]
-                ],
-                "outputs": [
-                    [
-                        5.682,
-                        44.088,
-                        43.317,
-                        -0.494,
-                        3.994,
-                        1.824
-                    ]
-                ]
-            }
-        ]
-    },
-    "decay": {
-        "description": "Linear Decay",
-        "type": "math",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "decay",
-        "tests": [
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        0,
-                        0,
-                        0,
-                        0,
-                        1,
-                        0,
-                        0,
-                        0,
-                        0,
-                        0,
-                        0,
-                        1,
-                        0
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0,
-                        0,
-                        0,
-                        0,
-                        1,
-                        0.8,
-                        0.6,
-                        0.4,
-                        0.2,
-                        0,
-                        0,
-                        1,
-                        0.8
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        81.59,
-                        81.39,
-                        82.87,
-                        83,
-                        83.61,
-                        83.41,
-                        83.21,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.57
-                    ]
-                ]
-            }
-        ]
-    },
-    "dema": {
-        "description": "Double Exponential Moving Average",
-        "type": "overlay",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "dema",
-        "tests": [
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        122.906,
-                        126.5,
-                        140.406,
-                        174,
-                        159.812,
-                        170,
-                        176.75,
-                        175.531,
-                        166.562,
-                        163.75,
-                        170.5,
-                        175,
-                        184.75,
-                        202.781
-                    ]
-                ],
-                "outputs": [
-                    [
-                        172.078,
-                        168.5718,
-                        170.2278,
-                        173.494,
-                        180.5297,
-                        194.1428
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        84.159,
-                        84.379,
-                        85.125,
-                        86.062,
-                        86.727,
-                        87.529,
-                        87.646
-                    ]
-                ]
-            }
-        ]
-    },
-    "div": {
-        "description": "Vector Division",
-        "type": "simple",
-        "slots": {
-            "input": 2,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real, real",
-        "options": "none",
-        "name": "div",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        1,
-                        2,
-                        7,
-                        4
-                    ],
-                    [
-                        2,
-                        1,
-                        4,
-                        7
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.5,
-                        2,
-                        1.75,
-                        0.571
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ],
-                    [
-                        81.85,
-                        81.2,
-                        81.55,
-                        82.91,
-                        83.1,
-                        83.41,
-                        82.71,
-                        82.7,
-                        84.2,
-                        84.25,
-                        84.03,
-                        85.45,
-                        86.18,
-                        88,
-                        87.6
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.997,
-                        0.998,
-                        1.016,
-                        1.001,
-                        1.006,
-                        0.997,
-                        1.002,
-                        1.016,
-                        1.004,
-                        1.001,
-                        1.018,
-                        1.013,
-                        1.008,
-                        0.997,
-                        0.996
-                    ]
-                ]
-            }
-        ]
-    },
-    "dpo": {
-        "description": "Detrended Price Oscillator",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "dpo",
-        "tests": [
-            {
-                "options": [
-                    6
-                ],
-                "inputs": [
-                    [
-                        21.6562,
-                        21.625,
-                        21.5312,
-                        22,
-                        21.5,
-                        21.9375,
-                        22.8438,
-                        23.0625,
-                        22.8125,
-                        23.4375,
-                        19.9375,
-                        20.4688,
-                        20.0625,
-                        19.75
-                    ]
-                ],
-                "outputs": [
-                    [
-                        -0.0833,
-                        -0.3751,
-                        -0.1458,
-                        -0.8594,
-                        -0.6615,
-                        0.5053,
-                        0.9687,
-                        1.1823,
-                        2.3594
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        -1.366,
-                        0.132,
-                        -0.094,
-                        0.292,
-                        -0.478,
-                        -0.938,
-                        -0.264,
-                        -0.444,
-                        -1.214,
-                        -0.688,
-                        -0.264
-                    ]
-                ]
-            }
-        ]
-    },
-    "edecay": {
-        "description": "Exponential Decay",
-        "type": "math",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "edecay",
-        "tests": [
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        0,
-                        0,
-                        0,
-                        0,
-                        1,
-                        0,
-                        0,
-                        0,
-                        0,
-                        0,
-                        0,
-                        1,
-                        0
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0,
-                        0,
-                        0,
-                        0,
-                        1,
-                        0.8,
-                        0.64,
-                        0.512,
-                        0.4096,
-                        0.3277,
-                        0.2621,
-                        1,
-                        0.8
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ]
-            }
-        ]
-    },
-    "ema": {
-        "description": "Exponential Moving Average",
-        "type": "overlay",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "ema",
-        "tests": [
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        25,
-                        24.875,
-                        24.781,
-                        24.594,
-                        24.5,
-                        24.625,
-                        25.219,
-                        27.25
-                    ]
-                ],
-                "outputs": [
-                    [
-                        25,
-                        24.958,
-                        24.899,
-                        24.797,
-                        24.698,
-                        24.674,
-                        24.856,
-                        25.654
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        81.59,
-                        81.413,
-                        81.899,
-                        82.266,
-                        82.714,
-                        82.859,
-                        82.853,
-                        83.232,
-                        83.671,
-                        83.901,
-                        84.444,
-                        85.143,
-                        85.725,
-                        86.407,
-                        86.701
-                    ]
-                ]
-            }
-        ]
-    },
-    "emv": {
-        "description": "Ease of Movement",
-        "type": "indicator",
-        "slots": {
-            "input": 3,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "high, low, volume",
-        "options": "none",
-        "name": "emv",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        23.75,
-                        23.75,
-                        23.75,
-                        25.0625,
-                        26.25,
-                        26.875,
-                        27,
-                        26.875,
-                        28,
-                        28.1875,
-                        27.6875,
-                        27.1875,
-                        26.25,
-                        26.5,
-                        26,
-                        25.875,
-                        25.375,
-                        25.5
-                    ],
-                    [
-                        23,
-                        23.1875,
-                        23.25,
-                        23.5,
-                        25,
-                        25.8125,
-                        25.875,
-                        25.75,
-                        26.3125,
-                        27.375,
-                        27.125,
-                        26,
-                        25.1875,
-                        25.375,
-                        24.875,
-                        24.3125,
-                        24.25,
-                        24.75
-                    ],
-                    [
-                        125733,
-                        83819,
-                        111390,
-                        211366,
-                        240664,
-                        219933,
-                        155943,
-                        138913,
-                        226220,
-                        164528,
-                        132053,
-                        109900,
-                        138313,
-                        143421,
-                        106053,
-                        141425,
-                        96921,
-                        93208
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.0063,
-                        0.0014,
-                        0.0578,
-                        0.0698,
-                        0.0347,
-                        0.0068,
-                        -0.0101,
-                        0.0629,
-                        0.0309,
-                        -0.016,
-                        -0.0878,
-                        -0.0672,
-                        0.0172,
-                        -0.053,
-                        -0.038,
-                        -0.0326,
-                        0.0251
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        82.15,
-                        81.89,
-                        83.03,
-                        83.3,
-                        83.85,
-                        83.9,
-                        83.33,
-                        84.3,
-                        84.84,
-                        85,
-                        85.9,
-                        86.58,
-                        86.98,
-                        88,
-                        87.87
-                    ],
-                    [
-                        81.29,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.07,
-                        83.11,
-                        82.49,
-                        82.3,
-                        84.15,
-                        84.11,
-                        84.03,
-                        85.39,
-                        85.76,
-                        87.17,
-                        87.01
-                    ],
-                    [
-                        5653100,
-                        6447400,
-                        7690900,
-                        3831400,
-                        4455100,
-                        3798000,
-                        3936200,
-                        4732000,
-                        4841300,
-                        3915300,
-                        6830800,
-                        6694100,
-                        5293600,
-                        7985800,
-                        4807900
-                    ]
-                ],
-                "outputs": [
-                    [
-                        -0.001,
-                        0.002,
-                        0.001,
-                        0.001,
-                        0,
-                        -0.001,
-                        0.002,
-                        0.002,
-                        0,
-                        0.001,
-                        0.002,
-                        0.001,
-                        0.001,
-                        0
-                    ]
-                ]
-            }
-        ]
-    },
-    "exp": {
-        "description": "Vector Exponential",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "exp",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        0.5,
-                        1,
-                        10
-                    ]
-                ],
-                "outputs": [
-                    [
-                        1.649,
-                        2.718,
-                        22026.466
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        2.716982107973226e+35,
-                        1.5992291712802126e+35,
-                        9.772005783197483e+35,
-                        1.1128637547917594e+36,
-                        2.048149396884782e+36,
-                        1.2929632178082448e+36,
-                        9.483199366114178e+35,
-                        2.994977299923604e+36,
-                        5.243224397987334e+36,
-                        4.3359323072303225e+36,
-                        1.3970341975054018e+37,
-                        3.835698510684194e+37,
-                        5.443115282699396e+37,
-                        1.3122805037054942e+38,
-                        8.120173810839651e+37
-                    ]
-                ]
-            }
-        ]
-    },
-    "floor": {
-        "description": "Vector Floor",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "floor",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        0,
-                        0.5,
-                        1
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0,
-                        0,
-                        1
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        81,
-                        81,
-                        82,
-                        83,
-                        83,
-                        83,
-                        82,
-                        83,
-                        84,
-                        84,
-                        85,
-                        86,
-                        86,
-                        87,
-                        87
-                    ]
-                ]
-            }
-        ]
-    },
-    "fosc": {
-        "description": "Forecast Oscillator",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "fosc",
-        "tests": [
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        16.4444,
-                        16.3333,
-                        16.3333,
-                        16.4444,
-                        16.4444,
-                        16.0556,
-                        16.1667,
-                        15.9444,
-                        16.3889,
-                        16.5556,
-                        16.6111
-                    ]
-                ],
-                "outputs": [
-                    [
-                        -2.3524,
-                        -0.1374,
-                        -0.802,
-                        3.4237,
-                        2.5506,
-                        0.1336
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        -1.287,
-                        -1.659,
-                        1.035,
-                        1.028,
-                        -0.1,
-                        0.6,
-                        0.648,
-                        0.083,
-                        0.157,
-                        -1.583
-                    ]
-                ]
-            }
-        ]
-    },
-    "hma": {
-        "description": "Hull Moving Average",
-        "type": "overlay",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "hma",
-        "tests": [
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        83.69,
-                        83.038,
-                        83.472,
-                        84.55,
-                        84.835,
-                        85.36,
-                        86.552,
-                        87.346,
-                        87.965,
-                        87.916
-                    ]
-                ]
-            }
-        ]
-    },
-    "kama": {
-        "description": "Kaufman Adaptive Moving Average",
-        "type": "overlay",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "kama",
-        "tests": [
-            {
-                "options": [
-                    4
-                ],
-                "inputs": [
-                    [
-                        50.25,
-                        50.55,
-                        52.5,
-                        54.5,
-                        54.1,
-                        54.12,
-                        55.5,
-                        50.2,
-                        50.45,
-                        50.24,
-                        50.24,
-                        55.12,
-                        56.54,
-                        56.12,
-                        56.1,
-                        54.12,
-                        59.54,
-                        54.52
-                    ]
-                ],
-                "outputs": [
-                    [
-                        54.5,
-                        54.3732,
-                        54.2948,
-                        54.6461,
-                        53.827,
-                        53.3374,
-                        52.8621,
-                        51.8722,
-                        53.118,
-                        54.4669,
-                        55.0451,
-                        55.4099,
-                        55.3468,
-                        55.7115,
-                        55.6875
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        83.61,
-                        83.56,
-                        83.452,
-                        83.506,
-                        83.647,
-                        83.686,
-                        84.126,
-                        85.026,
-                        85.69,
-                        86.447,
-                        86.673
-                    ]
-                ]
-            }
-        ]
-    },
-    "kvo": {
-        "description": "Klinger Volume Oscillator",
-        "type": "indicator",
-        "slots": {
-            "input": 4,
-            "options": 2,
-            "output": 1
-        },
-        "inputs": "high, low, close, volume",
-        "options": "short period, long period",
-        "name": "kvo",
-        "tests": [
-            {
-                "options": [
-                    34,
-                    55
-                ],
-                "inputs": [
-                    [
-                        181.5,
-                        182.375,
-                        185.5,
-                        186.5,
-                        199.625,
-                        199.5,
-                        202.375,
-                        203,
-                        198.875,
-                        207.5,
-                        212.938,
-                        212,
-                        215.5,
-                        219.188
-                    ],
-                    [
-                        176.875,
-                        178.625,
-                        181.312,
-                        183,
-                        181.875,
-                        192.25,
-                        193.25,
-                        192.25,
-                        190.25,
-                        195.375,
-                        203.688,
-                        204.875,
-                        203,
-                        210
-                    ],
-                    [
-                        178,
-                        180.625,
-                        182.125,
-                        183.438,
-                        197.188,
-                        194.562,
-                        197.688,
-                        193.125,
-                        196.938,
-                        205,
-                        212.562,
-                        206.188,
-                        213.875,
-                        218.75
-                    ],
-                    [
-                        40530,
-                        45506,
-                        57101,
-                        48758,
-                        98656,
-                        74405,
-                        67085,
-                        39736,
-                        44768,
-                        59187,
-                        59143,
-                        41042,
-                        40124,
-                        43351
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0,
-                        30592.025,
-                        76513.51,
-                        69705.806,
-                        155965.363,
-                        222414.181,
-                        183932.556,
-                        117664.482,
-                        116435.061,
-                        142268.526,
-                        105470.81,
-                        106761.33,
-                        117817.68
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    2,
-                    5
-                ],
-                "inputs": [
-                    [
-                        82.15,
-                        81.89,
-                        83.03,
-                        83.3,
-                        83.85,
-                        83.9,
-                        83.33,
-                        84.3,
-                        84.84,
-                        85,
-                        85.9,
-                        86.58,
-                        86.98,
-                        88,
-                        87.87
-                    ],
-                    [
-                        81.29,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.07,
-                        83.11,
-                        82.49,
-                        82.3,
-                        84.15,
-                        84.11,
-                        84.03,
-                        85.39,
-                        85.76,
-                        87.17,
-                        87.01
-                    ],
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ],
-                    [
-                        5653100,
-                        6447400,
-                        7690900,
-                        3831400,
-                        4455100,
-                        3798000,
-                        3936200,
-                        4732000,
-                        4841300,
-                        3915300,
-                        6830800,
-                        6694100,
-                        5293600,
-                        7985800,
-                        4807900
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0,
-                        80292599.241,
-                        121572746.633,
-                        117732669.219,
-                        -5942017.641,
-                        -71041561.798,
-                        34448275.848,
-                        84097903.128,
-                        -38366427.074,
-                        40313036.023,
-                        56681039.569,
-                        52208374.664,
-                        138983547.947,
-                        -68009735.443
-                    ]
-                ]
-            }
-        ]
-    },
-    "lag": {
-        "description": "Lag",
-        "type": "math",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "lag",
-        "tests": [
-            {
-                "options": [
-                    3
-                ],
-                "inputs": [
-                    [
-                        3,
-                        7,
-                        9,
-                        4,
-                        5
-                    ]
-                ],
-                "outputs": [
-                    [
-                        3,
-                        7
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36
-                    ]
-                ]
-            }
-        ]
-    },
-    "linreg": {
-        "description": "Linear Regression",
-        "type": "overlay",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "linreg",
-        "tests": [
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        10.5,
-                        11.2,
-                        10.3,
-                        12.1,
-                        11.2,
-                        10.5,
-                        11.1,
-                        11.1,
-                        10.2
-                    ]
-                ],
-                "outputs": [
-                    [
-                        11.52,
-                        10.96,
-                        11.04,
-                        10.78,
-                        10.54
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        83.622,
-                        83.722,
-                        83.112,
-                        83.56,
-                        84.172,
-                        84.604,
-                        85.404,
-                        86.21,
-                        86.946,
-                        87.854,
-                        87.754
-                    ]
-                ]
-            }
-        ]
-    },
-    "linregintercept": {
-        "description": "Linear Regression Intercept",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "linregintercept",
-        "tests": [
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        10.5,
-                        11.2,
-                        10.3,
-                        12.1,
-                        11.2,
-                        10.5,
-                        11.1,
-                        11.1,
-                        10.2
-                    ]
-                ],
-                "outputs": [
-                    [
-                        10.6,
-                        11.16,
-                        11.04,
-                        11.62,
-                        11.1
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        81.23,
-                        81.754,
-                        83.076,
-                        83.076,
-                        83.084,
-                        82.952,
-                        83.104,
-                        83.778,
-                        84.202,
-                        84.582,
-                        85.854
-                    ]
-                ]
-            }
-        ]
-    },
-    "linregslope": {
-        "description": "Linear Regression Slope",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "linregslope",
-        "tests": [
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        6,
-                        7,
-                        8,
-                        9,
-                        10,
-                        11
-                    ]
-                ],
-                "outputs": [
-                    [
-                        1,
-                        1
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.598,
-                        0.492,
-                        0.009,
-                        0.121,
-                        0.272,
-                        0.413,
-                        0.575,
-                        0.608,
-                        0.686,
-                        0.818,
-                        0.475
-                    ]
-                ]
-            }
-        ]
-    },
-    "ln": {
-        "description": "Vector Natural Log",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "ln",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        0.5,
-                        1,
-                        10
-                    ]
-                ],
-                "outputs": [
-                    [
-                        -0.693,
-                        0,
-                        2.303
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        4.402,
-                        4.395,
-                        4.417,
-                        4.419,
-                        4.426,
-                        4.421,
-                        4.417,
-                        4.431,
-                        4.437,
-                        4.435,
-                        4.449,
-                        4.461,
-                        4.465,
-                        4.475,
-                        4.469
-                    ]
-                ]
-            }
-        ]
-    },
-    "log10": {
-        "description": "Vector Base-10 Log",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "log10",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        0.5,
-                        1,
-                        10
-                    ]
-                ],
-                "outputs": [
-                    [
-                        -0.301,
-                        0,
-                        1
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        1.912,
-                        1.909,
-                        1.918,
-                        1.919,
-                        1.922,
-                        1.92,
-                        1.918,
-                        1.924,
-                        1.927,
-                        1.926,
-                        1.932,
-                        1.937,
-                        1.939,
-                        1.943,
-                        1.941
-                    ]
-                ]
-            }
-        ]
-    },
-    "marketfi": {
-        "description": "Market Facilitation Index",
-        "type": "indicator",
-        "slots": {
-            "input": 3,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "high, low, volume",
-        "options": "none",
-        "name": "marketfi",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        86,
-                        88,
-                        92,
-                        90,
-                        91,
-                        102
-                    ],
-                    [
-                        70,
-                        85,
-                        82,
-                        81,
-                        90,
-                        95
-                    ],
-                    [
-                        2500,
-                        3521,
-                        2541,
-                        4582,
-                        5214,
-                        2541
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.0064,
-                        0.0009,
-                        0.0039,
-                        0.002,
-                        0.0002,
-                        0.0028
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        82.15,
-                        81.89,
-                        83.03,
-                        83.3,
-                        83.85,
-                        83.9,
-                        83.33,
-                        84.3,
-                        84.84,
-                        85,
-                        85.9,
-                        86.58,
-                        86.98,
-                        88,
-                        87.87
-                    ],
-                    [
-                        81.29,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.07,
-                        83.11,
-                        82.49,
-                        82.3,
-                        84.15,
-                        84.11,
-                        84.03,
-                        85.39,
-                        85.76,
-                        87.17,
-                        87.01
-                    ],
-                    [
-                        5653100,
-                        6447400,
-                        7690900,
-                        3831400,
-                        4455100,
-                        3798000,
-                        3936200,
-                        4732000,
-                        4841300,
-                        3915300,
-                        6830800,
-                        6694100,
-                        5293600,
-                        7985800,
-                        4807900
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0,
-                        0,
-                        0,
-                        0,
-                        0,
-                        0,
-                        0,
-                        0,
-                        0,
-                        0,
-                        0,
-                        0,
-                        0,
-                        0,
-                        0
-                    ]
-                ]
-            }
-        ]
-    },
-    "mass": {
-        "description": "Mass Index",
-        "type": "indicator",
-        "slots": {
-            "input": 2,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "high, low",
-        "options": "period",
-        "name": "mass",
-        "tests": [
-            {
-                "options": [
-                    3
-                ],
-                "inputs": [
-                    [
-                        38.125,
-                        38,
-                        37.9375,
-                        37.875,
-                        38.125,
-                        38.125,
-                        37.75,
-                        37.625,
-                        37.6875,
-                        37.5,
-                        37.5625,
-                        37.625,
-                        36.6875,
-                        36.875,
-                        36.9375,
-                        36.5,
-                        36.9375,
-                        37,
-                        36.875,
-                        36.8125
-                    ],
-                    [
-                        37.75,
-                        37.75,
-                        37.8125,
-                        37.625,
-                        37.5,
-                        37.5,
-                        37.5,
-                        37.4375,
-                        37.375,
-                        37.375,
-                        37.375,
-                        36.8125,
-                        36.3125,
-                        36.25,
-                        36.5,
-                        36.25,
-                        36.3125,
-                        36.625,
-                        36.5625,
-                        36.375
-                    ]
-                ],
-                "outputs": [
-                    [
-                        3.224,
-                        3.1175
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        82.15,
-                        81.89,
-                        83.03,
-                        83.3,
-                        83.85,
-                        83.9,
-                        83.33,
-                        84.3,
-                        84.84,
-                        85,
-                        85.9,
-                        86.58,
-                        86.98,
-                        88,
-                        87.87
-                    ],
-                    [
-                        81.29,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.07,
-                        83.11,
-                        82.49,
-                        82.3,
-                        84.15,
-                        84.11,
-                        84.03,
-                        85.39,
-                        85.76,
-                        87.17,
-                        87.01
-                    ]
-                ],
-                "outputs": [
-                    []
-                ]
-            }
-        ]
-    },
-    "max": {
-        "description": "Maximum In Period",
-        "type": "math",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "max",
-        "tests": [
-            {
-                "options": [
-                    2
-                ],
-                "inputs": [
-                    [
-                        5,
-                        3,
-                        4,
-                        5,
-                        2,
-                        1
-                    ]
-                ],
-                "outputs": [
-                    [
-                        5,
-                        4,
-                        5,
-                        5,
-                        2
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        83.61,
-                        83.61,
-                        83.61,
-                        83.99,
-                        84.55,
-                        84.55,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.77
-                    ]
-                ]
-            }
-        ]
-    },
-    "md": {
-        "description": "Mean Deviation Over Period",
-        "type": "math",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "md",
-        "tests": [
-            {
-                "options": [
-                    3
-                ],
-                "inputs": [
-                    [
-                        1,
-                        2,
-                        3,
-                        4,
-                        5,
-                        17
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.6666,
-                        0.6666,
-                        0.6666,
-                        5.5555
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.881,
-                        0.671,
-                        0.229,
-                        0.386,
-                        0.514,
-                        0.626,
-                        0.671,
-                        0.833,
-                        0.913,
-                        1.018,
-                        0.615
-                    ]
-                ]
-            }
-        ]
-    },
-    "medprice": {
-        "description": "Median Price",
-        "type": "overlay",
-        "slots": {
-            "input": 2,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "high, low",
-        "options": "none",
-        "name": "medprice",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        16.1875,
-                        15.75,
-                        15.6875,
-                        15.9375,
-                        16.125,
-                        16.0625,
-                        16.0625,
-                        16,
-                        16.25,
-                        16.3125
-                    ],
-                    [
-                        15.3125,
-                        15.1875,
-                        15.5,
-                        15.625,
-                        15.875,
-                        15.875,
-                        15.875,
-                        15.875,
-                        15.875,
-                        16.125
-                    ]
-                ],
-                "outputs": [
-                    [
-                        15.75,
-                        15.4688,
-                        15.5938,
-                        15.7813,
-                        16,
-                        15.9688,
-                        15.9688,
-                        15.9375,
-                        16.0625,
-                        16.2188
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        82.15,
-                        81.89,
-                        83.03,
-                        83.3,
-                        83.85,
-                        83.9,
-                        83.33,
-                        84.3,
-                        84.84,
-                        85,
-                        85.9,
-                        86.58,
-                        86.98,
-                        88,
-                        87.87
-                    ],
-                    [
-                        81.29,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.07,
-                        83.11,
-                        82.49,
-                        82.3,
-                        84.15,
-                        84.11,
-                        84.03,
-                        85.39,
-                        85.76,
-                        87.17,
-                        87.01
-                    ]
-                ],
-                "outputs": [
-                    [
-                        81.72,
-                        81.265,
-                        82.17,
-                        82.975,
-                        83.46,
-                        83.505,
-                        82.91,
-                        83.3,
-                        84.495,
-                        84.555,
-                        84.965,
-                        85.985,
-                        86.37,
-                        87.585,
-                        87.44
-                    ]
-                ]
-            }
-        ]
-    },
-    "mfi": {
-        "description": "Money Flow Index",
-        "type": "indicator",
-        "slots": {
-            "input": 4,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "high, low, close, volume",
-        "options": "period",
-        "name": "mfi",
-        "tests": [
-            {
-                "options": [
-                    14
-                ],
-                "inputs": [
-                    [
-                        6.1094,
-                        6.4063,
-                        6.4375,
-                        6.4844,
-                        6.4219,
-                        6.4688,
-                        6.3438,
-                        6.2188,
-                        6.1406,
-                        6.2031,
-                        6.2109,
-                        6.3281,
-                        6.6094,
-                        6.5625,
-                        6.5625,
-                        6.57813,
-                        6.53125,
-                        6.9219,
-                        7.0938,
-                        7.0313,
-                        7.2422,
-                        7.25,
-                        7.1719,
-                        7.125,
-                        7.5625,
-                        7.3125,
-                        7.0938,
-                        6.9063,
-                        7.0938,
-                        7.1875,
-                        7.3125,
-                        7.25,
-                        7.0938,
-                        7.125,
-                        7.0938,
-                        7.0625,
-                        6.9688,
-                        6.8125,
-                        6.9063,
-                        7,
-                        7.1563,
-                        7.0938,
-                        6.9063,
-                        6.7813,
-                        6.875,
-                        6.6563,
-                        6.8438,
-                        7.0313,
-                        7.125,
-                        6.9688,
-                        6.875,
-                        6.7188,
-                        6.5625
-                    ],
-                    [
-                        5.9531,
-                        6.0938,
-                        6.2188,
-                        6.3125,
-                        6.2969,
-                        6.375,
-                        6.1953,
-                        6.1016,
-                        6,
-                        6.0938,
-                        6.0938,
-                        6.2188,
-                        6.3594,
-                        6.4688,
-                        6.4531,
-                        6.375,
-                        6.42188,
-                        6.5938,
-                        6.9688,
-                        6.8281,
-                        6.9219,
-                        7.1094,
-                        7.0469,
-                        7,
-                        7.1875,
-                        6.9688,
-                        6.875,
-                        6.7813,
-                        6.875,
-                        7.0313,
-                        7.1094,
-                        7,
-                        6.8438,
-                        6.875,
-                        6.8438,
-                        6.9063,
-                        6.8125,
-                        6.6094,
-                        6.6563,
-                        6.8125,
-                        7,
-                        6.8125,
-                        6.6563,
-                        6.6406,
-                        6.5938,
-                        6.5,
-                        6.5313,
-                        6.7188,
-                        6.625,
-                        6.6875,
-                        6.625,
-                        6.5625,
-                        6.2813
-                    ],
-                    [
-                        6.0625,
-                        6.3359,
-                        6.3438,
-                        6.3281,
-                        6.375,
-                        6.4063,
-                        6.2188,
-                        6.125,
-                        6.1172,
-                        6.0938,
-                        6.1875,
-                        6.3281,
-                        6.5313,
-                        6.5156,
-                        6.4688,
-                        6.48438,
-                        6.48438,
-                        6.9063,
-                        7.0469,
-                        6.9297,
-                        7.2188,
-                        7.1719,
-                        7.1172,
-                        7.0469,
-                        7.2656,
-                        7.0781,
-                        6.9844,
-                        6.8281,
-                        7.0625,
-                        7.1406,
-                        7.2188,
-                        7.0625,
-                        7.0156,
-                        6.9219,
-                        7.0938,
-                        6.9375,
-                        6.875,
-                        6.7188,
-                        6.8281,
-                        7,
-                        7.0625,
-                        6.875,
-                        6.75,
-                        6.7344,
-                        6.6563,
-                        6.5781,
-                        6.8438,
-                        7,
-                        6.9531,
-                        6.8125,
-                        6.6719,
-                        6.5938,
-                        6.3125
-                    ],
-                    [
-                        340384,
-                        691088,
-                        536624,
-                        470944,
-                        356992,
-                        399920,
-                        589984,
-                        259152,
-                        379152,
-                        269856,
-                        195152,
-                        390208,
-                        557168,
-                        267728,
-                        318816,
-                        262352,
-                        261008,
-                        837232,
-                        721136,
-                        337808,
-                        672416,
-                        403056,
-                        254016,
-                        266240,
-                        862960,
-                        376000,
-                        406424,
-                        375744,
-                        228048,
-                        163752,
-                        238624,
-                        210488,
-                        267688,
-                        309576,
-                        201232,
-                        222544,
-                        265312,
-                        471880,
-                        228848,
-                        227720,
-                        288504,
-                        214800,
-                        377800,
-                        207088,
-                        224048,
-                        290576,
-                        219064,
-                        320664,
-                        676728,
-                        407496,
-                        295040,
-                        235416,
-                        496544
-                    ]
-                ],
-                "outputs": [
-                    [
-                        66.77737978,
-                        59.03448482,
-                        54.37481709,
-                        58.15221843,
-                        67.88911447,
-                        61.0241705,
-                        72.38521792,
-                        77.58331175,
-                        78.63212061,
-                        73.72082243,
-                        76.89956833,
-                        70.74041378,
-                        63.40993787,
-                        58.09609172,
-                        62.53399295,
-                        66.13332558,
-                        67.47686969,
-                        60.17160784,
-                        51.42809806,
-                        51.68946288,
-                        46.64931037,
-                        39.35478099,
-                        39.3291822,
-                        37.76367962,
-                        26.993631,
-                        34.07025526,
-                        43.06411989,
-                        44.95524845,
-                        37.02234161,
-                        32.18262657,
-                        25.73227608,
-                        25.32065462,
-                        31.47216519,
-                        40.03727743,
-                        30.65263995,
-                        29.40339517,
-                        29.25111331,
-                        30.88944957,
-                        24.11626391
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        82.15,
-                        81.89,
-                        83.03,
-                        83.3,
-                        83.85,
-                        83.9,
-                        83.33,
-                        84.3,
-                        84.84,
-                        85,
-                        85.9,
-                        86.58,
-                        86.98,
-                        88,
-                        87.87
-                    ],
-                    [
-                        81.29,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.07,
-                        83.11,
-                        82.49,
-                        82.3,
-                        84.15,
-                        84.11,
-                        84.03,
-                        85.39,
-                        85.76,
-                        87.17,
-                        87.01
-                    ],
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ],
-                    [
-                        5653100,
-                        6447400,
-                        7690900,
-                        3831400,
-                        4455100,
-                        3798000,
-                        3936200,
-                        4732000,
-                        4841300,
-                        3915300,
-                        6830800,
-                        6694100,
-                        5293600,
-                        7985800,
-                        4807900
-                    ]
-                ],
-                "outputs": [
-                    [
-                        61.172,
-                        67.308,
-                        62.796,
-                        64.661,
-                        45.238,
-                        67.841,
-                        85.578,
-                        85.963,
-                        87.504,
-                        84.647
-                    ]
-                ]
-            }
-        ]
-    },
-    "min": {
-        "description": "Minimum In Period",
-        "type": "math",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "min",
-        "tests": [
-            {
-                "options": [
-                    3
-                ],
-                "inputs": [
-                    [
-                        1,
-                        5,
-                        7,
-                        9,
-                        2,
-                        3,
-                        4
-                    ]
-                ],
-                "outputs": [
-                    [
-                        1,
-                        5,
-                        2,
-                        2,
-                        2
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        81.06,
-                        81.06,
-                        82.84,
-                        82.84,
-                        82.84,
-                        82.84,
-                        82.84,
-                        83.99,
-                        84.36,
-                        84.36,
-                        85.53
-                    ]
-                ]
-            }
-        ]
-    },
-    "mom": {
-        "description": "Momentum",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "mom",
-        "tests": [
-            {
-                "options": [
-                    3
-                ],
-                "inputs": [
-                    [
-                        1,
-                        7,
-                        12,
-                        4,
-                        5,
-                        8,
-                        11,
-                        2,
-                        9
-                    ]
-                ],
-                "outputs": [
-                    [
-                        3,
-                        -2,
-                        -4,
-                        7,
-                        -3,
-                        1
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        1.56,
-                        1.78,
-                        1.12,
-                        1.55,
-                        0.75,
-                        2.38,
-                        3.7,
-                        2.9,
-                        3.22,
-                        2.93
-                    ]
-                ]
-            }
-        ]
-    },
-    "mul": {
-        "description": "Vector Multiplication",
-        "type": "simple",
-        "slots": {
-            "input": 2,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real, real",
-        "options": "none",
-        "name": "mul",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        1,
-                        2,
-                        7,
-                        4
-                    ],
-                    [
-                        2,
-                        1,
-                        4,
-                        7
-                    ]
-                ],
-                "outputs": [
-                    [
-                        2,
-                        2,
-                        28,
-                        28
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ],
-                    [
-                        81.85,
-                        81.2,
-                        81.55,
-                        82.91,
-                        83.1,
-                        83.41,
-                        82.71,
-                        82.7,
-                        84.2,
-                        84.25,
-                        84.03,
-                        85.45,
-                        86.18,
-                        88,
-                        87.6
-                    ]
-                ],
-                "outputs": [
-                    [
-                        6678.141,
-                        6582.072,
-                        6758.048,
-                        6881.53,
-                        6947.991,
-                        6935.542,
-                        6851.696,
-                        6945.973,
-                        7119.11,
-                        7107.33,
-                        7187.086,
-                        7394.843,
-                        7488.18,
-                        7723.76,
-                        7646.604
-                    ]
-                ]
-            }
-        ]
-    },
-    "natr": {
-        "description": "Normalized Average True Range",
-        "type": "indicator",
-        "slots": {
-            "input": 3,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "high, low, close",
-        "options": "period",
-        "name": "natr",
-        "tests": [
-            {
-                "options": [
-                    4
-                ],
-                "inputs": [
-                    [
-                        12.3125,
-                        12.25,
-                        12.3125,
-                        12.2812,
-                        12.375,
-                        12.375,
-                        12.3125,
-                        12.375,
-                        12.5,
-                        12.5938,
-                        12.3438,
-                        12.4062,
-                        12.375,
-                        12.4062,
-                        12.375,
-                        12.2812,
-                        12.25,
-                        12.0625,
-                        12.3125,
-                        12.3125
-                    ],
-                    [
-                        12.1875,
-                        12.1562,
-                        12.1875,
-                        12.125,
-                        12.125,
-                        12.2812,
-                        12.1875,
-                        12.1875,
-                        12.2812,
-                        12.3125,
-                        12.2812,
-                        12.2812,
-                        12.2812,
-                        12.2812,
-                        11.9688,
-                        12.0938,
-                        12,
-                        11.6562,
-                        12.1562,
-                        12.125
-                    ],
-                    [
-                        12.25,
-                        12.1875,
-                        12.25,
-                        12.1875,
-                        12.375,
-                        12.3125,
-                        12.2188,
-                        12.3438,
-                        12.5,
-                        12.375,
-                        12.3438,
-                        12.3438,
-                        12.2812,
-                        12.375,
-                        12.0938,
-                        12.1562,
-                        12.0625,
-                        11.9688,
-                        12.1875,
-                        12.1562
-                    ]
-                ],
-                "outputs": [
-                    [
-                        1.0256,
-                        1.263,
-                        1.1419,
-                        1.1188,
-                        1.2103,
-                        1.3344,
-                        1.579,
-                        1.3772,
-                        1.2857,
-                        1.1603,
-                        1.116,
-                        1.6967,
-                        1.651,
-                        1.7658,
-                        2.184,
-                        2.313,
-                        2.1248
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        82.15,
-                        81.89,
-                        83.03,
-                        83.3,
-                        83.85,
-                        83.9,
-                        83.33,
-                        84.3,
-                        84.84,
-                        85,
-                        85.9,
-                        86.58,
-                        86.98,
-                        88,
-                        87.87
-                    ],
-                    [
-                        81.29,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.07,
-                        83.11,
-                        82.49,
-                        82.3,
-                        84.15,
-                        84.11,
-                        84.03,
-                        85.39,
-                        85.76,
-                        87.17,
-                        87.01
-                    ],
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        1.335,
-                        1.264,
-                        1.218,
-                        1.437,
-                        1.343,
-                        1.288,
-                        1.453,
-                        1.424,
-                        1.416,
-                        1.374,
-                        1.302
-                    ]
-                ]
-            }
-        ]
-    },
-    "nvi": {
-        "description": "Negative Volume Index",
-        "type": "indicator",
-        "slots": {
-            "input": 2,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "close, volume",
-        "options": "none",
-        "name": "nvi",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        6.5313,
-                        6.5625,
-                        6.4688,
-                        6.4375,
-                        6.2188,
-                        6.25,
-                        6.125,
-                        6.1563,
-                        6.25,
-                        6.3125,
-                        6.4688,
-                        6.2813,
-                        6.125,
-                        6.1875,
-                        6.1563,
-                        6.2813,
-                        6.2188,
-                        6.1563,
-                        6.1875,
-                        6.375,
-                        6.2813,
-                        6.2813
-                    ],
-                    [
-                        10500,
-                        6492,
-                        6540,
-                        8924,
-                        5416,
-                        4588,
-                        16236,
-                        2864,
-                        3080,
-                        5312,
-                        12456,
-                        3020,
-                        12228,
-                        5248,
-                        6632,
-                        4104,
-                        4464,
-                        6212,
-                        3836,
-                        7640,
-                        3544,
-                        4660
-                    ]
-                ],
-                "outputs": [
-                    [
-                        1000,
-                        1004.776997,
-                        1004.776997,
-                        1004.776997,
-                        970.6418934,
-                        975.5116475,
-                        975.5116475,
-                        980.4967111,
-                        980.4967111,
-                        980.4967111,
-                        980.4967111,
-                        952.0767362,
-                        952.0767362,
-                        961.791805,
-                        961.791805,
-                        981.320414,
-                        981.320414,
-                        981.320414,
-                        986.2937254,
-                        986.2937254,
-                        971.7971415,
-                        971.7971415
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ],
-                    [
-                        5653100,
-                        6447400,
-                        7690900,
-                        3831400,
-                        4455100,
-                        3798000,
-                        3936200,
-                        4732000,
-                        4841300,
-                        3915300,
-                        6830800,
-                        6694100,
-                        5293600,
-                        7985800,
-                        4807900
-                    ]
-                ],
-                "outputs": [
-                    [
-                        1000,
-                        1000,
-                        1000,
-                        1001.569,
-                        1001.569,
-                        996.058,
-                        996.058,
-                        996.058,
-                        996.058,
-                        993.82,
-                        993.82,
-                        1005.556,
-                        1009.623,
-                        1009.623,
-                        1004.101
-                    ]
-                ]
-            }
-        ]
-    },
-    "obv": {
-        "description": "On Balance Volume",
-        "type": "indicator",
-        "slots": {
-            "input": 2,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "close, volume",
-        "options": "none",
-        "name": "obv",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        20.5625,
-                        20.375,
-                        20.0625,
-                        19.5,
-                        19.8125,
-                        19.8125,
-                        20.0625,
-                        20.0625,
-                        20.375,
-                        20.75
-                    ],
-                    [
-                        27802,
-                        16178,
-                        22766,
-                        46074,
-                        22904,
-                        20428,
-                        29260,
-                        30652,
-                        38332,
-                        40054
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0,
-                        -16178,
-                        -38944,
-                        -85018,
-                        -62114,
-                        -62114,
-                        -32854,
-                        -32854,
-                        5478,
-                        45532
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ],
-                    [
-                        5653100,
-                        6447400,
-                        7690900,
-                        3831400,
-                        4455100,
-                        3798000,
-                        3936200,
-                        4732000,
-                        4841300,
-                        3915300,
-                        6830800,
-                        6694100,
-                        5293600,
-                        7985800,
-                        4807900
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0,
-                        -6447400,
-                        1243500,
-                        5074900,
-                        9530000,
-                        5732000,
-                        1795800,
-                        6527800,
-                        11369100,
-                        7453800,
-                        14284600,
-                        20978700,
-                        26272300,
-                        34258100,
-                        29450200
-                    ]
-                ]
-            }
-        ]
-    },
-    "ppo": {
-        "description": "Percentage Price Oscillator",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 2,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "short period, long period",
-        "name": "ppo",
-        "tests": [
-            {
-                "options": [
-                    3,
-                    5
-                ],
-                "inputs": [
-                    [
-                        25,
-                        24.875,
-                        24.781,
-                        24.594,
-                        24.5,
-                        24.625,
-                        25.219,
-                        27.25
-                    ]
-                ],
-                "outputs": [
-                    [
-                        -0.0835,
-                        -0.1605,
-                        -0.2857,
-                        -0.3441,
-                        -0.2218,
-                        0.2554,
-                        1.6793
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    2,
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        -0.217,
-                        0.521,
-                        0.619,
-                        0.747,
-                        0.424,
-                        0.134,
-                        0.5,
-                        0.691,
-                        0.503,
-                        0.81,
-                        1.088,
-                        1.04,
-                        1.133,
-                        0.716
-                    ]
-                ]
-            }
-        ]
-    },
-    "psar": {
-        "description": "Parabolic SAR",
-        "type": "overlay",
-        "slots": {
-            "input": 2,
-            "options": 2,
-            "output": 1
-        },
-        "inputs": "high, low",
-        "options": "acceleration factor step, acceleration factor maximum",
-        "name": "psar",
-        "tests": [
-            {
-                "options": [
-                    0.02,
-                    0.2
-                ],
-                "inputs": [
-                    [
-                        45.3125,
-                        46.3125,
-                        46.9375,
-                        47,
-                        47.5312,
-                        47.5938,
-                        47.5,
-                        47.1562,
-                        46.5625,
-                        46.1172,
-                        44.9062,
-                        44,
-                        44.625,
-                        46.1875,
-                        46.5625,
-                        46.9375,
-                        46.7812,
-                        47.625,
-                        45.8125,
-                        45.4375,
-                        47,
-                        47.0938,
-                        47.25,
-                        46.75,
-                        46.375,
-                        46.4375,
-                        45.375,
-                        44.9375,
-                        44.5625,
-                        45.2188,
-                        45,
-                        44.25,
-                        43.875,
-                        43.5312,
-                        42.9062,
-                        43.2812,
-                        45.1875,
-                        45.6875,
-                        46.125,
-                        46.6875,
-                        46.0312,
-                        46.4375,
-                        46.9688,
-                        47.625,
-                        48.5625,
-                        48.5938,
-                        47.4375,
-                        47.1562,
-                        46.6562,
-                        47.0625,
-                        48.4688,
-                        50.5625,
-                        54.375,
-                        57.5,
-                        58.5625,
-                        57.5,
-                        58.3125,
-                        59,
-                        59.625,
-                        59.625,
-                        59.4062,
-                        59.1875,
-                        59.9688,
-                        58.875,
-                        59.3125,
-                        58.5625,
-                        58.1875,
-                        56.9375,
-                        56.125,
-                        56.8438,
-                        57.125,
-                        54.4375,
-                        54.3125,
-                        56.9688,
-                        58.0312,
-                        55.75,
-                        54.8438,
-                        53.625,
-                        52.8438,
-                        51.9375,
-                        51.75,
-                        50.5938,
-                        50.125,
-                        49.0938,
-                        51.625,
-                        51.9688,
-                        52.0938
-                    ],
-                    [
-                        44.1562,
-                        45.125,
-                        44.75,
-                        46.0312,
-                        46.3438,
-                        46.0625,
-                        47.0625,
-                        46.1875,
-                        45.1562,
-                        44.8438,
-                        43.6562,
-                        42.5312,
-                        42.625,
-                        45.125,
-                        45.25,
-                        45.875,
-                        45.5625,
-                        46.1328,
-                        44.8438,
-                        44.6562,
-                        45.625,
-                        46.0625,
-                        45.9688,
-                        45.75,
-                        45.1562,
-                        45.25,
-                        42.1875,
-                        43.2188,
-                        43.2188,
-                        44.125,
-                        43.5312,
-                        43.4688,
-                        42.9375,
-                        42.5,
-                        42.25,
-                        42.1875,
-                        44.2188,
-                        44.1875,
-                        44.75,
-                        45.5,
-                        44.75,
-                        44.7812,
-                        45.4375,
-                        46.4375,
-                        47.8672,
-                        47.375,
-                        46.4375,
-                        45.8438,
-                        45.7188,
-                        46.125,
-                        46.375,
-                        47.6562,
-                        49.25,
-                        54.4688,
-                        56.8125,
-                        55.5938,
-                        55.3125,
-                        57.5625,
-                        58.375,
-                        58.0625,
-                        58.5312,
-                        58.4062,
-                        58.5625,
-                        58.125,
-                        56,
-                        56.125,
-                        54.6875,
-                        54.1875,
-                        53.6562,
-                        55.6875,
-                        54.3438,
-                        52.2188,
-                        50.75,
-                        52.875,
-                        55.875,
-                        53,
-                        52.9375,
-                        51.625,
-                        50.4062,
-                        49.7812,
-                        49.5625,
-                        48.625,
-                        48.625,
-                        47.4375,
-                        48.8438,
-                        50.25,
-                        50.0625
-                    ]
-                ],
-                "outputs": [
-                    [
-                        44.1562,
-                        44.1562,
-                        44.323078,
-                        44.53723176,
-                        44.83662858,
-                        45.16748915,
-                        45.45864646,
-                        47.5938,
-                        47.545048,
-                        47.43699808,
-                        47.2101502,
-                        46.83583418,
-                        46.49146345,
-                        42.5312,
-                        42.611826,
-                        42.78485296,
-                        42.95095884,
-                        43.23140131,
-                        43.49501723,
-                        43.7428162,
-                        43.97574723,
-                        44.19470239,
-                        44.40052025,
-                        44.59398903,
-                        44.77584969,
-                        47.625,
-                        47.51625,
-                        47.409675,
-                        47.3052315,
-                        47.20287687,
-                        47.10256933,
-                        47.00426795,
-                        46.90793259,
-                        46.81352394,
-                        46.72100346,
-                        46.63033339,
-                        46.54147672,
-                        46.45439719,
-                        42.1875,
-                        42.2775,
-                        42.3657,
-                        42.452136,
-                        42.63280256,
-                        42.93233441,
-                        43.38274765,
-                        43.90385289,
-                        44.3728476,
-                        44.79494284,
-                        45.17482856,
-                        45.5167257,
-                        45.82443313,
-                        46.375,
-                        47.495,
-                        49.0958,
-                        50.799806,
-                        52.19709092,
-                        53.34286455,
-                        54.47429164,
-                        55.50443331,
-                        56.32854665,
-                        56.98783732,
-                        57.51526986,
-                        58.00597589,
-                        59.9688,
-                        59.889424,
-                        59.81163552,
-                        59.6066701,
-                        59.28151989,
-                        58.8314943,
-                        58.41747076,
-                        58.0365691,
-                        57.45479219,
-                        50.75,
-                        50.75,
-                        51.041248,
-                        51.32084608,
-                        51.58926024,
-                        58.0312,
-                        57.8787,
-                        57.5548,
-                        57.075262,
-                        56.39924104,
-                        55.77730176,
-                        54.94332158,
-                        54.19273942,
-                        53.51721548
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    0.2,
-                    2
-                ],
-                "inputs": [
-                    [
-                        82.15,
-                        81.89,
-                        83.03,
-                        83.3,
-                        83.85,
-                        83.9,
-                        83.33,
-                        84.3,
-                        84.84,
-                        85,
-                        85.9,
-                        86.58,
-                        86.98,
-                        88,
-                        87.87
-                    ],
-                    [
-                        81.29,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.07,
-                        83.11,
-                        82.49,
-                        82.3,
-                        84.15,
-                        84.11,
-                        84.03,
-                        85.39,
-                        85.76,
-                        87.17,
-                        87.01
-                    ]
-                ],
-                "outputs": [
-                    [
-                        82.15,
-                        80.64,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.9,
-                        82.3,
-                        82.3,
-                        82.3,
-                        83.92,
-                        84.03,
-                        84.03,
-                        85.39,
-                        85.76
-                    ]
-                ]
-            }
-        ]
-    },
-    "pvi": {
-        "description": "Positive Volume Index",
-        "type": "indicator",
-        "slots": {
-            "input": 2,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "close, volume",
-        "options": "none",
-        "name": "pvi",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        6.5313,
-                        6.5625,
-                        6.4688,
-                        6.4375,
-                        6.2188,
-                        6.25,
-                        6.125,
-                        6.1563,
-                        6.25,
-                        6.3125,
-                        6.4688,
-                        6.2813,
-                        6.125,
-                        6.1875,
-                        6.1563,
-                        6.2813,
-                        6.2188,
-                        6.1563,
-                        6.1875,
-                        6.375,
-                        6.2813,
-                        6.2813
-                    ],
-                    [
-                        10500,
-                        6492,
-                        6540,
-                        8924,
-                        5416,
-                        4588,
-                        16236,
-                        2864,
-                        3080,
-                        5312,
-                        12456,
-                        3020,
-                        12228,
-                        5248,
-                        6632,
-                        4104,
-                        4464,
-                        6212,
-                        3836,
-                        7640,
-                        3544,
-                        4660
-                    ]
-                ],
-                "outputs": [
-                    [
-                        1000,
-                        1000,
-                        985.7219048,
-                        980.952381,
-                        980.952381,
-                        980.952381,
-                        961.3333333,
-                        961.3333333,
-                        975.9650006,
-                        985.7246506,
-                        1010.131583,
-                        1010.131583,
-                        984.9960913,
-                        984.9960913,
-                        980.0293231,
-                        980.0293231,
-                        970.2778652,
-                        960.5264072,
-                        960.5264072,
-                        989.6332681,
-                        989.6332681,
-                        989.6332681
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ],
-                    [
-                        5653100,
-                        6447400,
-                        7690900,
-                        3831400,
-                        4455100,
-                        3798000,
-                        3936200,
-                        4732000,
-                        4841300,
-                        3915300,
-                        6830800,
-                        6694100,
-                        5293600,
-                        7985800,
-                        4807900
-                    ]
-                ],
-                "outputs": [
-                    [
-                        1000,
-                        993.504,
-                        1015.688,
-                        1015.688,
-                        1023.153,
-                        1023.153,
-                        1019.338,
-                        1033.489,
-                        1040.38,
-                        1040.38,
-                        1054.809,
-                        1054.809,
-                        1054.809,
-                        1065.492,
-                        1065.492
-                    ]
-                ]
-            }
-        ]
-    },
-    "qstick": {
-        "description": "Qstick",
-        "type": "indicator",
-        "slots": {
-            "input": 2,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "open, close",
-        "options": "period",
-        "name": "qstick",
-        "tests": [
-            {
-                "options": [
-                    4
-                ],
-                "inputs": [
-                    [
-                        62.5625,
-                        64.625,
-                        63.5625,
-                        63.9375,
-                        64.5,
-                        65.1875,
-                        60.5625,
-                        62.25
-                    ],
-                    [
-                        64.5625,
-                        64.125,
-                        64.3125,
-                        64.875,
-                        65.1875,
-                        62,
-                        62.1875,
-                        63.875
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.7969,
-                        0.4688,
-                        -0.2031,
-                        0.0156,
-                        0.1875
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.85,
-                        81.2,
-                        81.55,
-                        82.91,
-                        83.1,
-                        83.41,
-                        82.71,
-                        82.7,
-                        84.2,
-                        84.25,
-                        84.03,
-                        85.45,
-                        86.18,
-                        88,
-                        87.6
-                    ],
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.304,
-                        0.304,
-                        0.358,
-                        0.352,
-                        0.404,
-                        0.324,
-                        0.676,
-                        0.868,
-                        0.752,
-                        0.636,
-                        0.552
-                    ]
-                ]
-            }
-        ]
-    },
-    "roc": {
-        "description": "Rate of Change",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "roc",
-        "tests": [
-            {
-                "options": [
-                    3
-                ],
-                "inputs": [
-                    [
-                        5.5625,
-                        5.375,
-                        5.375,
-                        5.0625,
-                        5.1094,
-                        5.1094,
-                        5.0938,
-                        5
-                    ]
-                ],
-                "outputs": [
-                    [
-                        -0.08989,
-                        -0.04941,
-                        -0.04941,
-                        0.00618,
-                        -0.02141
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.019,
-                        0.022,
-                        0.014,
-                        0.019,
-                        0.009,
-                        0.029,
-                        0.045,
-                        0.035,
-                        0.038,
-                        0.035
-                    ]
-                ]
-            }
-        ]
-    },
-    "rocr": {
-        "description": "Rate of Change Ratio",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "rocr",
-        "tests": [
-            {
-                "options": [
-                    12
-                ],
-                "inputs": [
-                    [
-                        13,
-                        12.6667,
-                        12.6667,
-                        12.6667,
-                        13.0833,
-                        14,
-                        14.1667,
-                        15.3333,
-                        15.25,
-                        14.1667,
-                        14.1667,
-                        14,
-                        13.8333,
-                        13.8333,
-                        14.3333,
-                        15.1667
-                    ]
-                ],
-                "outputs": [
-                    [
-                        1.0641,
-                        1.0921,
-                        1.131573,
-                        1.197368
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        1.019,
-                        1.022,
-                        1.014,
-                        1.019,
-                        1.009,
-                        1.029,
-                        1.045,
-                        1.035,
-                        1.038,
-                        1.035
-                    ]
-                ]
-            }
-        ]
-    },
-    "round": {
-        "description": "Vector Round",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "round",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        0,
-                        -0.5,
-                        -1.1,
-                        -1.6,
-                        1.5,
-                        1.4,
-                        1.6
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0,
-                        0,
-                        -1,
-                        -2,
-                        2,
-                        1,
-                        2
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        82,
-                        81,
-                        83,
-                        83,
-                        84,
-                        83,
-                        83,
-                        84,
-                        85,
-                        84,
-                        86,
-                        87,
-                        87,
-                        88,
-                        87
-                    ]
-                ]
-            }
-        ]
-    },
-    "rsi": {
-        "description": "Relative Strength Index",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "rsi",
-        "tests": [
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        37.875,
-                        39.5,
-                        38.75,
-                        39.8125,
-                        40,
-                        39.875,
-                        40.1875,
-                        41.25,
-                        41.125,
-                        41.625,
-                        41.25,
-                        40.1875,
-                        39.9375,
-                        39.9375,
-                        40.5,
-                        41.9375,
-                        42.25,
-                        42.25,
-                        41.875,
-                        41.875
-                    ]
-                ],
-                "outputs": [
-                    [
-                        76.6667,
-                        78.8679,
-                        84.9158,
-                        81.4863,
-                        84.5968,
-                        73.0851,
-                        49.3173,
-                        45.0119,
-                        45.0119,
-                        57.9252,
-                        75.9596,
-                        78.4676,
-                        78.4676,
-                        65.6299,
-                        65.6299
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        72.034,
-                        64.927,
-                        75.936,
-                        79.796,
-                        74.713,
-                        83.033,
-                        87.478,
-                        88.755,
-                        91.483,
-                        78.498
-                    ]
-                ]
-            }
-        ]
-    },
-    "sin": {
-        "description": "Vector Sine",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "sin",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        0,
-                        0.5,
-                        1
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0,
-                        0.479,
-                        0.841
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        -0.091,
-                        -0.582,
-                        0.928,
-                        0.968,
-                        0.937,
-                        0.995,
-                        0.916,
-                        0.74,
-                        0.27,
-                        0.447,
-                        -0.65,
-                        -0.989,
-                        -0.879,
-                        -0.193,
-                        -0.625
-                    ]
-                ]
-            }
-        ]
-    },
-    "sinh": {
-        "description": "Vector Hyperbolic Sine",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "sinh",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        0,
-                        0.5,
-                        1
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0,
-                        0.521,
-                        1.175
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        0.2,
-                        0.3,
-                        0.4,
-                        0.3,
-                        0.5,
-                        0.7,
-                        0.75,
-                        0.9,
-                        0.9,
-                        1,
-                        1,
-                        0.2,
-                        0.1,
-                        -0.1,
-                        -0.5
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.201,
-                        0.305,
-                        0.411,
-                        0.305,
-                        0.521,
-                        0.759,
-                        0.822,
-                        1.027,
-                        1.027,
-                        1.175,
-                        1.175,
-                        0.201,
-                        0.1,
-                        -0.1,
-                        -0.521
-                    ]
-                ]
-            }
-        ]
-    },
-    "sma": {
-        "description": "Simple Moving Average",
-        "type": "overlay",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "sma",
-        "tests": [
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        25,
-                        24.875,
-                        24.781,
-                        24.594,
-                        24.5,
-                        24.625,
-                        25.219,
-                        27.25
-                    ]
-                ],
-                "outputs": [
-                    [
-                        24.75,
-                        24.675,
-                        24.744,
-                        25.238
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        82.426,
-                        82.738,
-                        83.094,
-                        83.318,
-                        83.628,
-                        83.778,
-                        84.254,
-                        84.994,
-                        85.574,
-                        86.218,
-                        86.804
-                    ]
-                ]
-            }
-        ]
-    },
-    "sqrt": {
-        "description": "Vector Square Root",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "sqrt",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        1,
-                        4,
-                        25,
-                        144
-                    ]
-                ],
-                "outputs": [
-                    [
-                        1,
-                        2,
-                        5,
-                        12
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        9.033,
-                        9.003,
-                        9.103,
-                        9.11,
-                        9.144,
-                        9.119,
-                        9.102,
-                        9.165,
-                        9.195,
-                        9.185,
-                        9.248,
-                        9.303,
-                        9.321,
-                        9.369,
-                        9.343
-                    ]
-                ]
-            }
-        ]
-    },
-    "stddev": {
-        "description": "Standard Deviation Over Period",
-        "type": "math",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "stddev",
-        "tests": [
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        21.4375,
-                        21.6875,
-                        22.125,
-                        21.5625,
-                        21.8125,
-                        21.4375,
-                        21.5,
-                        21.1875,
-                        20.6875,
-                        20.9375
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.2358,
-                        0.2358,
-                        0.2531,
-                        0.2016,
-                        0.3758,
-                        0.3052
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    3
-                ],
-                "inputs": [
-                    [
-                        100,
-                        101,
-                        102,
-                        107,
-                        115,
-                        123,
-                        100,
-                        92,
-                        99,
-                        58,
-                        150
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.816496581,
-                        2.624669291,
-                        5.354126135,
-                        6.531972647,
-                        9.533566431,
-                        13.1402689,
-                        3.559026084,
-                        17.90716802,
-                        37.63272807
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.948,
-                        0.875,
-                        0.28,
-                        0.423,
-                        0.605,
-                        0.671,
-                        0.871,
-                        0.926,
-                        1.019,
-                        1.174,
-                        0.758
-                    ]
-                ]
-            }
-        ]
-    },
-    "stderr": {
-        "description": "Standard Error Over Period",
-        "type": "math",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "stderr",
-        "tests": [
-            {
-                "options": [
-                    3
-                ],
-                "inputs": [
-                    [
-                        100,
-                        101,
-                        102,
-                        107,
-                        115,
-                        123,
-                        100,
-                        92,
-                        99,
-                        58,
-                        150
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.4714,
-                        1.5154,
-                        3.0912,
-                        3.7712,
-                        5.5042,
-                        7.5865,
-                        2.0548,
-                        10.3387,
-                        21.7273
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.424,
-                        0.392,
-                        0.125,
-                        0.189,
-                        0.271,
-                        0.3,
-                        0.39,
-                        0.414,
-                        0.456,
-                        0.525,
-                        0.339
-                    ]
-                ]
-            }
-        ]
-    },
-    "stochrsi": {
-        "description": "Stochastic RSI",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "stochrsi",
-        "tests": [
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        37.875,
-                        39.5,
-                        38.75,
-                        39.8125,
-                        40,
-                        39.875,
-                        40.1875,
-                        41.25,
-                        41.125,
-                        41.625,
-                        41.25,
-                        40.1875,
-                        39.9375,
-                        39.9375,
-                        40.5,
-                        41.9375,
-                        42.25,
-                        42.25,
-                        41.875,
-                        41.875
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.9613,
-                        0,
-                        0,
-                        0,
-                        0,
-                        0.46,
-                        1,
-                        1,
-                        1,
-                        0.3751,
-                        0
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.658,
-                        1,
-                        1,
-                        1,
-                        1,
-                        0
-                    ]
-                ]
-            }
-        ]
-    },
-    "sub": {
-        "description": "Vector Subtraction",
-        "type": "simple",
-        "slots": {
-            "input": 2,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real, real",
-        "options": "none",
-        "name": "sub",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        1,
-                        2,
-                        7,
-                        4
-                    ],
-                    [
-                        2,
-                        1,
-                        4,
-                        7
-                    ]
-                ],
-                "outputs": [
-                    [
-                        -1,
-                        1,
-                        3,
-                        -3
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ],
-                    [
-                        81.85,
-                        81.2,
-                        81.55,
-                        82.91,
-                        83.1,
-                        83.41,
-                        82.71,
-                        82.7,
-                        84.2,
-                        84.25,
-                        84.03,
-                        85.45,
-                        86.18,
-                        88,
-                        87.6
-                    ]
-                ],
-                "outputs": [
-                    [
-                        -0.26,
-                        -0.14,
-                        1.32,
-                        0.09,
-                        0.51,
-                        -0.26,
-                        0.13,
-                        1.29,
-                        0.35,
-                        0.11,
-                        1.5,
-                        1.09,
-                        0.71,
-                        -0.23,
-                        -0.31
-                    ]
-                ]
-            }
-        ]
-    },
-    "sum": {
-        "description": "Sum Over Period",
-        "type": "math",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "sum",
-        "tests": [
-            {
-                "options": [
-                    2
-                ],
-                "inputs": [
-                    [
-                        1,
-                        2,
-                        3,
-                        4,
-                        5,
-                        7,
-                        8
-                    ]
-                ],
-                "outputs": [
-                    [
-                        3,
-                        5,
-                        7,
-                        9,
-                        12,
-                        15
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        412.13,
-                        413.69,
-                        415.47,
-                        416.59,
-                        418.14,
-                        418.89,
-                        421.27,
-                        424.97,
-                        427.87,
-                        431.09,
-                        434.02
-                    ]
-                ]
-            }
-        ]
-    },
-    "tan": {
-        "description": "Vector Tangent",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "tan",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        0,
-                        0.5,
-                        1
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0,
-                        0.546,
-                        1.557
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        -0.092,
-                        -0.716,
-                        2.488,
-                        3.881,
-                        -2.675,
-                        9.75,
-                        2.287,
-                        -1.1,
-                        -0.28,
-                        -0.499,
-                        0.854,
-                        -6.791,
-                        -1.847,
-                        -0.197,
-                        -0.8
-                    ]
-                ]
-            }
-        ]
-    },
-    "tanh": {
-        "description": "Vector Hyperbolic Tangent",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "tanh",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        0,
-                        0.5,
-                        1
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0,
-                        0.462,
-                        0.762
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        0.2,
-                        0.3,
-                        0.4,
-                        0.3,
-                        0.5,
-                        0.7,
-                        0.75,
-                        0.9,
-                        0.9,
-                        1,
-                        1,
-                        0.2,
-                        0.1,
-                        -0.1,
-                        -0.5
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.197,
-                        0.291,
-                        0.38,
-                        0.291,
-                        0.462,
-                        0.604,
-                        0.635,
-                        0.716,
-                        0.716,
-                        0.762,
-                        0.762,
-                        0.197,
-                        0.1,
-                        -0.1,
-                        -0.462
-                    ]
-                ]
-            }
-        ]
-    },
-    "tema": {
-        "description": "Triple Exponential Moving Average",
-        "type": "overlay",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "tema",
-        "tests": [
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        122.906,
-                        126.5,
-                        140.406,
-                        174,
-                        159.812,
-                        170,
-                        176.75,
-                        175.531,
-                        166.562,
-                        163.75,
-                        170.5,
-                        175,
-                        184.75,
-                        202.781,
-                        209.656,
-                        201.312
-                    ]
-                ],
-                "outputs": [
-                    [
-                        182.8312,
-                        198.5565,
-                        209.476,
-                        207.22
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        87.042,
-                        87.819,
-                        87.721
-                    ]
-                ]
-            }
-        ]
-    },
-    "degrees": {
-        "description": "Vector Degree Conversion",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "degrees",
-        "tests": []
-    },
-    "radians": {
-        "description": "Vector Radian Conversion",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "radians",
-        "tests": []
-    },
-    "tr": {
-        "description": "True Range",
-        "type": "indicator",
-        "slots": {
-            "input": 3,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "high, low, close",
-        "options": "none",
-        "name": "tr",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        12.3125,
-                        12.25,
-                        12.3125,
-                        12.2812,
-                        12.375,
-                        12.375,
-                        12.3125,
-                        12.375,
-                        12.5,
-                        12.5938,
-                        12.3438,
-                        12.4062,
-                        12.375,
-                        12.4062,
-                        12.375,
-                        12.2812,
-                        12.25,
-                        12.0625,
-                        12.3125,
-                        12.3125
-                    ],
-                    [
-                        12.1875,
-                        12.1562,
-                        12.1875,
-                        12.125,
-                        12.125,
-                        12.2812,
-                        12.1875,
-                        12.1875,
-                        12.2812,
-                        12.3125,
-                        12.2812,
-                        12.2812,
-                        12.2812,
-                        12.2812,
-                        11.9688,
-                        12.0938,
-                        12,
-                        11.6562,
-                        12.1562,
-                        12.125
-                    ],
-                    [
-                        12.25,
-                        12.1875,
-                        12.25,
-                        12.1875,
-                        12.375,
-                        12.3125,
-                        12.2188,
-                        12.3438,
-                        12.5,
-                        12.375,
-                        12.3438,
-                        12.3438,
-                        12.2812,
-                        12.375,
-                        12.0938,
-                        12.1562,
-                        12.0625,
-                        11.9688,
-                        12.1875,
-                        12.1562
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.125,
-                        0.0938,
-                        0.125,
-                        0.1562,
-                        0.25,
-                        0.0938,
-                        0.125,
-                        0.1875,
-                        0.2188,
-                        0.2813,
-                        0.0938,
-                        0.125,
-                        0.0938,
-                        0.125,
-                        0.4062,
-                        0.1874,
-                        0.25,
-                        0.4063,
-                        0.3437,
-                        0.1875
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        82.15,
-                        81.89,
-                        83.03,
-                        83.3,
-                        83.85,
-                        83.9,
-                        83.33,
-                        84.3,
-                        84.84,
-                        85,
-                        85.9,
-                        86.58,
-                        86.98,
-                        88,
-                        87.87
-                    ],
-                    [
-                        81.29,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.07,
-                        83.11,
-                        82.49,
-                        82.3,
-                        84.15,
-                        84.11,
-                        84.03,
-                        85.39,
-                        85.76,
-                        87.17,
-                        87.01
-                    ],
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.86,
-                        1.25,
-                        1.97,
-                        0.65,
-                        0.85,
-                        0.79,
-                        0.84,
-                        2,
-                        0.85,
-                        0.89,
-                        1.87,
-                        1.19,
-                        1.22,
-                        1.11,
-                        0.86
-                    ]
-                ]
-            }
-        ]
-    },
-    "trima": {
-        "description": "Triangular Moving Average",
-        "type": "overlay",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "trima",
-        "tests": [
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        25,
-                        24.875,
-                        24.7813,
-                        24.5938,
-                        24.5,
-                        24.625,
-                        25.2188,
-                        27.25,
-                        26.25,
-                        26.5938,
-                        27.5938,
-                        27.875,
-                        27.5313,
-                        27.2188,
-                        26.9688,
-                        26.75
-                    ]
-                ],
-                "outputs": [
-                    [
-                        24.7535,
-                        24.6493,
-                        24.6597,
-                        25.0174,
-                        25.5729,
-                        26.2118,
-                        26.5834,
-                        26.9549,
-                        27.2778,
-                        27.5209,
-                        27.4827,
-                        27.2535
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        82.437,
-                        82.908,
-                        83.204,
-                        83.26,
-                        83.44,
-                        83.807,
-                        84.302,
-                        84.863,
-                        85.537,
-                        86.288,
-                        86.901
-                    ]
-                ]
-            }
-        ]
-    },
-    "trix": {
-        "description": "Trix",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "trix",
-        "tests": [
-            {
-                "options": [
-                    3
-                ],
-                "inputs": [
-                    [
-                        8996.96,
-                        9003.19,
-                        9010.41,
-                        9008.07,
-                        9018.03,
-                        9009.8,
-                        9011.55,
-                        9020.26,
-                        9013.29,
-                        9018.78
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.0171,
-                        0.0121,
-                        0.0137
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.492,
-                        0.512
-                    ]
-                ]
-            }
-        ]
-    },
-    "trunc": {
-        "description": "Vector Truncate",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "trunc",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        0,
-                        -0.5,
-                        -1.1,
-                        -1.6,
-                        1.5,
-                        1.4,
-                        1.6
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0,
-                        0,
-                        -1,
-                        -1,
-                        1,
-                        1,
-                        1
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        81,
-                        81,
-                        82,
-                        83,
-                        83,
-                        83,
-                        82,
-                        83,
-                        84,
-                        84,
-                        85,
-                        86,
-                        86,
-                        87,
-                        87
-                    ]
-                ]
-            }
-        ]
-    },
-    "tsf": {
-        "description": "Time Series Forecast",
-        "type": "overlay",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "tsf",
-        "tests": [
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        10.5,
-                        11.2,
-                        10.3,
-                        12.1,
-                        11.2,
-                        10.5,
-                        11.1,
-                        11.1,
-                        10.2
-                    ]
-                ],
-                "outputs": [
-                    [
-                        11.75,
-                        10.91,
-                        11.04,
-                        10.57,
-                        10.4
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        84.22,
-                        84.214,
-                        83.121,
-                        83.681,
-                        84.444,
-                        85.017,
-                        85.979,
-                        86.818,
-                        87.632,
-                        88.672,
-                        88.229
-                    ]
-                ]
-            }
-        ]
-    },
-    "typprice": {
-        "description": "Typical Price",
-        "type": "overlay",
-        "slots": {
-            "input": 3,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "high, low, close",
-        "options": "none",
-        "name": "typprice",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        10.125,
-                        10.875,
-                        10.1875,
-                        10.25,
-                        11,
-                        12.5,
-                        11.75,
-                        11.625
-                    ],
-                    [
-                        8.375,
-                        10,
-                        9.25,
-                        9.875,
-                        9.75,
-                        9.75,
-                        10.625,
-                        10.5
-                    ],
-                    [
-                        10.125,
-                        10,
-                        10.125,
-                        10.25,
-                        9.9375,
-                        11.5625,
-                        11.0625,
-                        10.75
-                    ]
-                ],
-                "outputs": [
-                    [
-                        9.5417,
-                        10.2917,
-                        9.8542,
-                        10.125,
-                        10.2292,
-                        11.2708,
-                        11.1458,
-                        10.9583
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        82.15,
-                        81.89,
-                        83.03,
-                        83.3,
-                        83.85,
-                        83.9,
-                        83.33,
-                        84.3,
-                        84.84,
-                        85,
-                        85.9,
-                        86.58,
-                        86.98,
-                        88,
-                        87.87
-                    ],
-                    [
-                        81.29,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.07,
-                        83.11,
-                        82.49,
-                        82.3,
-                        84.15,
-                        84.11,
-                        84.03,
-                        85.39,
-                        85.76,
-                        87.17,
-                        87.01
-                    ],
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        81.677,
-                        81.197,
-                        82.403,
-                        82.983,
-                        83.51,
-                        83.387,
-                        82.887,
-                        83.53,
-                        84.513,
-                        84.49,
-                        85.153,
-                        86.17,
-                        86.543,
-                        87.647,
-                        87.39
-                    ]
-                ]
-            }
-        ]
-    },
-    "ultosc": {
-        "description": "Ultimate Oscillator",
-        "type": "indicator",
-        "slots": {
-            "input": 3,
-            "options": 3,
-            "output": 1
-        },
-        "inputs": "high, low, close",
-        "options": "short period, medium period, long period",
-        "name": "ultosc",
-        "tests": [
-            {
-                "options": [
-                    7,
-                    14,
-                    28
-                ],
-                "inputs": [
-                    [
-                        24.4375,
-                        24.3125,
-                        24.8125,
-                        24.875,
-                        24.3125,
-                        24.5,
-                        25.75,
-                        25.5,
-                        26.375,
-                        26.875,
-                        26.25,
-                        26.125,
-                        25.25,
-                        25.625,
-                        25.75,
-                        25.6875,
-                        24.6875,
-                        24.3125,
-                        24,
-                        23,
-                        23.25,
-                        22.625,
-                        23.1875,
-                        22.5,
-                        22.5,
-                        22.375,
-                        21.875,
-                        21.5625,
-                        21,
-                        19.75,
-                        21.9375,
-                        22.875,
-                        23.1875,
-                        22.75,
-                        22.0625,
-                        22.1875,
-                        21.75,
-                        21.4375,
-                        22.375,
-                        23.5
-                    ],
-                    [
-                        23.75,
-                        23.25,
-                        23.625,
-                        24.125,
-                        23.8125,
-                        23.75,
-                        24.4375,
-                        24.5625,
-                        25.375,
-                        26.0625,
-                        25.6875,
-                        24.5625,
-                        23.875,
-                        24.75,
-                        25.25,
-                        24.5,
-                        23.125,
-                        23.0625,
-                        23,
-                        21.25,
-                        22.125,
-                        20.5625,
-                        21.75,
-                        21.4375,
-                        21.875,
-                        21.6875,
-                        20.4375,
-                        20.6875,
-                        20.3125,
-                        18.6875,
-                        19.6875,
-                        22,
-                        22.375,
-                        22.25,
-                        20.375,
-                        20.5,
-                        20.8125,
-                        20.8125,
-                        20.875,
-                        22.5
-                    ],
-                    [
-                        23.875,
-                        23.8125,
-                        24.625,
-                        24.3125,
-                        23.9375,
-                        24.4375,
-                        25,
-                        24.875,
-                        26.375,
-                        26.1875,
-                        25.9375,
-                        24.6875,
-                        24.75,
-                        25.3125,
-                        25.4375,
-                        24.5625,
-                        23.6875,
-                        23.25,
-                        23,
-                        22.25,
-                        22.75,
-                        21.25,
-                        22.4375,
-                        21.875,
-                        22.4375,
-                        22.0625,
-                        21.125,
-                        21,
-                        20.5625,
-                        19.3125,
-                        21.9375,
-                        22.125,
-                        22.875,
-                        22.5,
-                        21.9375,
-                        20.75,
-                        21,
-                        21.375,
-                        22.1875,
-                        22.8125
-                    ]
-                ],
-                "outputs": [
-                    [
-                        46.441,
-                        42.717,
-                        55.0644,
-                        51.8299,
-                        54.2715,
-                        54.7001,
-                        58.6161,
-                        54.9119,
-                        54.5148,
-                        48.9728,
-                        55.3561,
-                        53.7807
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    2,
-                    3,
-                    5
-                ],
-                "inputs": [
-                    [
-                        82.15,
-                        81.89,
-                        83.03,
-                        83.3,
-                        83.85,
-                        83.9,
-                        83.33,
-                        84.3,
-                        84.84,
-                        85,
-                        85.9,
-                        86.58,
-                        86.98,
-                        88,
-                        87.87
-                    ],
-                    [
-                        81.29,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.07,
-                        83.11,
-                        82.49,
-                        82.3,
-                        84.15,
-                        84.11,
-                        84.03,
-                        85.39,
-                        85.76,
-                        87.17,
-                        87.01
-                    ],
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        43.499,
-                        34.044,
-                        65.883,
-                        73.955,
-                        53.388,
-                        64.149,
-                        81.282,
-                        90.186,
-                        86.114,
-                        65.45
-                    ]
-                ]
-            }
-        ]
-    },
-    "var": {
-        "description": "Variance Over Period",
-        "type": "math",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "var",
-        "tests": [
-            {
-                "options": [
-                    3
-                ],
-                "inputs": [
-                    [
-                        100,
-                        101,
-                        102,
-                        107,
-                        115,
-                        123,
-                        100,
-                        92,
-                        99,
-                        58,
-                        150
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.666666667,
-                        6.888888889,
-                        28.66666667,
-                        42.66666667,
-                        90.88888889,
-                        172.6666667,
-                        12.66666667,
-                        320.6666667,
-                        1416.222222
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.899,
-                        0.766,
-                        0.079,
-                        0.179,
-                        0.366,
-                        0.451,
-                        0.759,
-                        0.857,
-                        1.038,
-                        1.378,
-                        0.574
-                    ]
-                ]
-            }
-        ]
-    },
-    "vhf": {
-        "description": "Vertical Horizontal Filter",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "vhf",
-        "tests": [
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        44.3125,
-                        44.125,
-                        45.0625,
-                        44.8125,
-                        44.8125,
-                        45.25,
-                        46.125,
-                        47.375,
-                        49
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.6207,
-                        0.525,
-                        0.9111,
-                        1
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.72,
-                        0.232,
-                        0.432,
-                        0.553,
-                        0.64,
-                        0.796,
-                        0.625,
-                        0.771,
-                        0.947,
-                        0.576
-                    ]
-                ]
-            }
-        ]
-    },
-    "vidya": {
-        "description": "Variable Index Dynamic Average",
-        "type": "overlay",
-        "slots": {
-            "input": 1,
-            "options": 3,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "short period, long period, alpha",
-        "name": "vidya",
-        "tests": [
-            {
-                "options": [
-                    3,
-                    6,
-                    0.2
-                ],
-                "inputs": [
-                    [
-                        50.25,
-                        50.55,
-                        52.5,
-                        54.5,
-                        54.1,
-                        54.12,
-                        55.5,
-                        50.2,
-                        50.45,
-                        50.24,
-                        50.24,
-                        55.12,
-                        56.54,
-                        56.12,
-                        56.1,
-                        54.12,
-                        59.54,
-                        54.52
-                    ]
-                ],
-                "outputs": [
-                    [
-                        54.1,
-                        54.1004,
-                        54.2148,
-                        53.1633,
-                        52.5165,
-                        52.4937,
-                        52.4732,
-                        52.9862,
-                        53.7103,
-                        53.8114,
-                        53.8453,
-                        53.8693,
-                        55.3888,
-                        55.1443
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    2,
-                    5,
-                    0.2
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        83,
-                        83.039,
-                        83.045,
-                        83.022,
-                        83.285,
-                        83.402,
-                        83.43,
-                        83.712,
-                        84.02,
-                        84.119,
-                        84.393,
-                        84.576
-                    ]
-                ]
-            }
-        ]
-    },
-    "volatility": {
-        "description": "Annualized Historical Volatility",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "volatility",
-        "tests": [
-            {
-                "options": [
-                    3
-                ],
-                "inputs": [
-                    [
-                        100,
-                        101,
-                        102,
-                        107,
-                        115,
-                        123,
-                        100,
-                        92,
-                        99,
-                        58,
-                        150
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.292367173,
-                        0.423342593,
-                        0.176459427,
-                        1.939651221,
-                        1.670293237,
-                        1.714813191,
-                        3.246143771,
-                        13.51373467
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0.167,
-                        0.159,
-                        0.114,
-                        0.116,
-                        0.117,
-                        0.12,
-                        0.097,
-                        0.091,
-                        0.093,
-                        0.111
-                    ]
-                ]
-            }
-        ]
-    },
-    "vosc": {
-        "description": "Volume Oscillator",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 2,
-            "output": 1
-        },
-        "inputs": "volume",
-        "options": "short period, long period",
-        "name": "vosc",
-        "tests": [
-            {
-                "options": [
-                    2,
-                    5
-                ],
-                "inputs": [
-                    [
-                        17604,
-                        18918,
-                        21030,
-                        13854,
-                        10866,
-                        14580
-                    ]
-                ],
-                "outputs": [
-                    [
-                        -24.883,
-                        -19.727
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    2,
-                    5
-                ],
-                "inputs": [
-                    [
-                        5653100,
-                        6447400,
-                        7690900,
-                        3831400,
-                        4455100,
-                        3798000,
-                        3936200,
-                        4732000,
-                        4841300,
-                        3915300,
-                        6830800,
-                        6694100,
-                        5293600,
-                        7985800,
-                        4807900
-                    ]
-                ],
-                "outputs": [
-                    [
-                        -26.219,
-                        -21.318,
-                        -18.456,
-                        4.423,
-                        9.974,
-                        3.151,
-                        10.759,
-                        25.168,
-                        8.682,
-                        8.069,
-                        1.177
-                    ]
-                ]
-            }
-        ]
-    },
-    "vwma": {
-        "description": "Volume Weighted Moving Average",
-        "type": "overlay",
-        "slots": {
-            "input": 2,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "close, volume",
-        "options": "period",
-        "name": "vwma",
-        "tests": [
-            {
-                "options": [
-                    4
-                ],
-                "inputs": [
-                    [
-                        50.25,
-                        50.55,
-                        52.5,
-                        54.5,
-                        54.1,
-                        54.12,
-                        55.5,
-                        50.2,
-                        50.45,
-                        50.24
-                    ],
-                    [
-                        12412,
-                        12458,
-                        15874,
-                        12354,
-                        12456,
-                        12542,
-                        15421,
-                        19510,
-                        12521,
-                        12041
-                    ]
-                ],
-                "outputs": [
-                    [
-                        51.9819,
-                        52.8828,
-                        53.7204,
-                        54.6075,
-                        53.1948,
-                        52.434,
-                        51.6345
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ],
-                    [
-                        5653100,
-                        6447400,
-                        7690900,
-                        3831400,
-                        4455100,
-                        3798000,
-                        3936200,
-                        4732000,
-                        4841300,
-                        3915300,
-                        6830800,
-                        6694100,
-                        5293600,
-                        7985800,
-                        4807900
-                    ]
-                ],
-                "outputs": [
-                    [
-                        82.332,
-                        82.61,
-                        83.07,
-                        83.354,
-                        83.682,
-                        83.822,
-                        84.409,
-                        85.165,
-                        85.698,
-                        86.418,
-                        86.805
-                    ]
-                ]
-            }
-        ]
-    },
-    "wad": {
-        "description": "Williams Accumulation/Distribution",
-        "type": "indicator",
-        "slots": {
-            "input": 3,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "high, low, close",
-        "options": "none",
-        "name": "wad",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        21.5,
-                        21.625,
-                        21.125,
-                        22.438,
-                        23.5,
-                        23.25,
-                        25,
-                        25.625,
-                        27.125,
-                        28.75,
-                        28,
-                        30.375
-                    ],
-                    [
-                        20.75,
-                        21,
-                        20.5,
-                        20.875,
-                        22.438,
-                        22.438,
-                        22.875,
-                        23.75,
-                        24.938,
-                        26.875,
-                        26.25,
-                        27.625
-                    ],
-                    [
-                        21.25,
-                        21.031,
-                        20.875,
-                        22,
-                        22.5,
-                        23,
-                        24.563,
-                        25.375,
-                        26.875,
-                        27.375,
-                        27.75,
-                        29.5
-                    ]
-                ],
-                "outputs": [
-                    [
-                        -0.594,
-                        -0.844,
-                        0.281,
-                        0.781,
-                        1.343,
-                        3.031,
-                        4.656,
-                        6.593,
-                        7.093,
-                        8.593,
-                        10.468
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        82.15,
-                        81.89,
-                        83.03,
-                        83.3,
-                        83.85,
-                        83.9,
-                        83.33,
-                        84.3,
-                        84.84,
-                        85,
-                        85.9,
-                        86.58,
-                        86.98,
-                        88,
-                        87.87
-                    ],
-                    [
-                        81.29,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.07,
-                        83.11,
-                        82.49,
-                        82.3,
-                        84.15,
-                        84.11,
-                        84.03,
-                        85.39,
-                        85.76,
-                        87.17,
-                        87.01
-                    ],
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        -0.83,
-                        0.98,
-                        1.33,
-                        1.94,
-                        1.19,
-                        0.7,
-                        2.39,
-                        2.95,
-                        2.31,
-                        3.81,
-                        4.96,
-                        6.09,
-                        6.97,
-                        6.39
-                    ]
-                ]
-            }
-        ]
-    },
-    "wcprice": {
-        "description": "Weighted Close Price",
-        "type": "overlay",
-        "slots": {
-            "input": 3,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "high, low, close",
-        "options": "none",
-        "name": "wcprice",
-        "tests": [
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        39.75,
-                        39.625,
-                        38.75,
-                        41.625,
-                        41.25,
-                        41.125
-                    ],
-                    [
-                        38.25,
-                        37.875,
-                        36.5,
-                        38.5,
-                        40.5,
-                        40.5
-                    ],
-                    [
-                        39,
-                        38,
-                        38.75,
-                        41.4375,
-                        40.6875,
-                        41.125
-                    ]
-                ],
-                "outputs": [
-                    [
-                        39,
-                        38.375,
-                        38.1875,
-                        40.75,
-                        40.7813,
-                        40.9688
-                    ]
-                ]
-            },
-            {
-                "options": [],
-                "inputs": [
-                    [
-                        82.15,
-                        81.89,
-                        83.03,
-                        83.3,
-                        83.85,
-                        83.9,
-                        83.33,
-                        84.3,
-                        84.84,
-                        85,
-                        85.9,
-                        86.58,
-                        86.98,
-                        88,
-                        87.87
-                    ],
-                    [
-                        81.29,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.07,
-                        83.11,
-                        82.49,
-                        82.3,
-                        84.15,
-                        84.11,
-                        84.03,
-                        85.39,
-                        85.76,
-                        87.17,
-                        87.01
-                    ],
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        81.655,
-                        81.162,
-                        82.52,
-                        82.987,
-                        83.535,
-                        83.328,
-                        82.875,
-                        83.645,
-                        84.523,
-                        84.457,
-                        85.248,
-                        86.263,
-                        86.63,
-                        87.677,
-                        87.365
-                    ]
-                ]
-            }
-        ]
-    },
-    "wilders": {
-        "description": "Wilders Smoothing",
-        "type": "overlay",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "wilders",
-        "tests": [
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        62.125,
-                        61.125,
-                        62.3438,
-                        65.3125,
-                        63.9688,
-                        63.4375,
-                        63,
-                        63.7812,
-                        63.4062,
-                        63.4062,
-                        62.4375,
-                        61.8438
-                    ]
-                ],
-                "outputs": [
-                    [
-                        62.975,
-                        63.0675,
-                        63.054,
-                        63.1995,
-                        63.2408,
-                        63.2739,
-                        63.1066,
-                        62.854
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        82.426,
-                        82.571,
-                        82.625,
-                        82.898,
-                        83.228,
-                        83.455,
-                        83.87,
-                        84.404,
-                        84.901,
-                        85.475,
-                        85.838
-                    ]
-                ]
-            }
-        ]
-    },
-    "willr": {
-        "description": "Williams %R",
-        "type": "indicator",
-        "slots": {
-            "input": 3,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "high, low, close",
-        "options": "period",
-        "name": "willr",
-        "tests": [
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        631.34,
-                        627.11,
-                        628.49,
-                        630.89,
-                        632.85,
-                        633.26,
-                        634.65,
-                        633.56,
-                        624.84,
-                        621.62,
-                        614.01,
-                        615.36,
-                        620.51,
-                        624.33
-                    ],
-                    [
-                        624.81,
-                        623.59,
-                        621.33,
-                        622.2,
-                        630.21,
-                        629.64,
-                        632.34,
-                        616.31,
-                        618.98,
-                        609.84,
-                        602.56,
-                        609.71,
-                        615.36,
-                        620.21
-                    ],
-                    [
-                        626.01,
-                        626.44,
-                        622.2,
-                        630.8,
-                        632.85,
-                        633.06,
-                        633.56,
-                        622.11,
-                        620.34,
-                        611.6,
-                        609.89,
-                        615.36,
-                        620.44,
-                        623.66
-                    ]
-                ],
-                "outputs": [
-                    [
-                        0,
-                        -1.676,
-                        -8.183,
-                        -68.375,
-                        -78.026,
-                        -92.906,
-                        -77.158,
-                        -58.71,
-                        -19.749,
-                        -3.078
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        82.15,
-                        81.89,
-                        83.03,
-                        83.3,
-                        83.85,
-                        83.9,
-                        83.33,
-                        84.3,
-                        84.84,
-                        85,
-                        85.9,
-                        86.58,
-                        86.98,
-                        88,
-                        87.87
-                    ],
-                    [
-                        81.29,
-                        80.64,
-                        81.31,
-                        82.65,
-                        83.07,
-                        83.11,
-                        82.49,
-                        82.3,
-                        84.15,
-                        84.11,
-                        84.03,
-                        85.39,
-                        85.76,
-                        87.17,
-                        87.01
-                    ],
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        -7.477,
-                        -23.006,
-                        -40.927,
-                        -15.5,
-                        -11.417,
-                        -23.704,
-                        -10.278,
-                        -0.935,
-                        -3.051,
-                        -5.793,
-                        -17.884
-                    ]
-                ]
-            }
-        ]
-    },
-    "wma": {
-        "description": "Weighted Moving Average",
-        "type": "overlay",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "wma",
-        "tests": [
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        25,
-                        24.875,
-                        24.7813,
-                        24.5938,
-                        24.5,
-                        24.625,
-                        25.2188,
-                        27.25
-                    ]
-                ],
-                "outputs": [
-                    [
-                        24.6646,
-                        24.6229,
-                        24.8042,
-                        25.6396
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        82.825,
-                        83.066,
-                        83.1,
-                        83.399,
-                        83.809,
-                        84.053,
-                        84.637,
-                        85.399,
-                        86.031,
-                        86.763,
-                        87.121
-                    ]
-                ]
-            }
-        ]
-    },
-    "zlema": {
-        "description": "Zero-Lag Exponential Moving Average",
-        "type": "overlay",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "zlema",
-        "tests": [
-            {
-                "options": [
-                    6
-                ],
-                "inputs": [
-                    [
-                        50.25,
-                        50.55,
-                        52.5,
-                        54.5,
-                        54.1,
-                        54.12,
-                        55.5,
-                        50.2,
-                        50.45,
-                        50.24,
-                        50.24,
-                        55.12,
-                        56.54,
-                        56.12,
-                        56.1,
-                        54.12,
-                        59.54,
-                        54.52
-                    ]
-                ],
-                "outputs": [
-                    [
-                        50.55,
-                        51.75,
-                        53.6643,
-                        54.2459,
-                        54.1014,
-                        54.901,
-                        52.4378,
-                        50.427,
-                        50.385,
-                        50.2836,
-                        53.0597,
-                        55.8541,
-                        56.2158,
-                        56.057,
-                        54.9321,
-                        57.2315,
-                        56.5711
-                    ]
-                ]
-            },
-            {
-                "options": [
-                    5
-                ],
-                "inputs": [
-                    [
-                        81.59,
-                        81.06,
-                        82.87,
-                        83,
-                        83.61,
-                        83.15,
-                        82.84,
-                        83.99,
-                        84.55,
-                        84.36,
-                        85.53,
-                        86.54,
-                        86.89,
-                        87.77,
-                        87.29
-                    ]
-                ],
-                "outputs": [
-                    [
-                        81.06,
-                        82.09,
-                        83.04,
-                        83.477,
-                        83.418,
-                        82.969,
-                        83.589,
-                        84.479,
-                        84.563,
-                        85.212,
-                        86.381,
-                        87.004,
-                        87.669,
-                        87.676
-                    ]
-                ]
-            }
-        ]
-    }
-}
\ No newline at end of file
diff --git a/tests/definition.json b/tests/definition.json
deleted file mode 100644
index 6e3e74f..0000000
--- a/tests/definition.json
+++ /dev/null
@@ -1,1224 +0,0 @@
-{
-    "abs": {
-        "description": "Vector Absolute Value",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "abs",
-        "tests": []
-    },
-    "acos": {
-        "description": "Vector Arccosine",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "acos",
-        "tests": []
-    },
-    "ad": {
-        "description": "Accumulation/Distribution Line",
-        "type": "indicator",
-        "slots": {
-            "input": 4,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "high, low, close, volume",
-        "options": "none",
-        "name": "ad",
-        "tests": []
-    },
-    "add": {
-        "description": "Vector Addition",
-        "type": "simple",
-        "slots": {
-            "input": 2,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real, real",
-        "options": "none",
-        "name": "add",
-        "tests": []
-    },
-    "adosc": {
-        "description": "Accumulation/Distribution Oscillator",
-        "type": "indicator",
-        "slots": {
-            "input": 4,
-            "options": 2,
-            "output": 1
-        },
-        "inputs": "high, low, close, volume",
-        "options": "short period, long period",
-        "name": "adosc",
-        "tests": []
-    },
-    "dx": {
-        "description": "Directional Movement Index",
-        "type": "indicator",
-        "slots": {
-            "input": 3,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "high, low, close",
-        "options": "period",
-        "name": "dx",
-        "tests": []
-    },
-    "ao": {
-        "description": "Awesome Oscillator",
-        "type": "indicator",
-        "slots": {
-            "input": 2,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "high, low",
-        "options": "none",
-        "name": "ao",
-        "tests": []
-    },
-    "apo": {
-        "description": "Absolute Price Oscillator",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 2,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "short period, long period",
-        "name": "apo",
-        "tests": []
-    },
-    "aroonosc": {
-        "description": "Aroon Oscillator",
-        "type": "indicator",
-        "slots": {
-            "input": 2,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "high, low",
-        "options": "period",
-        "name": "aroonosc",
-        "tests": []
-    },
-    "asin": {
-        "description": "Vector Arcsine",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "asin",
-        "tests": []
-    },
-    "atan": {
-        "description": "Vector Arctangent",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "atan",
-        "tests": []
-    },
-    "atr": {
-        "description": "Average True Range",
-        "type": "indicator",
-        "slots": {
-            "input": 3,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "high, low, close",
-        "options": "period",
-        "name": "atr",
-        "tests": []
-    },
-    "avgprice": {
-        "description": "Average Price",
-        "type": "overlay",
-        "slots": {
-            "input": 4,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "open, high, low, close",
-        "options": "none",
-        "name": "avgprice",
-        "tests": []
-    },
-    "bop": {
-        "description": "Balance of Power",
-        "type": "indicator",
-        "slots": {
-            "input": 4,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "open, high, low, close",
-        "options": "none",
-        "name": "bop",
-        "tests": []
-    },
-    "cci": {
-        "description": "Commodity Channel Index",
-        "type": "indicator",
-        "slots": {
-            "input": 3,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "high, low, close",
-        "options": "period",
-        "name": "cci",
-        "tests": []
-    },
-    "ceil": {
-        "description": "Vector Ceiling",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "ceil",
-        "tests": []
-    },
-    "cmo": {
-        "description": "Chande Momentum Oscillator",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "cmo",
-        "tests": []
-    },
-    "cos": {
-        "description": "Vector Cosine",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "cos",
-        "tests": []
-    },
-    "cosh": {
-        "description": "Vector Hyperbolic Cosine",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "cosh",
-        "tests": []
-    },
-    "crossany": {
-        "description": "Crossany",
-        "type": "math",
-        "slots": {
-            "input": 2,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real, real",
-        "options": "none",
-        "name": "crossany",
-        "tests": []
-    },
-    "crossover": {
-        "description": "Crossover",
-        "type": "math",
-        "slots": {
-            "input": 2,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real, real",
-        "options": "none",
-        "name": "crossover",
-        "tests": []
-    },
-    "cvi": {
-        "description": "Chaikins Volatility",
-        "type": "indicator",
-        "slots": {
-            "input": 2,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "high, low",
-        "options": "period",
-        "name": "cvi",
-        "tests": []
-    },
-    "decay": {
-        "description": "Linear Decay",
-        "type": "math",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "decay",
-        "tests": []
-    },
-    "dema": {
-        "description": "Double Exponential Moving Average",
-        "type": "overlay",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "dema",
-        "tests": []
-    },
-    "div": {
-        "description": "Vector Division",
-        "type": "simple",
-        "slots": {
-            "input": 2,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real, real",
-        "options": "none",
-        "name": "div",
-        "tests": []
-    },
-    "dpo": {
-        "description": "Detrended Price Oscillator",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "dpo",
-        "tests": []
-    },
-    "edecay": {
-        "description": "Exponential Decay",
-        "type": "math",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "edecay",
-        "tests": []
-    },
-    "ema": {
-        "description": "Exponential Moving Average",
-        "type": "overlay",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "ema",
-        "tests": []
-    },
-    "emv": {
-        "description": "Ease of Movement",
-        "type": "indicator",
-        "slots": {
-            "input": 3,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "high, low, volume",
-        "options": "none",
-        "name": "emv",
-        "tests": []
-    },
-    "exp": {
-        "description": "Vector Exponential",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "exp",
-        "tests": []
-    },
-    "floor": {
-        "description": "Vector Floor",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "floor",
-        "tests": []
-    },
-    "fosc": {
-        "description": "Forecast Oscillator",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "fosc",
-        "tests": []
-    },
-    "hma": {
-        "description": "Hull Moving Average",
-        "type": "overlay",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "hma",
-        "tests": []
-    },
-    "kama": {
-        "description": "Kaufman Adaptive Moving Average",
-        "type": "overlay",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "kama",
-        "tests": []
-    },
-    "kvo": {
-        "description": "Klinger Volume Oscillator",
-        "type": "indicator",
-        "slots": {
-            "input": 4,
-            "options": 2,
-            "output": 1
-        },
-        "inputs": "high, low, close, volume",
-        "options": "short period, long period",
-        "name": "kvo",
-        "tests": []
-    },
-    "lag": {
-        "description": "Lag",
-        "type": "math",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "lag",
-        "tests": []
-    },
-    "linreg": {
-        "description": "Linear Regression",
-        "type": "overlay",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "linreg",
-        "tests": []
-    },
-    "linregintercept": {
-        "description": "Linear Regression Intercept",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "linregintercept",
-        "tests": []
-    },
-    "linregslope": {
-        "description": "Linear Regression Slope",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "linregslope",
-        "tests": []
-    },
-    "ln": {
-        "description": "Vector Natural Log",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "ln",
-        "tests": []
-    },
-    "log10": {
-        "description": "Vector Base-10 Log",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "log10",
-        "tests": []
-    },
-    "marketfi": {
-        "description": "Market Facilitation Index",
-        "type": "indicator",
-        "slots": {
-            "input": 3,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "high, low, volume",
-        "options": "none",
-        "name": "marketfi",
-        "tests": []
-    },
-    "mass": {
-        "description": "Mass Index",
-        "type": "indicator",
-        "slots": {
-            "input": 2,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "high, low",
-        "options": "period",
-        "name": "mass",
-        "tests": []
-    },
-    "max": {
-        "description": "Maximum In Period",
-        "type": "math",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "max",
-        "tests": []
-    },
-    "md": {
-        "description": "Mean Deviation Over Period",
-        "type": "math",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "md",
-        "tests": []
-    },
-    "medprice": {
-        "description": "Median Price",
-        "type": "overlay",
-        "slots": {
-            "input": 2,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "high, low",
-        "options": "none",
-        "name": "medprice",
-        "tests": []
-    },
-    "mfi": {
-        "description": "Money Flow Index",
-        "type": "indicator",
-        "slots": {
-            "input": 4,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "high, low, close, volume",
-        "options": "period",
-        "name": "mfi",
-        "tests": []
-    },
-    "min": {
-        "description": "Minimum In Period",
-        "type": "math",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "min",
-        "tests": []
-    },
-    "mom": {
-        "description": "Momentum",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "mom",
-        "tests": []
-    },
-    "mul": {
-        "description": "Vector Multiplication",
-        "type": "simple",
-        "slots": {
-            "input": 2,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real, real",
-        "options": "none",
-        "name": "mul",
-        "tests": []
-    },
-    "natr": {
-        "description": "Normalized Average True Range",
-        "type": "indicator",
-        "slots": {
-            "input": 3,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "high, low, close",
-        "options": "period",
-        "name": "natr",
-        "tests": []
-    },
-    "nvi": {
-        "description": "Negative Volume Index",
-        "type": "indicator",
-        "slots": {
-            "input": 2,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "close, volume",
-        "options": "none",
-        "name": "nvi",
-        "tests": []
-    },
-    "obv": {
-        "description": "On Balance Volume",
-        "type": "indicator",
-        "slots": {
-            "input": 2,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "close, volume",
-        "options": "none",
-        "name": "obv",
-        "tests": []
-    },
-    "ppo": {
-        "description": "Percentage Price Oscillator",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 2,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "short period, long period",
-        "name": "ppo",
-        "tests": []
-    },
-    "psar": {
-        "description": "Parabolic SAR",
-        "type": "overlay",
-        "slots": {
-            "input": 2,
-            "options": 2,
-            "output": 1
-        },
-        "inputs": "high, low",
-        "options": "acceleration factor step, acceleration factor maximum",
-        "name": "psar",
-        "tests": []
-    },
-    "pvi": {
-        "description": "Positive Volume Index",
-        "type": "indicator",
-        "slots": {
-            "input": 2,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "close, volume",
-        "options": "none",
-        "name": "pvi",
-        "tests": []
-    },
-    "qstick": {
-        "description": "Qstick",
-        "type": "indicator",
-        "slots": {
-            "input": 2,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "open, close",
-        "options": "period",
-        "name": "qstick",
-        "tests": []
-    },
-    "roc": {
-        "description": "Rate of Change",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "roc",
-        "tests": []
-    },
-    "rocr": {
-        "description": "Rate of Change Ratio",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "rocr",
-        "tests": []
-    },
-    "round": {
-        "description": "Vector Round",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "round",
-        "tests": []
-    },
-    "rsi": {
-        "description": "Relative Strength Index",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "rsi",
-        "tests": []
-    },
-    "sin": {
-        "description": "Vector Sine",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "sin",
-        "tests": []
-    },
-    "sinh": {
-        "description": "Vector Hyperbolic Sine",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "sinh",
-        "tests": []
-    },
-    "sma": {
-        "description": "Simple Moving Average",
-        "type": "overlay",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "sma",
-        "tests": []
-    },
-    "sqrt": {
-        "description": "Vector Square Root",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "sqrt",
-        "tests": []
-    },
-    "stddev": {
-        "description": "Standard Deviation Over Period",
-        "type": "math",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "stddev",
-        "tests": []
-    },
-    "stderr": {
-        "description": "Standard Error Over Period",
-        "type": "math",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "stderr",
-        "tests": []
-    },
-    "stochrsi": {
-        "description": "Stochastic RSI",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "stochrsi",
-        "tests": []
-    },
-    "sub": {
-        "description": "Vector Subtraction",
-        "type": "simple",
-        "slots": {
-            "input": 2,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real, real",
-        "options": "none",
-        "name": "sub",
-        "tests": []
-    },
-    "sum": {
-        "description": "Sum Over Period",
-        "type": "math",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "sum",
-        "tests": []
-    },
-    "tan": {
-        "description": "Vector Tangent",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "tan",
-        "tests": []
-    },
-    "tanh": {
-        "description": "Vector Hyperbolic Tangent",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "tanh",
-        "tests": []
-    },
-    "tema": {
-        "description": "Triple Exponential Moving Average",
-        "type": "overlay",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "tema",
-        "tests": []
-    },
-    "degrees": {
-        "description": "Vector Degree Conversion",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "degrees",
-        "tests": []
-    },
-    "radians": {
-        "description": "Vector Radian Conversion",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "radians",
-        "tests": []
-    },
-    "tr": {
-        "description": "True Range",
-        "type": "indicator",
-        "slots": {
-            "input": 3,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "high, low, close",
-        "options": "none",
-        "name": "tr",
-        "tests": []
-    },
-    "trima": {
-        "description": "Triangular Moving Average",
-        "type": "overlay",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "trima",
-        "tests": []
-    },
-    "trix": {
-        "description": "Trix",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "trix",
-        "tests": []
-    },
-    "trunc": {
-        "description": "Vector Truncate",
-        "type": "simple",
-        "slots": {
-            "input": 1,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "none",
-        "name": "trunc",
-        "tests": []
-    },
-    "tsf": {
-        "description": "Time Series Forecast",
-        "type": "overlay",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "tsf",
-        "tests": []
-    },
-    "typprice": {
-        "description": "Typical Price",
-        "type": "overlay",
-        "slots": {
-            "input": 3,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "high, low, close",
-        "options": "none",
-        "name": "typprice",
-        "tests": []
-    },
-    "ultosc": {
-        "description": "Ultimate Oscillator",
-        "type": "indicator",
-        "slots": {
-            "input": 3,
-            "options": 3,
-            "output": 1
-        },
-        "inputs": "high, low, close",
-        "options": "short period, medium period, long period",
-        "name": "ultosc",
-        "tests": []
-    },
-    "var": {
-        "description": "Variance Over Period",
-        "type": "math",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "var",
-        "tests": []
-    },
-    "vhf": {
-        "description": "Vertical Horizontal Filter",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "vhf",
-        "tests": []
-    },
-    "vidya": {
-        "description": "Variable Index Dynamic Average",
-        "type": "overlay",
-        "slots": {
-            "input": 1,
-            "options": 3,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "short period, long period, alpha",
-        "name": "vidya",
-        "tests": []
-    },
-    "volatility": {
-        "description": "Annualized Historical Volatility",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "volatility",
-        "tests": []
-    },
-    "vosc": {
-        "description": "Volume Oscillator",
-        "type": "indicator",
-        "slots": {
-            "input": 1,
-            "options": 2,
-            "output": 1
-        },
-        "inputs": "volume",
-        "options": "short period, long period",
-        "name": "vosc",
-        "tests": []
-    },
-    "vwma": {
-        "description": "Volume Weighted Moving Average",
-        "type": "overlay",
-        "slots": {
-            "input": 2,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "close, volume",
-        "options": "period",
-        "name": "vwma",
-        "tests": []
-    },
-    "wad": {
-        "description": "Williams Accumulation/Distribution",
-        "type": "indicator",
-        "slots": {
-            "input": 3,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "high, low, close",
-        "options": "none",
-        "name": "wad",
-        "tests": []
-    },
-    "wcprice": {
-        "description": "Weighted Close Price",
-        "type": "overlay",
-        "slots": {
-            "input": 3,
-            "options": 0,
-            "output": 1
-        },
-        "inputs": "high, low, close",
-        "options": "none",
-        "name": "wcprice",
-        "tests": []
-    },
-    "wilders": {
-        "description": "Wilders Smoothing",
-        "type": "overlay",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "wilders",
-        "tests": []
-    },
-    "willr": {
-        "description": "Williams %R",
-        "type": "indicator",
-        "slots": {
-            "input": 3,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "high, low, close",
-        "options": "period",
-        "name": "willr",
-        "tests": []
-    },
-    "wma": {
-        "description": "Weighted Moving Average",
-        "type": "overlay",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "wma",
-        "tests": []
-    },
-    "zlema": {
-        "description": "Zero-Lag Exponential Moving Average",
-        "type": "overlay",
-        "slots": {
-            "input": 1,
-            "options": 1,
-            "output": 1
-        },
-        "inputs": "real",
-        "options": "period",
-        "name": "zlema",
-        "tests": []
-    }
-}
\ No newline at end of file
diff --git a/tests/test.rs b/tests/test.rs
deleted file mode 100644
index 1208c37..0000000
--- a/tests/test.rs
+++ /dev/null
@@ -1,4 +0,0 @@
-extern crate core;
-extern crate csv;
-
-// TODO: implement some integration tests
