- No parameters are the same as just the default ones — no difference.
You should encapsulate your iCustom calls to make your code self-documenting.
Detailed explanation of iCustom - MQL4 programming forum -
iCustom(Symbol(),PERIOD_H4,"D",1,0)
On MT4: Unless the current chart is that specific pair/ TF referenced, you must handle 4066/4073 errors before accessing candle/indicator values.
Download history in MQL4 EA - Forex Calendar - MQL4 programming forum - Page 3 #26 № 4

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
Hi all, I'm using the attached indicator in this way
The values I obtain are correct (with default parameters value), but I'm not sure this is the right way to proceed.
Is it better to write all the parameters in the iCustom function?
Thank you
<ex4 file deleted>