[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 88
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Does it need to be loaded every time (from one optimization to another), or can it be stored in memory and not access the file?
(referring to the file takes a relatively long time)
Thank you!
Folks, can you tell me how to move the moving average backwards by 5 candles? This way my trades don't open...(...
- to the +, change it to the +.
Yes, but that's how it shifts forward, and I need it to shift backwards by 5 candles.
in the EA you can do this as well
i.e. are the two forms of recording identical for the EA? then how do you make an entry on their intersection? this is what the moving average parameters look like
or identical
If so,
it will always be EMPTY_VALUE, because there is no moving average on these bars
I have an array which is stored in a text file whose data is used in Optimisations.
Does it need to be loaded every time (from one optimization to another), or can it be stored in memory and not access the file?
(Referring to the file takes a relatively long time)
Thank you!
Decide what you want the output to be. If the value of the machine is 5 bars backwards, then
or identical
If so,
it will always be EMPTY_VALUE, as there is no shifted wrist on these bars