import * as tslib_1 from "tslib";
import { IgrStrategyBasedIndicator } from "./igr-strategy-based-indicator";
import { RateOfChangeAndMomentumIndicator } from "./RateOfChangeAndMomentumIndicator";
/**
 * Represents a IgxDataChartComponent Rate of Change and Momentum indicator series.
 * Default required members: Close
*/
var IgrRateOfChangeAndMomentumIndicator = /** @class */ (function (_super) {
    tslib_1.__extends(IgrRateOfChangeAndMomentumIndicator, _super);
    function IgrRateOfChangeAndMomentumIndicator(props) {
        return _super.call(this, props) || this;
    }
    IgrRateOfChangeAndMomentumIndicator.prototype.createImplementation = function () {
        return new RateOfChangeAndMomentumIndicator();
    };
    Object.defineProperty(IgrRateOfChangeAndMomentumIndicator.prototype, "i", {
        get: function () {
            return this._implementation;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(IgrRateOfChangeAndMomentumIndicator.prototype, "period", {
        /**
         * Gets or sets the moving average period for the current AverageTrueRangeSeries object.
         * The typical, and initial, value for AverageTrueRange periods is 14.
        */
        get: function () {
            return this.i.ql;
        },
        set: function (v) {
            this.i.ql = +v;
        },
        enumerable: true,
        configurable: true
    });
    return IgrRateOfChangeAndMomentumIndicator;
}(IgrStrategyBasedIndicator));
export { IgrRateOfChangeAndMomentumIndicator };
