Discussion of article "The checks a trading robot must pass before publication in the Market" - page 20
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
No! The EA must trade. If it does not, then it is not an EA.
If it is only calculating and displaying support and resistance lines, then it is an Indicator and needs to be coded as such using OnCalculate() instead of OnTick().
You can sell both on the market. Make this one a true indicator and sell it as an indicator. Then in the future publish the EA for it separately.
If you are using WebRequest, then it must be an EA. I have an EA that I use to download and process data, but it does not perform any trading operations. So I could never put it in the market because it does not trade, even though I am forced to write it as an EA?
From the MQL4 documentation on WebRequest:
The function can only be called from Expert Advisors and scripts, as they run in their own execution threads. If you try to call the function from an indicator, GetLastError() will return error 4060 - "Function is not allowed for call".
I have several EAs that I have written that provide a kind of dashboard of open trades and provide options for the user to close trades, do partial closes, etc. So they must be EAs. But they do not trade on their own, they are not automated trading strategies. The definition of an EA for the purpose of validating in the market is so narrow that I could never make these available, even though they are working correctly. It is not true that an EA must trade to be an EA. It is true that it must be an EA to call order execution functions and WebRequest, but those do not mean it automatically trades.
Or is there a process to have these reviewed that does not depend upon them automated trading? How could an EA that implements WebRequest but does not trade pass validation?
If you are using WebRequest, then it must be an EA. I have an EA that I use to download and process data, but it does not perform any trading operations. So I could never put it in the market because it does not trade, even though I am forced to write it as an EA?
From the MQL4 documentation on WebRequest:
I have several EAs that I have written that provide a kind of dashboard of open trades and provide options for the user to close trades, do partial closes, etc. So they must be EAs. But they do not trade on their own, they are not automated trading strategies. The definition of an EA for the purpose of validating in the market is so narrow that I could never make these available, even though they are working correctly. It is not true that an EA must trade to be an EA. It is true that it must be an EA to call order execution functions and WebRequest, but those do not mean it automatically trades.
Or is there a process to have these reviewed that does not depend upon them automated trading? How could an EA that implements WebRequest but does not trade pass validation?
Then classify it as an "Utility" instead of an EA.
Those too should be classified as "Utilities".
Have you never noticed that in the Market, that the "Utilities" section includes Dashboards, and Trade Assistants, etc.?
Those too should be classified as "Utilities".
Have you never noticed that in the Market, that the "Utilities" section includes Dashboards, and Trade Assistants, etc.?
I had not really put much thought to it, but no, I hadn't noticed that there were utilities that were technically EAs but not categorized as EAs in the market.
Thank you for clarifying!
I found out that Expert Advisors with void OnTesterInit() are not optimised if the demo version is downloaded.
Are there plans to fix this? And why not give a warning about it to the developer when validating the product.
I have been waiting for a year for someone to buy an Expert Advisor, while downloading it, but in the end it turned out that it could not be optimised, which was required according to its instructions.
2019.03.13 02:46:14 failed instant sell 0.2 XAUUSD at 1304.17, close #2 buy 0.2 XAUUSD 1304.11
please assist me with this error. how do I solution this?
You posted in the wrong section, so I moved your post. Your question is about MQL5, not MQL4.
The answer is here on this very thread. Read it, as well as the main article, and apply it to your code.