[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 292
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 time all!
Please advise! I wrote a zigzag type indicator, it has three buffers which draw three lines. How can I get information from the desired buffer?
In principle, I understand the problem when it comes to
BuyTakeLotA
all the other queries are also checked,
and it turns out that
BuystopLotA
is the last one in the history and it matches the query,
NOW HOW TO MAKE IT CHECK THE LAST CLOSED BY TIME INSTEAD OF THE LAST ONE FROM THE HISTORY, WHICH FITS THE CONDITION.
Hi all, could you please tell me if it would be reliable to determine the deadline for an order by its order number in the list? (older ones have a lower number) or would it be better to use the time the order was set for?
is the difference between pending and open orders principal?
if not, you can do it by order number (you can do a lot of things through "ass").
If yes, then no.Good afternoon!
Dear Professionals, please help me.
I want to compare the opening price of current time with the opening price of the day.
int Cur_Hour = Hour(); // Server time in hours
double Cur_Min = Minute(); // Server time in minutes
double Cur_time = Cur_Hour + Cur_Min/100; // Current time
But I don't know how to pull the opening price of the day and the opening price of the current bar into the program. Please advise how to do it?
I would be very grateful.
Good afternoon!
Dear Professionals, please help me.
I want to compare the opening price of the current time with the opening price of the day.
int Cur_Hour = Hour(); // Server time in hours
double Cur_Min = Minute(); // Server time in minutes
double Cur_time = Cur_Hour + Cur_Min/100; // Current time
I do not know how to compare the opening price of the day with the opening price of the current bar. Please advise how to do it?
I would be very grateful to
current bar open price -- iOpen(Symbol(),Period(),0)
The open price of current day -- iOpen(Symbol(),PERIOD_D1,0)
Link to documentation https://docs.mql4.com/ru/series/iOpen
is the distinction between pending and open orders fundamental?
if not, you can do it by order number (you can do a lot of things through "ass").
If yes, then no.The difference does not matter, since the operation will be conducted only between pending orders. I.e., if there is an open position somewhere, it is not principal. It's just a question of reliability.
Help solve the problem, how to build a query so that the value is taken from the last closed instead of the last one in the history with the same values, the problem is opening a wrong order it is highlighted in red, then after it all is opened correctly
here is the advisor
Invest777 31.03.2011 15:16
Can you advise whether the :
int window value, works only with the current chart on which the expert works, but if I want to create an object for GBPUSD, what should I set the window parameter?
sergeev 31.03.2011 16:3