Login Page - Create Account

Support Board


Date/Time: Sun, 11 May 2025 20:49:29 +0000



[Programming Help] - big probleme to write the increment number in the function formatstring, using FOR()

View Count: 758

[2016-05-09 17:44:16]
User210074 - Posts: 63
Hello,
I have a big probleme to implant in the formatString() the increment number of the function FOR



for (int TSIndex= 0; TSIndex < TimeSales.Size() ; ++TSIndex) {
if (TimeSales[TSIndex].Type == SC_TS_BID || TimeSales[TSIndex].Type == SC_TS_ASK ) {
int ValueFormat = sc.BaseGraphValueFormat;
SCString formatString = "[] -> %i";
}
}

I want to display this
[0] -> %i
[1] -> %i
[2] -> %i
[...] -> %i
Is this possible ?
If, yes,You can tell me how it's done please ?

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account