Break long code lines

Created at 28 Feb 2018, 05:01
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!
NG

nguyenbaocuong

Joined 16.09.2017

Break long code lines
28 Feb 2018, 05:01


Dear cTrader,

I have some long code lines and want to break to multi lines for easier reading. For example:

ChartObjects.DrawText("orderslots", "\n\n\nQuantity per Order: " + String.Format("{0:0.00}", Symbol.VolumeToQuantity(tradeVolume)) + " lots", StaticPosition.TopLeft);

or

PlaceStopOrderAsync(TradeType.Sell, Symbol, tradeVolume, firstSellPrice - iStepPips * Symbol.PipSize, newsLabel, StopLoss, TakeProfit, expirationTime);

How can I do?


@nguyenbaocuong