
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
aaron-binary-indicators
Advanced tools
#Binary.com Indicators
npm install binary-indicators --save
A simple moving average (SMA) is an arithmetic moving average calculated by adding the closing price of the security for a number of time periods and then dividing this total by the number of time periods.
Input array of numbers:
const data = [1, 10, 100, 1000, 10000];
const result = simpleMovingAverage(data, { periods: 3 });
const data = [
{ close: 1 },
{ close: 2 },
{ close: 3 },
];
const result = simpleMovingAverage(data, { periods: 3, field: 'close' });
const data = [1, 2, 3, ...];
const result = simpleMovingAverageArray(data, { periods: 10 });
The 12- and 26-day EMAs are the most popular short-term averages, and they are used to create indicators like the moving average convergence divergence (MACD) and the percentage price oscillator (PPO). In general, the 50- and 200-day EMAs are used as signals of long-term trends.
Bollinger Bands® are volatility bands placed above and below a moving average. Volatility is based on the standard deviation, which changes as volatility increases and decreases. The bands automatically widen when volatility increases and narrow when volatility decreases.
Input array of numbers:
const data = [1, 10, 100, 1000, 10000];
const result = bollingerBands(data, { periods: 3 });
Returned value is an array of three items:
[middleValue, upperValue, lowerValue]
const data = [
{ close: 1 },
{ close: 2 },
{ close: 3 },
];
const result = bollingerBands(data, { periods: 3, field: 'close' });
const data = [1, 2, 3, ...];
const result = bollingerBandsArray(data, { periods: 10 });
Relative Strength Index (RSI) is a momentum oscillator that measures the speed and change of price movements. RSI oscillates between zero and 100.
Moving average convergence divergence (MACD) is a trend-following momentum indicator that shows the relationship between two moving averages of prices. The MACD is calculated by subtracting the 26-day exponential moving average (EMA) from the 12-day EMA. A nine-day EMA of the MACD, called the "signal line", is then plotted on top of the MACD, functioning as a trigger for buy and sell signals.
Momentum is the rate of acceleration of a security's price or volume. In technical analysis, momentum is considered an oscillator and is used to help identify trend lines.
The Alligator indicator uses three smoothed moving averages, set at five, eight, and 13 periods, which are all Fibonacci numbers. The initial smoothed average is calculated with a simple moving average (SMA), adding additional smoothed averages that slow down indicator turns.
Momentum indicator comparing the closing price of a security to the range of its prices over a certain period of time. The sensitivity of the oscillator to market movements is reducible by adjusting that time period or by taking a moving average of the result.
FAQs
Binary.com Indicators
The npm package aaron-binary-indicators receives a total of 0 weekly downloads. As such, aaron-binary-indicators popularity was classified as not popular.
We found that aaron-binary-indicators demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.