UNPKG

@cmike444/supply-and-demand-zones

Version:

A library for identifying supply and demand zones in candlestick data.

20 lines (19 loc) 1 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ZONE_TYPE = void 0; /** * Enum representing the type of zone pattern in the supply and demand system. * * @enum {number} * @property {number} DROP_BASE_DROP - Represents a zone where the pattern is a drop, base, then drop. * @property {number} RALLY_BASE_RALLY - Represents a zone where the pattern is a rally, base, then rally. * @property {number} DROP_BASE_RALLY - Represents a zone where the pattern is a drop, base, then rally. * @property {number} RALLY_BASE_DROP - Represents a zone where the pattern is a rally, base, then drop. */ var ZONE_TYPE; (function (ZONE_TYPE) { ZONE_TYPE[ZONE_TYPE["DROP_BASE_DROP"] = 0] = "DROP_BASE_DROP"; ZONE_TYPE[ZONE_TYPE["RALLY_BASE_RALLY"] = 1] = "RALLY_BASE_RALLY"; ZONE_TYPE[ZONE_TYPE["DROP_BASE_RALLY"] = 2] = "DROP_BASE_RALLY"; ZONE_TYPE[ZONE_TYPE["RALLY_BASE_DROP"] = 3] = "RALLY_BASE_DROP"; })(ZONE_TYPE || (exports.ZONE_TYPE = ZONE_TYPE = {}));