Beispiel #1
0
 public string ToString(OrderAction orderAction)
 {
     if (orderAction == OrderAction.SELL)
     {
         return(SellZigZagDiapasone.ToString());
     }
     else
     {
         return(BuyZigZagDiapasone.ToString());
     }
 }
Beispiel #2
0
 public override string ToString()
 {
     return(string.Format("Уровни -> {0} <---> {1} | Вершина зигзага: {2}, Низина зигзага: {3}", SellZigZagDiapasone.ToString(), BuyZigZagDiapasone.ToString(), HighApexPrice, LowApexPrice));
 }