Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 560
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
The questions are strange answers complicated by the stream of thought bulging out something impossible to keep in the mush of the stream of thought please...
And in what language are you communicating?
What language is that in which you are communicating?
Good afternoon, could you please tell me where I can get a free SCRIPT for trading a false-break from a level?
Good afternoon, could you please tell me where I can get a free SCRIPT for trading a false-break from a level?
The script will not help.
Hello Guys, could you please advise me?
Every time I open an order, I need to remember some of the data of the opened order to work with it later.
I think I need to save it all in a structure:
- entry price
- whether the SL has been moved to Breakeven
- the peak price for calculating a reversal
In every tick you need to perform calculations for each of the open orders
Please advise how to do it correctly.
Hello Guys, could you please advise me?
Every time I open an order, I need to remember some of the data of the opened order to work with it later.
I think I need to save it all in a structure:
- entry price
- whether the SL has been moved to Breakeven
- the peak price for calculating a reversal
In every tick you need to perform calculations for each of the open orders
Please advise how to do it correctly.
Basically, you have described it yourself)
In the code, it would look as follows
m_nMagicNumber - ID of the Expert Advisor's orders,
m_stBuySeries and m_stSellSeries - structures that store data on all orders of the specified type found. For example, you can describe them in the following way:
SaveOrderInfo function for such structures would be as follows:
slightly off topic.
https://www.finam.ru/profile/tovary/aluminum/export/?market=24
got the file.
I'm trying to put it into a symbol.
the result is disappointing.
Thanks.
Basically, you have described it yourself))
In the code, it would look as follows:
m_nMagicNumber - ID of orders of the Expert Advisor,
m_stBuySeries and m_stSellSeries - structures that store data on all orders of the specified type found. For example, you can describe them in the following way:
The SaveOrderInfo function for such structures would be as follows:
Thank you very much for such a detailed help!
Good afternoon!
Guys, can you tell me the code on how to link an EA to one account (for the latest update).
Thank you very much.
Good afternoon!
Guys, can you tell me the code on how to link an EA to one account (for the latest update).
Thank you very much.
Simple: