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
Can you please tell me, are the files Trading_engine_4.mq5 and Indicators_Code.mq5, attached to this article, and the files with the same names, posted by you in CodeBase, are identical or are there differences?
In CodeBase the versions are updated.
In CodeBase, versions are updated.
Got it. Thank you!
Please insert the code correctly: after pressing the
button, a pop-up window will appear - insert the code into this window.
Just checked: demo account, HEDGE. The parameters of the Expert Advisor are taken by default. SELL position modification was successful.
Just in case of tester settings
Hello, I'm running iDEMA_Full_EA_Pending, in the settings the Positions: Only one parameter is set to true ( only one position is allowed in the market), but on EURUSD, m5, demo account, hedge, several positions are opened. Maybe I have set the parameters wrong?
Hello @Vladimir Karputov -- this is a really good repository of best practices to increase reliability for handling market and pending orders in an EA... It serves as a very good source of inspiration, and I will certainly steal some great ideas you implemented here!
Having said that, I find the codebase a bit too "monolithic" for my personal taste, as I usually prefer a more modular approaches for my own use. Regardless, your EA framework will certainly be very useful to quickly create prototypes for testing new strategy ideas without investing too much time with multiple files, etc... That's really awesome for increasing productivity.
Since about version 2.XXX, I started maintaining two development branches — the normal procedural code and the code in the form of a class (the main objective of the class is implementing multicurrency EAs).
You mention an class-based version of your framework, but I couldn't find it in the attached code -- am I missing something or where can I find that? When testing a new idea, I prefer to operate across multiple symbols simultaneously, so I'd be very grateful if you can point me in the right direction to download those files.
Good afternoon, Vladimir. I am studying the article with interest. I was interested in the following phrase of your article:
"I started to lead two branches of constructor development - usual procedural code, and code in the form of a class (the main task of the class is to implement multicurrency experts)."
In the attached files I saw the use of standard classes, but I didn't find "code as a class" for use in multicurrency EAs. Is it located in another article? Perhaps, as a beginner and inexperienced, I have not figured it out. Could you please tell me where I can see the structure of a class-based programme for a multicurrency Expert Advisor? In the articles I find only procedural approach.
Do I understand correctly that construction here means adding/modifying/deleting code (i.e. not from scratch, but from scratch)?
Also, signals often require several indicators. Are there any similar examples created with the help of this constructor?