[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 335
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
..... I want my EA to stop trading when I get a loss 3 times in a row ...
1. I can advise to consult the classics)) :
NumberOfLossPosToday() function.
https://www.mql5.com/ru/forum/107476/page24
PS. Shit, how to copy the link to a particular post on this forum ?????
2. Or, another way - control your loss.
Or - exit when lot size is exceeded.
I can advise to refer to the classics)) :
NumberOfLossPosToday() function.
https://www.mql5.com/ru/forum/107476/page24
PS Man, how to copy the link to a particular post on this forum ?????
>
https://docs.mql4.com/ru/common/MarketInfo
h ttps://docs.mql4.com/ru/constants/marketinfo
-F1- thank you.
there is an ArrayResize function. But you have to estimate the speed of execution you need. You will have to choose - either memory consumption but fast execution speed or memory control but slow.
there is an ArrayResize function. But you have to estimate the speed of execution you need. You will have to choose - either memory consumption but fast execution speed or memory control but slow.
Thanks for the idea.
Can you please tell me if it is possible to run a macro from MQL in an EXCEL book (it is open)?
Please excuse my insistence, I just wanted to know if it's really not possible, or if it's just a lost cause.