/*
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 RateOfChangeAndMomentumIndicatorDescription = /** @class */ (function (_super) {
    __extends(RateOfChangeAndMomentumIndicatorDescription, _super);
    function RateOfChangeAndMomentumIndicatorDescription() {
        var _this = _super.call(this) || this;
        _this.cy = 0;
        return _this;
    }
    RateOfChangeAndMomentumIndicatorDescription.prototype.get_type = function () {
        return "RateOfChangeAndMomentumIndicator";
    };
    Object.defineProperty(RateOfChangeAndMomentumIndicatorDescription.prototype, "period", {
        get: function () {
            return this.cy;
        },
        set: function (a) {
            this.cy = a;
            this.e("Period");
        },
        enumerable: true,
        configurable: true
    });
    RateOfChangeAndMomentumIndicatorDescription.$t = markType(RateOfChangeAndMomentumIndicatorDescription, 'RateOfChangeAndMomentumIndicatorDescription', StrategyBasedIndicatorDescription.$);
    return RateOfChangeAndMomentumIndicatorDescription;
}(StrategyBasedIndicatorDescription));
export { RateOfChangeAndMomentumIndicatorDescription };
