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;
}