[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 21

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
I usually do this with a non-buffered one.
how the indicator in the cycle defines the start of a new day, I have it like this:
does anyone have a better design than this?Hello! My goal is to transfer the indicator by creating a function into the EA.
The first step, which is the creation of the function, is done. But the next one - testing - does not work.
The indicator draws channels. It has 4 buffers and a lot of variables. I have placed it all in the function.
But when creating a test Expert Advisor to make sure that it works exactly by comparing the indicator and my function, I cannot achieve compilation.
Constant errors of external variables, which were not there when I created the function, have popped up in the EA.
Please give me some advice or a link to an example. I have used GODZILLA's articles, but his examples are different from mine.