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
Good night, I was wondering if in this code
after checking B>spred, which is "FALSE", the rest of the values are checked
It increases the test running time, so I have to modify the code in the following way
And the most time consuming in terms of calculations ( proverka() - copying of buffer values of an indicator)
I put it last but it does not check the last one. I wonder.
Why?
Or it does not check the last one:
Try it this way
Try this
Now I'm wondering why in the EA, the indicator is eating up all the RAM and more,
and separately working from the Expert Advisor, it does not.
it may be that the indicator is not deleted or something else but it is called on every new bar,
and we get less and less RAM with every bar (
). Why? Yes good night !
Please give me the code.
Now I'm wondering why in the EA, the indicator is eating up all the RAM and more,
and separately working from the Expert Advisor, it does not.
it may be that the indicator is not deleted or something else but it is called on every new bar,
and less and less RAM with every bar (
). Why? Yes goodnight !
The example in the studio please (at least as a sketch of an idea), or to developers but all in one piece. By the way, what does it mean "is called on every tick"?
The idea is that it must be called once, at the initialization block. In case of an attempt to bypass an initialisation error, you can still call it in a timer or on a new tick(but only if the handle is disabled).
In all other places it is only reasonable to get a certain portion of data (while controlling the handicap of course).
Renat if the question is for me, I just created a blank EA and ran it. probably this is related to UAC as I have all files stored here C:\Users\user\AppData\Roaming\MetaQuotes\Terminal\88B20A762CA848D878978288235C7B072A6 and the renderer tries to pull data from the direct directory.
So let's exclude UAC from the vazooms with portability... :)
Studio example please (at least as an idea outline), or to the developers, but the whole thing. By the way, what does "called on every tick" mean?
The idea is that it must be called once, at the initialization block. In case of an attempt to bypass an initialization error, it can still be in a timer or on a new tick(but only if the handle is disabled).
In all other places it is reasonable only to get a certain portion of data (with handicap control of course).
This is used to check if the buffers were copied (successfully or not)
with this one we call the indicator on a new bar
And without it, we only get zero values !!!And the memory gets smaller and smaller with every bar...
Why?
If I start the terminal now with this key, will it run with it all the time, or should I start the terminal from the command line every time?
If you create a batch file and or correct the corresponding shortcut, then all the time. If I just run it from the command line, it's a one-time thing.
In my opinion, it is easier to create a copy of the shortcut with the appropriate name and command line.
If you create a batch file and or correct the corresponding shortcut, it's all the time. If also just run from the command line, then one time.
In my opinion, it is easier to create a copy of the shortcut with the appropriate name and command line.