Discussion of article "The checks a trading robot must pass before publication in the Market" - page 4
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
You are not calculating your margin requirements properly. Use the OrderCalcMargin to properly adjust the order volume, or even not place the order at all, if the margin requirement is higher than the allowable minimum volume.
This is discussed in the second point of the article ... Insufficient funds to perform trade operation
Hi,
Can anyone help to fix the validation error? The EA can work on live trading account with trades opened & closed, but it cannot pass this. Please advise on what codes to be added, thank you.
Hi everyone, any idea why I'm getting the following, "no trading operations" and "tester takes too long time"? I've already loosened my settings so that trades get triggered. Also I don't actually encounter issues when I'm using strategy tester, GetLastError() always gives me "0" return. Is the validation against historical prices like in tester or randomly generated pricing?
As per the Market product rules, you are not allowed to restrict or limit your EA to a single symbol. Your EA must work for all symbols, even if its intended use is for a single symbol.
Hello,
I was submitting a new version 1.28 of my EA and it is not get validated with "not enough money error", first I found it weird because I implemented the CheckMoneyForTrade function since version 1.0, and I didn't even get the error before. I also did my test before submitting the EA, and it is conclusive, it is not taking a trade if there is no free margin to cover it. Any idea?
The Error I am getting:
Log from my testing during same period as the above, no orders are place when no money/margin detected
\
Any one else in this case? Thanks in advance.
Best Regards
The Error I am getting: Log from my testing during same period as the above, no orders are place when no money/margin detected \ Any one else in this case?
One can clearly see in the your first image, that before the trade, the available free margin was -10.36. If your code did not correctly identify that, then the problem is in your code.
Then you must be filtering out trade conditions in some indirect way. Maybe a spread filter or maybe you are not reading and applying the contract specifications correctly.
Remember that the validation process uses the default parameters you set, so make sure the default parameters are not filtering the process in any way.
Hello,
Is there any possibility to validate an EA that does not perform any buying and selling operations (first version) but only calculates important support and resistance levels. I plan to add the possibility of trading in the future.