public PossibleSignal(TimeFrame tf, string pPair, ChartPattern cp, ForexAction fp, string cd, string ia, string cb) { TimeFrame = tf; Pair = pPair; Pattern = cp; Action = fp; cDate = cd; IsActive = ia; CreatedBy = cb; }
public Color getColor(ForexAction fa) { return(fa == ForexAction.Sell ? Color.LightSalmon : Color.LightGreen); }