never mind, found the source of the problem
the problem was that i was, unintentionally, zeroing the signal period, causing the possibility of getting a divide by zero error in the indicator
another thing i`ve realized is that the changes where not necessary, works flawlessly without themYou 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
i`m having some trouble with a piece of code for an EA after changing the original code generated by MetaEditor
the tester kept giving error on the periods, so i changed the code to:
the validation part stop giving error, but the InitIndicators() part is giving error 5039 (ERR_TOO_MANY_PARAMETERS)
i`ve tried to understand which part is wrong, to no avail
can anyone help me with this?