Forum

Single array calculation during optimisation

There is an array that does not change during the whole optimisation. Is it possible to calculate it once and only refer to it on each pass during the whole optimization without calculating it again

How do I learn to create graphical objects? MQL4.

I've wanted to learn how to create graphical objects for a long time, but many lines of code are confusing. If everything is clear with calling the indicator in the Expert Advisor: calling the handle, copying values into the buffer, then what is the algorithm for constructing objects in brief? I