UNPKG

igniteui-angular-charts

Version:

Ignite UI Angular charting components for building rich data visualizations for modern web apps.

52 lines (51 loc) 2.1 kB
/* THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE: https://www.infragistics.com/legal/license/igultimate-la https://www.infragistics.com/legal/license/igultimate-eula GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company. */ import { StrategyBasedIndicator } from "./StrategyBasedIndicator"; import { IShortPeriodLongPeriod_$type } from "./IShortPeriodLongPeriod"; import { PercentagePriceOscillatorIndicatorStrategy } from "./PercentagePriceOscillatorIndicatorStrategy"; import { typeGetValue, markType } from "igniteui-angular-core"; /** * @hidden */ export class PercentagePriceOscillatorIndicator extends StrategyBasedIndicator { static { this.$t = markType(PercentagePriceOscillatorIndicator, 'PercentagePriceOscillatorIndicator', StrategyBasedIndicator.$, [IShortPeriodLongPeriod_$type]); } bk() { return new PercentagePriceOscillatorIndicator(); } get_aci() { return new PercentagePriceOscillatorIndicatorStrategy(); } get aci() { return this.get_aci(); } get_acv() { return PercentagePriceOscillatorIndicator.$; } get acv() { return this.get_acv(); } get shortPeriod() { return typeGetValue(this.c(PercentagePriceOscillatorIndicator.ac4)); } set shortPeriod(a) { this.h(PercentagePriceOscillatorIndicator.ac4, a); } static { this.ac4 = StrategyBasedIndicator.ac2(10, PercentagePriceOscillatorIndicator.$); } acq() { return this.shortPeriod; } get longPeriod() { return typeGetValue(this.c(PercentagePriceOscillatorIndicator.ac3)); } set longPeriod(a) { this.h(PercentagePriceOscillatorIndicator.ac3, a); } static { this.ac3 = StrategyBasedIndicator.acy(30, PercentagePriceOscillatorIndicator.$); } acn() { return this.longPeriod; } }