netprofit

Created at 19 Oct 2014, 23:52
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
RA

rawand123

Joined 07.10.2014

netprofit
19 Oct 2014, 23:52


i think there is a problem with LASTTRADE(NetProfit)
it always prints 0
tell me if i am wrong
hope you can fix it as soon as possible

protected override void OnStart()
{
ExecuteMarketOrder(TradeType.Buy, Symbol, 1000, "aa", 10, 10);
Print(LastResult.Position.NetProfit);
}

you can copy this code and try it


cTrader Automate
@rawand123