AgenaTrader.UserCode.Elder_Ray_Bull_and_Bear_Power_Condition.OnInit C# (CSharp) Метод

OnInit() защищенный Метод

protected OnInit ( ) : void
Результат void
        protected override void OnInit()
		{
			IsEntry = true;
			IsStop = false;
			IsTarget = false;
            Add(new OutputDescriptor(new Pen(this.Plot0Color, this.Plot0Width), OutputSerieDrawStyle.Line, "Occurred"));
            Add(new OutputDescriptor(new Pen(this.Plot0Color, this.Plot1Width), OutputSerieDrawStyle.Line, "Entry"));

            ds_bull_power = new DoubleSeries(this);
            ds_bear_power = new DoubleSeries(this);

            IsOverlay = false;
			CalculateOnClosedBar = true;

            this.RequiredBarsCount = 20;
        }
Elder_Ray_Bull_and_Bear_Power_Condition