/*
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.fo = 0;
        _this.fn = 0;
        _this.fp = 0;
        return _this;
    }
    MovingAverageConvergenceDivergenceIndicatorDescription.prototype.get_type = function () {
        return "MovingAverageConvergenceDivergenceIndicator";
    };
    Object.defineProperty(MovingAverageConvergenceDivergenceIndicatorDescription.prototype, "shortPeriod", {
        get: function () {
            return this.fo;
        },
        set: function (a) {
            this.fo = a;
            this.g("ShortPeriod");
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(MovingAverageConvergenceDivergenceIndicatorDescription.prototype, "longPeriod", {
        get: function () {
            return this.fn;
        },
        set: function (a) {
            this.fn = a;
            this.g("LongPeriod");
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(MovingAverageConvergenceDivergenceIndicatorDescription.prototype, "signalPeriod", {
        get: function () {
            return this.fp;
        },
        set: function (a) {
            this.fp = a;
            this.g("SignalPeriod");
        },
        enumerable: false,
        configurable: true
    });
    MovingAverageConvergenceDivergenceIndicatorDescription.$t = markType(MovingAverageConvergenceDivergenceIndicatorDescription, 'MovingAverageConvergenceDivergenceIndicatorDescription', StrategyBasedIndicatorDescription.$);
    return MovingAverageConvergenceDivergenceIndicatorDescription;
}(StrategyBasedIndicatorDescription));
export { MovingAverageConvergenceDivergenceIndicatorDescription };
