Login Page - Create Account

Support Board


Date/Time: Sat, 10 May 2025 17:57:30 +0000



Post From: Need help formatting sc.SetAlert() message output

[2016-08-16 04:10:32]
User147461 - Posts: 33
Trying to convert an alert message output from TS to SC

EasyLanguage code:
Alert("ABC Sell Signal for " + GetSymbolName + " at " + NumToStr(Close, 2));

TS alert message output example:
ABC Sell Signal for ESU16 at 2190.75

I didn't expect this code to compile but describes the output desired:
sc.SetAlert(sc.SelectedAlertSound, "ABC Sell Signal for ", sc.Symbol.GetChars(), " at ", sc.Close[sc.Index]);

Is this possible to convert to SC?

Thank you!