
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
Hi!
Would like to ask for your opinions and comments on the structure of the following code.
My main concerns are as on the:
1. The code is a template. The specifics of Open & Close conditions are negligible. So are the values of extern variables. My main goal is to create a template where I can plug and play any number and manner of indicators and parameters I can conceive of.
2. The code will be launched in around 30 currency pairs. It must be able to distinguish and OrderSelect() and OrderClose() only the orders that are initiated by the same EA on the same pair.
3. NormalizeDouble() is used for lack of an alternative that I have understood. I may use MathRound() if I found more reason to do so. However, the difference between the 2 has proven to be elusive for me.
4. I only aim to run this in currency pairs. Not on indices or stocks. Though in the future, I may try to run them at commodities, metals and oil. Means to make it applicable to the aforementioned are welcome.
5. A main consideration is reduced processing power and processing time. Means to make it faster and to streamline its processes are most welcome.
As always, thank you for your support.
Nothing follows.