[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 608
![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
Hi all. Can you tell me what's wrong with Error 1? Thank you!
is this spam? You have already asked this question and it has been answered (page 602).
cp don't pay attention :) I'll have a look if there are any questions I'll knock on the door!!!!
Do not work on the zero bar, there is no other way.
P.S. In general, this is the main problem with all indicator strategies. Every indicator lags. Some are more sensitive and some are less sensitive. The more sensitive the indicator __ the more false positives it has. If the sensitivity is low, it misses most of the movement, and as a result the profit is decreasing, if it is high, the losses will increase due to false operations. In order to find the "golden mean" the optimization of parameters is performed. Operation on the zero bar increases the sensitivity of the indicator not gradually, but sharply, with all that implies.
Thanks again! I will think and try...
Please advise how to make an entry to the file.
While the EA is running, it calculates the value of 4 variables whose values are stored in memory, and if the terminal is not overloaded, everything is fine. However, after restarting the terminal, it loses these values and on the first start they all ==0 again.
What I need to do is to make it so that on the first startup it reads values from the file and then, if they change during the operation, it saves the new values back to the file. And it should create a file with a unique name, maybe derived from a currency pair, because there are a few Expert Advisors in the client terminal and the new values should not interfere with each other.
The Expert Advisor was made by a person who is currently unavailable to me, and the issue is important because real money may be lost. I can give you a piece of code where these variables are calculated, if someone will write me immediately how to write them into a file.
Next top fractal.
Thanks for the reply, but I meant how do I know if the current fractal has been broken or not before the next fractal appears
Please advise how to make an entry to the file.
While the EA is running, it calculates the value of 4 variables whose values are stored in memory, and if the terminal is not overloaded, everything is fine. However, after restarting the terminal, it loses these values and on the first start they all ==0 again.
What I need to do is to make it so that on the first startup it reads values from the file and then, if they change during the operation, it saves the new values back to the file. And it should create a file with a unique name, maybe derived from a currency pair, because there are a few Expert Advisors in the client terminal and the new values should not interfere with each other.
The Expert Advisor was made by a person who is currently unavailable to me, and the issue is important because real money may be lost. I can give you a piece of code, where these variables are calculated, if someone will write me immediately how to write them into a file.
Write more details how to use them?Use GlobalVariable terminal variablesThey save the values when the terminal is reloaded .
Thanks for the reply, but what I meant was how to know if the current fractal has been broken or not before the next fractal appears
The previous fractal may not be broken through before the next one appears in the same direction. Please read Williams again. He details different ways to work with fractals.
The previous fractal may not be broken when the next one appears in the same direction. Read Williams again. He describes in detail the different ways of working with fractals.
I would still like to know how to determine whether the price was above the value of a fractal from the moment of its occurrence to the current time
I would still like to know how to determine if the price was above the value of a fractal from the moment of its appearance until the current time