IEasyLanguagePrice* pELObj-> CloseMD[data1]; ERROR
Posted: Jan 23 2020
I have defined in C++ code.
IEasyLanguagePrice* pELCLOSE= pELObj-> CloseMD[data1];
double dPrc[5000], int ntotsamp;
ntotsamp=1000;
.................
Later in code
for (i=0; i<ntotsamp; i++) {
dPrc=pELCLOSE->CloseMD[data1]->AsDouble;
}
There are 2260 daily bars on the chart.
I am only able to get close prices from 0 to 6, and MC gives me an error.
MaxBarsBack is set at "Auto-Detect"
Why can't I get all ntotsamp prices?
IEasyLanguagePrice* pELCLOSE= pELObj-> CloseMD[data1];
double dPrc[5000], int ntotsamp;
ntotsamp=1000;
.................
Later in code
for (i=0; i<ntotsamp; i++) {
dPrc=pELCLOSE->CloseMD[data1]->AsDouble;
}
There are 2260 daily bars on the chart.
I am only able to get close prices from 0 to 6, and MC gives me an error.
MaxBarsBack is set at "Auto-Detect"
Why can't I get all ntotsamp prices?