How to Add Symbol name on Label /String Operation need/

Created at 26 Jul 2022, 12:12
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!
MongolTrader's avatar

MongolTrader

Joined 12.02.2015

How to Add Symbol name on Label /String Operation need/
26 Jul 2022, 12:12


Hi i need add symbol name for identify position label and other labels. 

 For Example: 

 Previous Label:      "Buy"

Necessary Label:   "BuyEURUSD"

How do i add any label plus symbol name using SymbolName. 

 

   


@MongolTrader
Replies

PanagiotisCharalampous
26 Jul 2022, 12:20

Hi MongolTrader,

Try this

ExecuteMarketOrder(TradeType.Buy, SymbolName, 1000,TradeType.Buy+SymbolName);

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous