sashasonik: Can you tell me how to find the first bar of the day?
datetime day = iTime(Symbol(), PERIOD_D1,iBarShift(Symbol(), PERIOD_D1, iTime(Symbol(),PERIOD_H1,0)));
int Bar = iBarShift(Symbol(), PERIOD_H1, day); // Бар, соответсвующий началу суток
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Oh, man... Perfect timing.
Although yes ... and I was dumb enough to send him a lame-ass private message.
Oh, well... It's been written, read, and eaten.
Can you tell me how to find the first bar of the day?
I think that's about it, roughly.
Thank you, I will give it a try.
It looks like this, approximately.
More precisely, to be on any timeframe.
Everything works, thank you!
Greetings all!
Can you tell me how to get a list of symbols in the symbol window in MarketWatch?
So that they can then be searched in a loop.
If there is a piece of code, generally good :-)
Thanks in advance!
Greetings all!
Can you tell me how to get a list of symbols in the symbol window in MarketWatch?
So that they can then be searched in a loop.
If there is a piece of code, generally good :-)
Thanks in advance!
SymbolsTotal()
Returns the number of available (either selected in MarketWatch or all) symbols.
intSymbolsTotal(
bool selected// true - only symbols in MarketWatch
);
Parameters
selected
[Request mode. Can take values true or false.
Returned value
If selected is true, the number of characters selected in MarketWatch is returned. If false, then the total number of all symbols is returned.
Try it in the loop.
And what you are looking for - only you know
question to mt4 experts
A trader places a pending order and closes it before it is activated. After a week he sees this order open and triggered.
The question is whether it is technically possible for the broker to open a remote pending order (e.g. to close someone's account).
The situation is real - there were no reports sent to the mail. The broker's server logs and account logs have been switched off.
The broker's server logs and trader's mt4 logs are different - by the time of opening a disputed order.