Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1161
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
Hello! How do I change the font size in the terminal? Can someone give me a hint?
It may help to change the zoom in the OS display settings if you have such a need.
Is there any way to determine from the OnChartEvent whether a button was pressed on the keyboard when the mouse clicked on the graphic?
Please help me to understand the indicators.
Here, at the opening of each new bar there should be a recalculation.
Logic - ZigZag should connect bottoms (low of last 3 bars below two adjacent ones) and tops (high of last 3 bars above two adjacent ones).
If a peak is followed by a new one, the indicator is redrawn on the new one, the old one is deleted, I think it's clear.
In fact, the indicator connects all highs and lows sequentially, what is the problem?
Please help me to understand the indicators.
Here, at the opening of each new bar there should be a recalculation.
Logic - ZigZag should connect bottoms (low of last 3 bars below two adjacent ones) and tops (high of last 3 bars above two adjacent ones).
If a peak is followed by a new one, the indicator is redrawn on the new one, the old one is deleted, I think it's clear.
In fact, the indicator connects all HI and LH in series, what is the problem?
As far as I understand you have 2 drawing buffers. Both of them are drawn. Each buffer has its own line, you get one extremum. There are 3 buffers in the zigzag. Two calculated ones for maxima and minima separately, and one for drawing according to the sign that after the maxima have been written into the buffer, we are looking for the minimum and vice versa.
I understand you have two drawing buffers. Both are drawn. Each buffer has its own line, you get one extreme. There are 3 buffers in the zigzag. Two calculation buffers are separate for maxima and minima, and one buffer is used for drawing following the last maximum written into the maxima buffer, and vice versa.
Help - zigzag is built using 2 buffers, example with 2 buffers too
Question, is there a description of the standard libraries for MT4 or not?
MT4.
Kudos for the articles. Great work.
Help - zigzag is built over 2 buffers, example with 2 buffers too
Start of ZZ code.
One drawing buffer. Three arrays.
Look at the code. The logic is complex. It's usually hard to do on the fly.
ZigZag code with translated comments into RussianMT4.
Kudos for the articles. Great work.
Doesn't matter - almost everything fits.
Thank you.