npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@tradejs/strategy-five-zero

v0.1.2

Published

Bullish and bearish FiveZero harmonic reversal strategy with XABCD geometry for TradeJS.

Readme

@tradejs/strategy-five-zero

TradeJS strategy plugin providing FiveZero.

Strategy overview

FiveZero detects the bullish and bearish forms of the five-pivot XABCD harmonic reversal pattern. The detector uses confirmed wick pivots and requires all three geometric relationships at the same time:

  1. AB / XA is between 1.13 and 1.618;
  2. BC / AB is between 1.618 and 2.24;
  3. CD / BC is near 0.50, with a default accepted range of 0.45–0.55.

The bullish form is low → high → lower low → higher high → low across X → A → B → C → D and enters long after D is confirmed. The bearish form is its exact mirror and enters short. These ratios follow the published 5-0 pattern definition.

FiveZero strategy logic

Signal geometry

Bullish FiveZero signal

The illustrations are schematic. Defaults use a two-bar confirmed fractal, target point C, place the stop 10% of CD beyond D, require at least one ATR of BC pattern height, and reject an entry after the initial reaction has moved more than 80% of CD. Every tolerance is explicit in the strategy config so research can change geometry without changing detector code.

Install

yarn add @tradejs/strategy-five-zero

Register the package in tradejs.config.ts:

import { defineConfig } from "@tradejs/core/config";

export default defineConfig({
  strategies: ["@tradejs/strategy-five-zero"],
});

The package exports strategyEntries, the FiveZero strategy definition, manifest, default config, and AI adapter.

Development

yarn install --immutable
yarn checks

Publishing is beta-first and delegated to the pinned TradeJS-Workflows@v1 reusable workflow.

Runtime host contract

All @tradejs/* runtime packages are peer dependencies. The consuming TradeJS Project owns their exact installed versions and package manifest, so this package never loads a hidden nested engine, types package, indicator package, or Strategy Kit.