I want to convert the array that is contained in the IEasylanguage property Close MD to a vector containing the last 50 values.
Right now I use this;
Code: Select all
for (int i = 0; i < 50; i++)
sig.push_back(pELObj->CloseMD[data1]->AsDouble[ i ]);
Is there a better way of doing this without iterating through the data and copying it on every bar?