string NameTypeTradeOperation(int f_typeOperation) // typ operacji handlowej { switch(f_typeOperation) { case OP_BUY: return "Buy"; case OP_SELL: return "Sell"; case OP_BUYLIMIT: return "Buy limit"; case OP_SELLLIMIT: return "Sell limit"; case OP_BUYSTOP: return "Buy stop"; case OP_SELLSTOP: return "Sell stop"; default: return "Unknown type of trade operation"; } }