@omdr/support-resistance
v0.0.1
Published
Comprehensive library of support and resistance technical indicators for financial market analysis. Includes standard pivot points, Fibonacci retracements, and advanced tools like Market Profile and Anchored VWAP.
Maintainers
Readme
@omdr/support-resistance
Comprehensive library of support and resistance technical indicators for financial market analysis. Includes standard pivot points, Fibonacci retracements, and advanced tools like Market Profile and Anchored VWAP.
Installation
npm install @omdr/support-resistanceUsage
const {
pivotPoints,
fibonacciRetracements,
camarillaPivots,
woodiePivots,
tomDemarkPivots,
murreyMathLines,
gannSquareOfNine,
volumeProfile,
anchoredVWAP,
marketProfile
} = require('@omdr/support-resistance');
// Example usage
const pivots = pivotPoints(200, 190, 195);
console.log('Standard Pivots:', pivots);
const fib = fibonacciRetracements(210, 190);
console.log('Fibonacci Levels:', fib);
const vw = anchoredVWAP([195, 197, 199, 202], [1000, 1100, 1050, 1200], 0);
console.log('Anchored VWAP:', vw);Included Tools
Pivot-Based Tools
pivotPoints(high, low, close)fibonacciRetracements(high, low)camarillaPivots(close, high, low)woodiePivots(high, low, close)tomDemarkPivots(open, high, low, close)
Geometric/Mathematical Tools
murreyMathLines(price)gannSquareOfNine(price)
Volume-Based Support/Resistance
volumeProfile(priceData, volumeData, bins)anchoredVWAP(priceData, volumeData, anchorIndex)marketProfile(priceData)
Structure
.
├── src
│ ├── dev files (not included in package)
├── dist
│ ├── index.js (code is obfuscated already)
│ └── index.obf.js
├── package.json
└── README.mdDesigned For
- Node.js scripts
- Web apps (React, Angular, Vue, etc.)
- VS Code extensions
- Trading dashboards
- Custom strategy engines
🙌 Support This Project
If you find this useful, you can buy me a ☕:
Author & Website
Built with love by Offline Pixel
Follow me for more trading tech magic.
License
MIT — Free to use and extend, commercial or personal.
