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