Support Board
Date/Time: Sun, 24 Nov 2024 20:46:18 +0000
ACSIL Message String Help
View Count: 283
[2024-04-25 11:19:56] |
User92573 - Posts: 530 |
Hi Support Board, Any chance of some help with the following? const char* TEMP = sc.Symbol.GetChars();
SCString SYM_CONVERT; if(TEMP == "F.US.ENQM24") { SYM_CONVERT = "NQ"; } else if(TEMP == "F.US.MNQM24") { SYM_CONVERT = "MNQ"; } else { SYM_CONVERT = ""; } SCString msg; // Full and TEMP display the Symbol as expected but Short does not? msg.Format("Full Symbol = %s, Short = %s, TEMP = %s",sc.Symbol.GetChars(),SYM_CONVERT,TEMP); sc.AddMessageToLog(msg,1); Any help appreciated. Many thanks. Date Time Of Last Edit: 2024-04-25 11:53:34
|
[2024-04-25 12:25:29] |
emmanuel - Posts: 57 |
msg.Format("Full Symbol = %s, Short = %s, TEMP = %s",sc.Symbol.GetChars(),SYM_CONVERT.GetChars(),TEMP);
|
[2024-04-25 13:00:16] |
User92573 - Posts: 530 |
emmanuel, thank you. I had just noticed my error about 15 minutes ago. What a silly error but thank you again for replying. |
To post a message in this thread, you need to log in with your Sierra Chart account: