How coding array as variable in iclose() function??

Play videoPlease edit your post.
For large amounts of code, attach it.
string pair[] = {"EURUSD", "EURJPY", ... "USDGBP" };
![]() Play video | Please edit your post. For large amounts of code, attach it. |
string pair[] = {"EURUSD", "EURJPY", ... "USDGBP" };
You agree to website policy and terms of use
i have one simple question. if i explain well it would be double ok. Que. is; i have string array as pairs[28] . This array consist of 28 pairs. For example i want to put this array as variable into the iclose() function. Such as;
for(int i=0;i<500;i++)
{
For(int k=0;k <28;k++)
{
iclose( pair[k], 0 , i )
}
}
how i code this string variable? With q. marks or using + ? i want to code symbol as variable that comes from array pair[] and how ?
Thanks