예제 #1
0
 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;
 }
예제 #2
0
 public Color getColor(ForexAction fa)
 {
     return(fa == ForexAction.Sell ? Color.LightSalmon : Color.LightGreen);
 }