public ActionResult AddIndicator(AddIndicatorModel indicator)
 {
     if (System.Web.HttpContext.Current.User.Identity.Name == indicator.username)
     {
         string action_validation = ValidationService.ValidateUserIndicatorCount(indicator.username, indicator.id_portfolio, indicator.id_symbol);
         if (String.IsNullOrEmpty(action_validation))
         {
             DashboardService.AddIndicator(indicator.id_portfolio, indicator.id_symbol, indicator.id_indicator, indicator.param1, indicator.color1, indicator.param2, indicator.color2, indicator.param3, indicator.color3);
         }
         else
         {
             ViewBag.ActionValidationError = action_validation;
         }
     }
     return(PartialView("~/Views/Dashboard/Partial/SymbolDashboardContent.cshtml", new SymbolDashboardModel(indicator.id_portfolio, indicator.id_symbol, indicator.username, ChartRange.ThreeMonths, CandelRange.Daily, true)));
 }