I've been working on it mostly on a separate computer, and after copying the .cs file to the right directory on my main computer, I can't get the strategy to show up on the strategy list for a chart unless I comment out the lines that are commented out in these functions:
protected override void OnBarUpdate()
{
if( !_init )
{
//ChartControl.ChartPanel.KeyDown += new KeyEventHandler( myKeyDown );
//ChartControl.ChartPanel.MouseUp += new MouseEventHandler( myMouseUp );
//ChartControl.ChartPanel.MouseMove += new MouseEventHandler( myMouseMove );
_init = true;
}
}
public override void Dispose()
{
//ChartControl.ChartPanel.KeyDown -= myKeyDown;
//ChartControl.ChartPanel.MouseUp -= myMouseUp;
//ChartControl.ChartPanel.MouseMove -= myMouseMove;
base.Dispose();
}

Comment