igniteui-react-core
Version:
Ignite UI React Core.
62 lines (61 loc) • 2.64 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 { __extends } from "tslib";
import { StrategyBasedIndicatorDescription } from "./StrategyBasedIndicatorDescription";
import { markType } from "./type";
/**
* @hidden
*/
var MovingAverageConvergenceDivergenceIndicatorDescription = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(MovingAverageConvergenceDivergenceIndicatorDescription, _super);
function MovingAverageConvergenceDivergenceIndicatorDescription() {
var _this = _super.call(this) || this;
_this.go = 0;
_this.gn = 0;
_this.gp = 0;
return _this;
}
MovingAverageConvergenceDivergenceIndicatorDescription.prototype.get_type = function () {
return "MovingAverageConvergenceDivergenceIndicator";
};
Object.defineProperty(MovingAverageConvergenceDivergenceIndicatorDescription.prototype, "shortPeriod", {
get: function () {
return this.go;
},
set: function (a) {
this.go = a;
this.g("ShortPeriod");
},
enumerable: false,
configurable: true
});
Object.defineProperty(MovingAverageConvergenceDivergenceIndicatorDescription.prototype, "longPeriod", {
get: function () {
return this.gn;
},
set: function (a) {
this.gn = a;
this.g("LongPeriod");
},
enumerable: false,
configurable: true
});
Object.defineProperty(MovingAverageConvergenceDivergenceIndicatorDescription.prototype, "signalPeriod", {
get: function () {
return this.gp;
},
set: function (a) {
this.gp = a;
this.g("SignalPeriod");
},
enumerable: false,
configurable: true
});
MovingAverageConvergenceDivergenceIndicatorDescription.$t = markType(MovingAverageConvergenceDivergenceIndicatorDescription, 'MovingAverageConvergenceDivergenceIndicatorDescription', StrategyBasedIndicatorDescription.$);
return MovingAverageConvergenceDivergenceIndicatorDescription;
}(StrategyBasedIndicatorDescription));
export { MovingAverageConvergenceDivergenceIndicatorDescription };