FRVP Technical Indicator for Value Area calculations: pdVA, pwVA, pmVA
- A calculator for the Fixed Range Volume Profile in TypeScript.
- By default, the histogram will use 24 rows like TradingView.
- It can calculate values for the current & previous day, current & previous week, current & previous month.
- Values returned are Point of Control (POC), Value Area High (VAH), Value Area Low (VAL), low, high.
- There is test data that uses ByBit Kline data, and it currently only handles that data.
import { pdVA } from 'value-area-calculation'
const myData = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
const result = pdVA(myData, 4)
console.log(result)