Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1928

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
most likely - ex4 was built with an old compiler. The terminal has been updated, but the EA is ancient orphan. We need to contact the author
The second option - the signatures do not match (or have not verified for technical reasons). You just need to wait until DNS updates and the connection will be set up.
Hypothetical option - the author is permanently banned. Look at his profile
To sum it up: first you have to ask the author questions.
Thank you
Difficult, I'd like to turn in something suitable already. He's fine with just visualising levels and moving stops to past levels, that's enough of that. Didn't expect such a catch. If he hadn't been gone for a long time, I would have, but not now. I don't want arbitrage, I already have it.
Oninit calculates levels and draws. For a different task, but close by. Your part is for Absolute levels.
Zy, I don't have much wrong with it of course. I need to understand how orders, positions and trawl are tracked, it's easy to draw, but when you reach a level, you either have to change the colour of the level, or remove the horizontal line.OnInit calculates levels and draws. For a different task, but side by side. Your part is for Absolute levels.
Zy, I certainly don't have much wrong with it. I need to understand how orders, positions and trawl are tracked, it's easy to draw then. but when you reach a level you either have to change the colour of the level, or remove the horizontal line.What could)))) need to add trigger flags to crossfunction. don't have time.
What I could))) need to add trigger flags to the crossfunction. don't have time.
It's a bit off the mark.
I have an EA written a long time ago, but it is an EA showing where the positions will be opened
Now I need to make an addition in the trawl code to draw such lines where the trawl will be triggered.
The task is complicated by the fact that the trawl EA is set on one chart and lines should be drawn on all charts where there are open positions.
That's a little bit off the mark.
I have a long written one like this, but it is an EA with a display of where the positions will be opened
Now we need to make an addition in the code of the trawl to draw such lines where the trawl will be triggered.
The task is complicated by the fact that the trawl EA is set on one chart and lines should be drawn on all charts where there are open positions.
Are all windows already open, or are they opened by the EA as positions arise? The challenge is to find a chart)
I assume that if there is a position, the window is open.
A question has arisen. How to know the number of open windows and their IDs. I found only getting id of the first, current and next window. I understand correctly that we can't get the total, but only the first, non-ext and how to understand that there is no next window.
It cannot be assumed that windows are open for all open positions. Therefore the algorithm should search for a window with the required symbol, and if it is absent, open a window and draw the situation. I.e. levels, then find on which SL modification occurred, and either delete or change colour of level.
It cannot be assumed that windows are open for all open positions. Therefore the algorithm should search for a window with the required symbol, and if it is absent, open a window and draw the situation. I.e. levels, then find on which SL modification occurred and either delete or change colour of level.
Put a flag, if there is an open window, then draw, if there is no open - skip. There is no sense to open and draw if it is not opened/closed