Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 40

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
advise how to write a condition:
If a sell order is closed, then ...
advise how to write a condition:
If a sell order is closed, then ...
Do not be lazy to use the search! Learn how to get what you want! You will not learn on tips! Last time:
GetTypeLastClosePos - Returns the type of the last closed position or -1 in:
https://www.mql5.com/ru/forum/131859
Hello, everyone!
Can you guys help me? I need to refine the indicator i-Session, and specifically to remove America, Asia to stretch the entire session, and Europe to stretch a week, here.)
Logically, I think you need to cut and tweak something, I cut America, but I can't seem to tweak it right now... help please!!! :)
Hello, everyone!
Can you guys help me? I need to refine the indicator i-Session, and specifically to remove America, Asia to stretch the entire session, and Europe to stretch a week, here.)
Logically, I think you need to cut and tweak something, I cut America, but I can't seem to tweak it right now... help please!!! :)
Don't be lazy to use the search! Learn how to achieve what you want! You can't learn from hints! Last time:
GetTypeLastClosePos - Returns the type of the last closed position or -1 in:
https://www.mql5.com/ru/forum/131859
Thanks for the science. I acknowledge the criticism, besides I did not put the question correctly, I do not want to know which order closed last, but whether a sell order closed at the given tick.
ExistPosition - Returns the existence flag of positions
And the search is inconvenient, it opens everything... why isn't there a search in the subject...? or am i doing something wrong here too?
Hello friends, please help me in writing a piece of code, it seems quite simple but it doesn't work. I need an EA to open orders no matter what buy or sell, at the same time, for example at 11:00 and the opening price of the 11 o'clock candle is remembered in a variable. I would be very grateful, thanks to everyone who will help!
Hello friends, please help in writing a piece of code, it seems quite simple but it doesn't work. I need an EA to open orders no matter what buy or sell, at the same time, for example at 11:00 and the opening price of the 11 o'clock candle is remembered in a variable. I will be very thankful to everyone who will help!
double price
if (iTime(Symbol(),PERIOD_M1,0)==StroToTime("11:00"))
{
//open
price=iOpen(Symbol(),0,0); // store opening price
}
Hello, everyone!
Can you guys help me? I need to refine the indicator i-Session, and specifically to remove America, Asia to stretch the entire session, and Europe to stretch a week, here.)
Logically, I think you need to cut and tweak something, I cut America, but I can't seem to tweak it right now... help please!!! :)
There are settings there. You can do it with them.
Of course, there are settings, but it's not quite the same! I need a separate code without unnecessary things, so to say a completely different indicator like i-Session... I need an indicator that draws a square on the extremes of the day, I would finish it myself... :)