Roman Kryzhanivskyy #: Поправьте пожалуйста индикатор не компилируется
//+------------------------------------------------------------------+//| Filling indicator buffers from the MA indicator |//+------------------------------------------------------------------+bool FillArrayFromBuffer(int indicatorHandle, // handle of the instantiated Indicatorint indicatorInternalBuffer, // internal buffer # of the Indicator (iMAs == 0, just one!)int itemsQty, // number of values to copy to bufferdouble&bufferToCopyInto[],// buffer to hold a copy of indicator's data
)
{
ResetLastError(); // reset last error code// fill a part of the requested buffer array with values from the indicator buffer that has a 0 indexif(CopyBuffer(indicatorHandle, indicatorInternalBuffer, 0, itemsQty, bufferToCopyInto) < 0) // if the copying fails, tell the error code
{
Print("Failed to copy data from the Indicator. Error Code:", GetLastError());
return(false); // quit with zero result - it means that the indicator is considered as not calculated
}
return(true); // everything is fine
}
Запитую уберите помечена красным и компилируйте
double &bufferToCopyInto[],// buffer to hold a copy of indicator's data
Как вы конвертируете его в МТ4?
Я олдтаймер и использую МТ4 только с другими индикаторами, было бы интересно настроить его на МТ4 !!! ЕСЛИ ВЫ МОЖЕТЕ РЕШИТЬ ЭТУ ПРОБЛЕМУ, СПАСИБО!!!
Поправьте пожалуйста индикатор не компилируется
Запитую уберите помечена красным и компилируйте