Discussion of article "The checks a trading robot must pass before publication in the Market" - page 13
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
Good afternoon, fellow traders! I want to add an Expert Advisor to the market, it was written by my friend, I have it in open source. When I add it, I get this error. Can anyone tell me if it is realistic to fix it for a person who is not very knowledgeable in programming and how hard it is to remove? Thanks in advance, profits to all!
This error can be fixed in three minutes. If you were at least a little knowledgeable, you would just say it in words. In your case, you need to see the code to add what you need in the right place.
You can use only an idea from these code fragments, you probably have a different code structure and other variable names.However, I'll try to give you a hint without the code.
1. Find where the modification function is located in your code.
2. Find the line that specifies the TP or SL level for modification
3. Add (approximately) the following:
The essence of the check is simple:
- compare TP or SL levels with the existing ones. If the levels are the same - exit without modification.
The error will disappear.
Instead of normalising variables, it is better to use this construct:
. Translated into Russian this means:
"If the difference between the TP (or SL) price set for modification and the existing one on the deal is less than 1 pip - exit without doing anything"
.
Good afternoon colleagues, how do you get around such errors?
The postponement is set, I understand that problems arise when trying to cancel it. I cannot reproduce it in the tester.
Good afternoon colleagues, how do you get around such errors?
The postponement is set, I understand that problems arise when trying to cancel it. I cannot reproduce it in the tester.
You can do anything in the tester! To do this you need to use the magic button
and edit the symbol: Stops level, Freeze level....
You can do anything in the tester! To do this you need to use the magic button and edit the symbol: Stops level, Freeze level ....
live and learn. I'll be aware of that.
Hello.
What kind of error is this?
has anyone encountered it?
Added
Now this is like this
Is there any functions to check this?
Added
Now such a thing
Added
banned gold trading
and bypassed the autovalidator
Hello.
What kind of error is this?
has anyone encountered it?
you traded gold on the first tick of the day at a crooked price ?? the robot forgot that there is a stop and re-closed again ???
Switch on the terminal and trade with your hands, it helps a lot.
you traded gold on the first tick of the day at a crooked price ?? the robot forgot there was a stop and re-closed ???
switch on the terminal and trade with your hands, it helps a lot.
thanks, but how to deal with errors?
add special mode "only_autovalidation"?
Thanks, but how do you deal with the errors?
add a special mode "only_autovalidation"?
The "check disk space" is obviously dealt with by increasing the disc or decreasing the tested range. It says so right there...
The "check disk space" is obviously dealt with by increasing the disc or decreasing the tested range. It says so right there....
I'm sorry, it's understandable, that's why we need a special mode only for autovalidation.