[ARCHIVE]Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Can't go anywhere without you - 5. - page 52

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
Here is my modify pending order function. When modifying, I set a new price and a new stoploss. The function works partially, but for some reason the tester is getting errors 1.
Is my function written correctly?
Is my function written correctly?
Here is my modify pending order function. When modifying, I set a new price and a new stoploss. The function works partially, but for some reason the tester is getting errors 1.
Is my function written correctly?
Please advise how to make an EA output a comment on top of a frame that covers the chart to make it easier to read.
I do not know how to do it now:
It should be like this:
...and on every tick you modify over and over again. ?!
I didn't know where to put it, I messed up the Expert Advisor's logic by inexperience. To check the function, I put it in the start... Yes, it was on every tick, that's why the error. Then, after the function defining a new bar, I put it in and corrected the code asTheXpert told me and everything went as it should.
Good afternoon. Could you please tell me what a piece of EA code should look like, which is responsible for the following:
1. Goes through the parameters one by one (in a given range, eg from 10 to 20) of the indicator, on which the EA is based, until the condition to open the trade is not met.
2. If the condition after the search is not fulfilled - wait 5 minutes.
Good afternoon. Do you know if it's possible to send code execution from line 35 to line 18 with the standard mql4 tools (lines for example). A kind of jumping in the code.
Operators switch / if - else
and functions
switch / if - else operators
and functions
so it is possible to force the same function body to execute itself again? such as
so it is possible to force the same function body to execute itself again? like
Yes. It's called recursion.