public bool downloadPLUS_DI(string folderPath, string scriptName, bool bIsTestOn, bool bSaveData) { string interval = ddlPlusDI_Interval.SelectedValue; string period = textboxPlusDI_Period.Text; if (StockApi.getADXAlternate(folderPath, scriptName, day_interval: interval, period: period, bIsTestModeOn: bIsTestOn, bSaveData: bSaveData, apiKey: Session["ApiKey"].ToString(), returnType: "PLUS_DI") == null) { textboxMessage.Text = Environment.NewLine + "PLUS_DI data not available for selected script."; return(false); } //if (StockApi.getPlusDI(folderPath, scriptName, day_interval: interval, period: period, // bIsTestModeOn: bIsTestOn, bSaveData: bSaveData, apiKey: Session["ApiKey"].ToString()) == null) //{ // textboxMessage.Text = Environment.NewLine + "PLUS_DI data not available for selected script."; // return false; //} return(true); }