Support Board
Date/Time: Mon, 25 Nov 2024 20:28:21 +0000
[Programming Help] - How to display array in message log in ACSIL?
View Count: 293
[2024-02-12 18:09:40] |
User285179 - Posts: 14 |
How to display array in message log in ACSIL? Any ways?
|
[2024-02-12 18:14:58] |
User285179 - Posts: 14 |
SCString msg; SCFloatArray Volume; const s_VolumeAtPriceV2 *VAP=NULL; int Volume_Levels = sc.VolumeAtPriceForBars->GetSizeAtBarIndex(sc.Index-1); // Do data processing for (int VAPIndex = 0; VAPIndex < Volume_Levels; VAPIndex++) { if (!sc.VolumeAtPriceForBars->GetVAPElementAtIndex(sc.Index-1, VAPIndex, &VAP)) break; Volume[VAPIndex] = VAP->Volume; } msg.Format("Volume = %f", Volume[0]); sc.AddMessageToLog(msg,1); I want to get Volume At Price array of 2nd bar so I wrote (sc.Index-1) and I want to access that Array elements. |
To post a message in this thread, you need to log in with your Sierra Chart account: