Discussion of article "The checks a trading robot must pass before publication in the Market" - page 16

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
have you ever run your robot other than the local tester???
I trade only with robots. Without them I feel naked, because my robots first of all give full information both on the current pair and on the account, as well as the main parameters of the pair (margin per lot, calculator "how much can be opened on x% and maximum", min-lot, lot-step, commission per lot and its conversion into pips, cost of spread*lot, etc.). ).
Mode - semi-automatic, I change basic settings if necessary.
But you seem not to understand what I was writing about.
According to the latest MT5 update, all icons were redrawn without exception. Some icons became better, some worse.
But!
The flag of trade availability was not there and still is not. And this function is really much more necessary than the design update.
The flag of trade availability was not there and still is not. And such a feature is really much more necessary than a design update.
I'll tell you again. Search and you will find
10018
TRADE_RETCODE_MARKET_CLOSED
Market closed
I'll tell you again. Seek and ye shall find
10018
TRADE_RETCODE_MARKET_CLOSED
Market closed
I don't need to show you this - it's an error returned by the server when a trade request is stupefied. It is about this error that I raised the topic.
Why break through a closed door? I would like to see a "Closed" sign on a closed door.
There is: AccountInfoInteger(ACCOUNT_TRADE_ALLOWED);
I don't need to show it to you - it's an error returned by the server when a trade request fails. It is about this error that I raised the topic.
Why break through a closed door? I would like to see a "Closed" sign on a closed door.
There is: AccountInfoInteger(ACCOUNT_TRADE_ALLOWED);
Look for it and you will find it. One last hint: check the order.
Thank you! fixed
Attached zip file "2555_en". The error is not yet corrected. -sl)>tp)
This has not been fixed either:+ missing parameter (PrintFormat has for %, but only 3 parameters are provided).
An other logical error. Changing a SL/TP by 1 point is allowed. It should be >=
I don't know how about MQL5, but MQL4 functions OrderStopLoss(), OrderTakeProfit()... are not normalized. In this case, if you use ">=", the current OrderModifyCheck function will not work properly. Need to normalize OrderStopLoss(), OrderTakeProfit()...
I get this message while loading the robot !!
cannot open file 'MQL4\indicators\.....Indicator.ex4' [2]!!!!!!!!!!!!!
I used a personal indicator in this project.
Does anyone have a solution?
You have to embed the indicator in your executable by using the #resource compile directive.
This is explained in the article, namely "Calling custom indicators with iCustom()". Did you read it?
You have to embed the indicator in your executable by using the #resource compile directive.
This is explained in the the article, namely "Calling custom indicators with iCustom()". Did you read it?
thanks