IndicatorTS - Stock technical indicators and strategies in TypeScript for browser and server programs.
Indicator is a TypeScript module providing various stock technical analysis indicators, strategies, and a backtest framework for trading.
This is a clone of my Indicator Go Golang module.
The following list of indicators are currently supported by this package:
Strategies relies on the following:
The following list of strategies are currently supported by this package:
Backtesting is the method for seeing how well a strategy would have done. The following backtesting functions are provided for evaluating strategies.
Chart provides an easy way to plot the outcome of the indicators and the strategies.
The project can be build from its source through the build command.
npm run build
Install package.
npm install indicatorts
Import indicator.
import { ao } from 'indicatorts';
const highs = [10, 20, 30, 40];
const lows = [1, 2, 3, 4];
// Awesome Oscillator!
const result = ao(highs, lows);
The information provided on this project is strictly for informational purposes and is not to be construed as advice or solicitation to buy or sell any security.
Copyright (c) 2022 Onur Cinar. All Rights Reserved.
The source code is provided under MIT License.