[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 436
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
Professionals, please advise. If I have a pending stop order placed, but the price has entered it with an extended spread that exceeds the stoploss.... What will happen?
The order will be eaten by the spread... Or will an error occur and the order will not be triggered?
Colleagues, what is the most detailed advice?
I have a pending order X
How to close the order after N hours from the moment the pending order was created?
An additional condition: the pending order may become a market order.
In the case if the pending order remains pending, everything is simple.
The case when a pending order becomes a market one is interesting (i.e. the moment when the pending order becomes market order, the time of creating it also changes).
I would like to get ideas from professionals to solve this problem, and better yet, I would like to get a code for this situation
Professionals, please advise. If I have a pending stop order placed, but the price has entered it with an extended spread that exceeds the stoploss.... What will happen?
The order will be eaten by the spread... Or will an error occur and the order will not be triggered?
Good afternoon. PEOPLE, ANSWER THE QUESTION PLEASE (3rd time posting). Question about a file index... In my MQL4 book, found at MQL4.community, in the "Standard Functions" section, there is an example of the script "File Operations", which is intended for reading data from a file and displaying graphical objects in a symbol window:
Below, when analyzing this script in the Book on MQL4, the following phrase is given: "if the specified check (the last 2 lines in block 5-6) is removed, an extra object will be created at runtime. And only after that, the while loop's termination condition will trigger and control will be passed to block 8-9".
Do I understand it correctly? A file pointer is NOT INFLOWED BY TEXT SIGNS (for example: text| where | is a file pointer), but is a pointer WITH EXPRESSION, for example: text where k is the "to" character, k-th is highlighted by a file pointer. This explains the need for strings (see p.164):
Indeed. At the penultimate iteration, after creating the LAST object
2007.05.11 18:30;JPY
the file pointer is at the position of the last object, i.e:
2007.05.11 18:30;JPY IndustrialManufacture
(where o is the "o" character, k is the file index). Then when control is passed to the while statement header, FileIsEnding(handle) function will obviously return true, because the file pointer is NOT at the end of the file, but at the LAST character of that file. Then when the first two lines are executed, the file pointer will move to empty space and if there are no lines
the script will create a graphic (i.e. a line) with an empty description and a time coordinate that corresponds to 0. This is what is meant in the phrase: "if the specified check (the last 2 lines in block 5-6) is removed, then an extra object will be created at runtime. "
Question: do I understand correctly:
a) the definition of a file pointer;
b) the meaning of the phrase "If the specified check (the last 2 lines in block 5-6) is deleted, then an extra object will be created at program execution.And only after that the while loop's end condition will be triggered and control will be passed to block 8-9".
P.S. In order not to litter the forum, thank you in advance for your answer
Please tell me, when and why does the Expert Advisor sometimes open trades without SL and/or TP, even though they are prescribed in the settings? It opens and does not modify.
Because there is a "spacer" between the "settings" and the OrderSend() command from the program code.
How do I open the raw file in the history folder?
forum search rules.
It's been done for a long time, what do you want to do :)
Obtaining a list of financial instruments
and you've already posted in this thread