The specified periodicity of EventSetTimer( int seconds ) is used there. Does it mean that I can get information about ticks every 1 second? I need faster - 10-20ms.
abeiks: The specified periodicity of EventSetTimer( int seconds ) is used there. Does this mean that I can get tick information every 1 second? I need faster - 10-20ms.
Not only EventSetTimer( int seconds ) but also EventSetMillisecondTimer, why are you so inattentive? It's written next to it.
Can you tell me how to write a simple EA like this? It opens an order at a certain time of day, and then if the order closes at a stop loss, it opens the same order in the opposite direction. The next day everything repeats. I would like to test this kind of EA and see if its profit will be stable. Please help me to write it.
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.
Hello!
How can I get every tick from other currency pairs in Expert Advisor (MQL4)?
OnTimer() is your help.
OnTimer() will help you.
The indicator needs to get the index by the opening time of the daily bar, on a smaller timeframe.It works correctly only on the zero bar. What is wrong?
The specified periodicity of EventSetTimer( int seconds ) is used there. Does this mean that I can get tick information every 1 second? I need faster - 10-20ms.
Not only EventSetTimer( int seconds ) but also EventSetMillisecondTimer, why are you so inattentive? It is written next to it.
Please help me, how do I write"if the price came from a certain range"?
Example from the picture: to open a trade, the price should come from a certain range 1.1100 and 1.1100 should come from a certain range 1.1200.
The variant with iHighest and iLowest is not suitable because this condition is not time-dependent.
all ticks, open prices or test points?