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