Forum

DDE MT4 Excel calculation issue - value error

Hello everyone I have some issue with DDE excel spreadsheet . I can't to use the data from table to any calculation. For example, I would like to calculate pip value for USDCHF. So, I use this formula: 10/value of USDCHF. But the result is #VALUE. Is there any solution? Thank you

CopyRates doesn’t work properly

Hi guys, I have indicator with CopyRates function in OnInit. Something like that: int OnInit() { MqlRates pairs[]; int count = 0; ArraySetAsSeries(pairs, true); if (CopyRates(symbol, 0, 0, Bars, pairs) == -1 || ArraySize(pairs) < Bars) { Print ("Error: ", GetLastError(), " pairs