Some support please :)
Created at 08 Oct 2012, 00:36
Some support please :)
08 Oct 2012, 00:36
Cant figure out whats wrong i get Invalid Expression term else
protected override void OnPositionClosed(Position closedPosition) { if (closedPosition.GrossProfit > 0) { ExecuteOrder(InitialVolume, closedPosition.TradeType); } if (closedPosition.GrossProfit < 0 && closedPosition.TradeType == TradeType.Sell); { ExecuteOrder((int) position.Volume * 2, TradeType.Buy); } else if (closedPosition.GrossProfit < 0 && closedPosition.TradeType == TradeType.Buy); { ExecuteOrder((int) position.Volume * 2, TradeType.Sell); } }
b0risl33t
08 Oct 2012, 01:05
solved
solved
@b0risl33t