Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 383
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
If you observe the parabolic point on the zero candle, it is not static after all - it changes its position, and not only when you change position up and down, but in general - sometimes it shifts slightly at one position (without going up and down)
Hello, could you tell me why the horizontal lines are not being deleted?
This is part of the whole code. I'll post the whole code if necessary
Thank you
- I want to learn how to write an EA in MT4 or MT5, I need an experienced EA writer who can explain all the nuances of the code in practice and help me write code. I do not need help in writing a ready-made EA, I have some experience of trading and ideas to check everything in the test and understand how to use in conditions, I need to learn how to write different conditions.
If you observe the point of the parabolic on the zero candle, it is not static after all - it changes its position, and not only when you change position up and down, but in general - sometimes it shifts a little at one position (without up/down transition)
Nevertheless, the history is a complete match, except for the "transition" moments. I'm even happy with a 1-2 point error. At the "transition" it could be 20 pips or more.
The question is the same, how to avoid it. Thanks
Nevertheless, the history is a complete match, except for the "transition" moments. I'm even happy with a 1-2 point error. At the "transition" it could be 20 pips or more.
The question is the same, how to avoid it. Thank you
What is this construction anyway?
What does it give?
Why do you print the time in such a way?
And why do you print the value of the parabolic in this way?
What kind of design is this, anyway?
What is the benefit of such a design?
Why do you print the time in this way?
Why do you print the value of the parabolic in this way?
-This construction gives the fulfillment of the condition when a new hour candle appears: If the time of the hour candle does not match the value in the variable newbarall, then we write a new time to the variable and fulfill the condition.
Time of opening of one-hour candle is printed
- The value of the parabolic is rounded to 4 decimal places to be identical to what is shown on the chart.
-This design gives a condition when a new one-hour candle occurs: If the time of the one-hour candle does not match the value in the newbarall variable, then write a new time to the variable and fill in the condition.
Time of opening of one-hour candle is printed
- The parabolic value is rounded to 4 decimal places to be identical to what is shown on the chart
1. No, it does not
2. Let it be like this
3. Are you sure you are printing a real number with that function?
4. Why do you need ; after the closing parenthesis?
1. No, it does not
2. Let it be this way
3. Are you sure you are printing a real number with that function?
4. Why do you need ; after the closing parenthesis?
1. Nevertheless, the algorithm works only on the opening of a candle, what is the error in such a construction?
3. The numbers printed are 1.1820, for instance, so I am sure.
4. A part of the code is given.
1. nevertheless, the algorithm only works on the opening of a candle, what is the error in such a design?
3. numbers 1.1820 are printed for example, so sure.
4. a part of the code is given.
1. Well, maybe I missed it - it's half past five in the morning...
3. DoubleToString()
4. But you have a condition and a compound operator:
I don't see any other way of interpreting it. Why do you need ";" after the operator?
The statement "the point appears and is static without recalculation during the formation of a candle" is not correct, if the price breaks the parabolic, the point is redrawn.
You need to recalculate the parabolic every tick, because the breakout can happen at any time, not only at bar opening.