Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Welcome,
- Usually people who can't code don't receive free help on this forum.
- If you show your attempts and describe your problem clearly, you will most probably receive an answer from the community. Use the CODE button (Alt-S) when inserting code.
- To learn MQL programming, you can research the many available Articles on the subject, or examples in the Codebase, as well as reference the online Book and Documentation
- Remember also, that you can debug your code with MetaEditor's own debugging functionality.
- If you do not want to learn to code, that is not a problem. You can either look at the Codebase if something free already exists, or in the Market for paid products (also sometimes free). However, recommendations or suggestions for Market products are not allowed on the forum, so you will have to do your own research.
- Finally, you also have the option to hire a programmer in the Freelance section.
Good luck.
without closing any trades.
I am a beginner in Mql 5 but I have general understanding of programming in JavaScript and Database programming.
Thank you for your help.
There are a few ways to do it "programmaticly". It depends on how much effort that you want to spend coding. I personally, use ExpertRemove function; but as the function name says, it Removes the ea from the chart, therefore, it does not resume trading again, until i manually add the ea to the chart again. Note that I could use another ea or script to automaticly attach the ea to the chart again -- if i wanted that to happen.
But it can also be done by coding the ea to pause, or simply "return" and ignores the rest of the code while within a time period, however, imo, that is not wise due to that continuing to "hold up" the system -- but that obviouslyu would not be an issue if the system is a vps or a system that I am not using.
I recommend that you search the site and codebase. There are not many in codebase, but there are a few discussion/threads on this subject.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
without closing any trades.
I am a beginner in Mql 5 but I have general understanding of programming in JavaScript and Database programming.
Thank you for your help.