private void PublishSellEvent() { if (OnSellPublish != null) { NotificationEvent notificationObj = new NotificationEvent(DateTime.Now, ThresholdABSValue, "New Sell Trigger from"); OnSellPublish(this, notificationObj); } }