[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 226
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
How do I make an EA buy or sell at a certain time(sleep not to use)?
The date-time functions will help: https: //book.mql4.com/ru/functions/datetime
Thanks, but you'll still have to insert a slip there.
tell me where the error is....
Look here https://www.mql5.com/ru/forum/103774
Thank you all, I'll be trying it out...
I'm afraid this is only true for the time-series.
In my case, there's nowhere even to poke it.
Your idea is correct, i.e. the order has to be reversed somehow, but I don't know how yet
Don't worry, it works.
People! I am trying to make, that would trade a lot depending on the risk.... what does not work....writes
tell me where the error is....
forgot to put a line in the lot.
return (ldlot);
I forgot to put a line in the lot.
right...... forgot.... thank you very much.... I've already checked it 20 times, I couldn't figure out what the hell...)
Help with a question about requote+slippage.
The situation is as follows: I send a request for transaction by Expert Advisor, Slippage=3 pt, error 138 Requote occurs. I tried to RefreshRates() and tried again with a new Ask, but the server price is better than the Ask I sent (second time after RefreshRates()), and logically I need to agree, but because server price deviation is larger than Slippage in the request - this request is rejected. (((
How can you control this situation? Ie if the server price is better then to move the Slippage or what, so that the request is accepted by the server. Or it is not possible?
Help with a question about requote+slippage.
The situation is as follows: I send a request for transaction by Expert Advisor, Slippage=3 pt, error 138 Requote occurs. I tried to RefreshRates() and tried again with a new Ask, but the server price is better than the Ask I sent (second time after RefreshRates()), and logically I need to agree, but because server price deviation is larger than Slippage in the request - this request is rejected. (((
How can you control this situation? Ie if the server price is better then to move the Slippage or what, so that the request is accepted by the server. Or it is not possible?
Increase the slippage. The trades must have been opened in a fast market. It happens sometimes after important news that the Eurobucks is so fast in 1-2 ticks that it's a nightmare. And while the server is processing the advisor's order, the price changes very steeply.
MT4 has a built-in converter. Service -> Quotes Archive.
Thank you! But the goal is as follows. Offset daily bars (candlesticks), updated with the arrival of quotes, the chart behaves like a normal chart: you can hang other indicators, EAs, build channels, levels, etc. on it. It should be something like non-standard timeframes, but non-standard in shifting bars (candlesticks) relative to the terminal time: H4 - at -3, -2, -1, 1, 2 or 3 hours; D1 - at -23, -22, ... 1, 2, ... or 23 hours; W1 - for -6, -5, ... or 6 days and so on. The offset must be set in the input parameters of the indicator.
Is there such a thing?
I thank you in advance.