void main_onStartupLoad(object sender, MainForm.LoadingStartupEvent e)
        {

            progressBar1.Value = e.Progress;
            progressBar1.Refresh();

        }
 void _mf_OnGeneticNotified(object sender, MainForm.NotifyOnPriceSynch e)
 {
     Debug.WriteLine("Starting Algo Claculations");
     SetGenes();
     ConvertData();
     RunAlgo();
     GetLastEvent();
 }