igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
52 lines (51 loc) • 1.99 kB
JavaScript
/*
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 { ChaikinOscillatorIndicatorStrategy } from "./ChaikinOscillatorIndicatorStrategy";
import { typeGetValue, markType } from "igniteui-angular-core";
/**
* @hidden
*/
export class ChaikinOscillatorIndicator extends StrategyBasedIndicator {
static { this.$t = markType(ChaikinOscillatorIndicator, 'ChaikinOscillatorIndicator', StrategyBasedIndicator.$, [IShortPeriodLongPeriod_$type]); }
bk() {
return new ChaikinOscillatorIndicator();
}
get_aci() {
return new ChaikinOscillatorIndicatorStrategy();
}
get aci() {
return this.get_aci();
}
get_acv() {
return ChaikinOscillatorIndicator.$;
}
get acv() {
return this.get_acv();
}
get shortPeriod() {
return typeGetValue(this.c(ChaikinOscillatorIndicator.ac4));
}
set shortPeriod(a) {
this.h(ChaikinOscillatorIndicator.ac4, a);
}
static { this.ac4 = StrategyBasedIndicator.ac2(3, ChaikinOscillatorIndicator.$); }
acq() {
return this.shortPeriod;
}
get longPeriod() {
return typeGetValue(this.c(ChaikinOscillatorIndicator.ac3));
}
set longPeriod(a) {
this.h(ChaikinOscillatorIndicator.ac3, a);
}
static { this.ac3 = StrategyBasedIndicator.acy(10, ChaikinOscillatorIndicator.$); }
acn() {
return this.longPeriod;
}
}