public static CDL2CROWS Series(DataBars ds, string name) { //Build description string description = "(" + name + ")"; //See if it exists in the cache object obj = ds.Cache.Find(description); if (obj != null) { return((CDL2CROWS)obj); } //Create Doji, cache it, return it CDL2CROWS indicator = new CDL2CROWS(ds, description); ds.Cache.Add(description, indicator); return(indicator); }
public static CDL2CROWS Series(DataBars ds, string name) { //Build description string description = "(" + name + ")"; //See if it exists in the cache object obj = ds.Cache.Find(description); if (obj != null) return (CDL2CROWS)obj; //Create Doji, cache it, return it CDL2CROWS indicator = new CDL2CROWS(ds, description); ds.Cache.Add(description, indicator); return indicator; }