Hi, I'm getting Error 4073
2022.01.04 16:41:38.214 pivotHTML GOLD,Weekly: Symbol data copy error NQC20. Error #4073
I'm applying on MT4
how to fix it?
int symTotal = SymbolsTotal(true); CSymPivot symPivot[]; ArrayResize(symPivot, symTotal); for ( int i = symTotal - 1; i >= 0; i-- ) { string sym = SymbolName(i, true); int digits = (int)SymbolInfoInteger(sym, SYMBOL_DIGITS); MqlRates rates[2]; //--- if ( CopyRates(sym, InpTimeFrame, 0, 2, rates) != 2 ) { Print("Symbol data copy error ", sym, ". Error #", GetLastError()); return; } //--- symPivot[i].setData(sym, rates[0].close, rates[0].high, rates[0].low, digits); symPivot[i].calculatePivot(); }
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Pivot Points to Html:
The script calculates Pivot Point on all the symbols from the market watch and displays the results in html-file.
Author: Serhii Ivanenko