I am building various technical indicators not available elsewhere. These include:
import { MarketProfile, VolumeProfile, RangeBuilder } from 'chart-patterns';
import { IVolumeProfile, IMarketProfile, ILocalRange } from 'chart-patterns/dist/types';
import { MARKET_PROFILE_PERIODS } from 'chart-patterns/dist/constants';
const marketProfiles: IMarketProfile[] = MarketProfile.build({
candles,
period: MARKET_PROFILE_PERIODS.DAILY,
tickSize: 0.1,
pricePrecision: 2,
tickMultiplier: 100,
timezone: 'Europe/London'
});
const volumeProfiles: IVolumeProfile[] = VolumeProfile.build({
candles,
tickSize: 0.1,
period: MARKET_PROFILE_PERIODS.DAILY,
timezone: 'Europe/London'
});
const LAG = 2;
const threshold = 0.1;
const influence = 1;
const ranges: ILocalRange[] = RangeBuilder.findRanges(candles, LAG, THRESHOLD, INFLUENCE);
Maket Profile
Ranges
Generated using TypeDoc