Questions from Beginners MQL5 MT5 MetaTrader 5 - page 914

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
Good afternoon, help please.
Need an EA or code that closes open orders by profit or loss in pips.
Thank you!
Good afternoon, help please.
Need an EA or code that closes open orders by profit or loss in pips.
Thank you!
Orders cannot be closed - pending orders can only be deleted. But the opening of a position can be modified and closed.
Be more specific about what you need.
*** I can't make money on a real account
Get a job.
*** Don't know how to find a broker
Google search on the phrase: "Broker Rating".
Good evening, forum users.
I have some questions during my work:
1) When I enable EA (it's multicurrency), I buy some symbols, but I don't go to this procedure any more, and only work with open positions.
BUT! Then the computer went into hibernation, the screen went blank, and when I came back and pulled the mouse again, as soon as the computer came out of hibernation mode, it has again purchased symbols from the procedure, which I can no longer enter as it were.
Boolean tr becametr=true; and I don't plan to come here again, but after hibernation, and also if I leave the terminal and then come in again, the EA again buys((((
The question is, what should I do to prevent it from buying again and again, after the terminal shuts down, or the computer goes into hibernation mode?
2) I have several multicurrency EAs and one account. I trade without leverage. I start working and I have conditionally 10 000. I want one EA to use only 5000.
Can I set the external variable for money to be deducted from my balance and used by the EA?
And the last question))
3) If I have many multicurrency EAs in one account, how do I create magic numbers? I.e. I can have up to 10 symbols in one EA, and I have 3 such EAs.
Is magic number created for each EA and for each symbol? It can be an array of magic numbers for each expert?
Can you tell me what is the error? Message - invalid pointer access in 'MyIndicator.mq5' Code is simple and syntax seems correct...
Hello guys, sorry if I am new to this subject. Can I make an indicator, expert advisor or alert when price crosses an MA in any timeframe? If there is an answer to this question, where can I find it? Thanks in advance for the answer
There are 21 timeframes in MQL5. Do you want to track all 21 timeframes? Another question: do you want to write an MQL5 Expert Advisor yourself, but you don't know where to start?