SK
Topics
16 Jun 2019, 11:59
948
2
07 Jul 2018, 12:12
2391
5
Replies
skalkas
09 Jul 2018, 15:44
Hello Andrey,
thank you...this one works as a pront log, but what Iam trying is to fill with those two values some variables....something like this, but it creates an error...and I dont now whats wrong:
var lastTrade = History.LastOrDefault(); if (lastTrade != null) { Print("Last trade {0} {1}, profit: {2}", lastTrade.TradeType, lastTrade.SymbolCode, lastTrade.NetProfit); } var netpprofit = lastTrade.NetProfit; var tradetype = lastTrade.TradeType;
@skalkas
skalkas
09 Jul 2018, 16:30
I see, that was the problem. Thank you very much.
@skalkas