/*
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 * as tslib_1 from "tslib";
import { StrategyBasedIndicatorDescription } from "./StrategyBasedIndicatorDescription";
import { markType } from "./type";
/**
 * @hidden
 */
var MovingAverageConvergenceDivergenceIndicatorDescription = /** @class */ /*@__PURE__*/ (function (_super) {
    tslib_1.__extends(MovingAverageConvergenceDivergenceIndicatorDescription, _super);
    function MovingAverageConvergenceDivergenceIndicatorDescription() {
        var _this = _super.call(this) || this;
        _this.d6 = 0;
        _this.d5 = 0;
        _this.d7 = 0;
        return _this;
    }
    MovingAverageConvergenceDivergenceIndicatorDescription.prototype.get_type = function () {
        return "MovingAverageConvergenceDivergenceIndicator";
    };
    Object.defineProperty(MovingAverageConvergenceDivergenceIndicatorDescription.prototype, "shortPeriod", {
        get: function () {
            return this.d6;
        },
        set: function (a) {
            this.d6 = a;
            this.e("ShortPeriod");
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MovingAverageConvergenceDivergenceIndicatorDescription.prototype, "longPeriod", {
        get: function () {
            return this.d5;
        },
        set: function (a) {
            this.d5 = a;
            this.e("LongPeriod");
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MovingAverageConvergenceDivergenceIndicatorDescription.prototype, "signalPeriod", {
        get: function () {
            return this.d7;
        },
        set: function (a) {
            this.d7 = a;
            this.e("SignalPeriod");
        },
        enumerable: true,
        configurable: true
    });
    MovingAverageConvergenceDivergenceIndicatorDescription.$t = markType(MovingAverageConvergenceDivergenceIndicatorDescription, 'MovingAverageConvergenceDivergenceIndicatorDescription', StrategyBasedIndicatorDescription.$);
    return MovingAverageConvergenceDivergenceIndicatorDescription;
}(StrategyBasedIndicatorDescription));
export { MovingAverageConvergenceDivergenceIndicatorDescription };
//# sourceMappingURL=MovingAverageConvergenceDivergenceIndicatorDescription.js.map
