netprofit
Created at 19 Oct 2014, 23:52
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