Questions from Beginners MQL5 MT5 MetaTrader 5 - page 779
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
.ex5 is of no use to anyone, if you want help, publish the source code.
Fuck, I thought it was the source code :-) i'm also looking at the other icons.... I wondered which one was the source...... this one :-)
Turns out it's not....
The point is that the pulse on the minus third bar from the end is zero and is drawn as zero. But it is not zero in the buffer.
I do not know what it was, but I solved the problem by pasting all the code PULSE in a new indicator, bypassing icustom.
I had no error at minus second bar. I didn't change anything else in the code, so it's really a metaquote bug.
The point is that the pulse on the minus third bar from the end is zero and is drawn as zero. But it is not zero in the buffer.
I do not know what it was, but I solved the problem by pasting all the code PULSE in a new indicator, bypassing icustom.
I had no error at minus second bar. I did not change anything else in the code, so it's really a metaquote bug.
without the code, the bug can only be yours. unfortunately, by asking for help, YOU did not give the material...
Unfortunately, when you asked for help, you did not give the material...
Vladislav, in the name of justice, the desire to understand what it is all about and out of respect for you, I give you the code.
I'm having trouble reading the result of the trade operation. I wrote it like this:
If you remove Sleep : I always get ClosePrice=0.0 . Even if I wait 10 seconds (I don't want to wait longer), I almost always get the result, but sometimes I don't.
How do I get results?
The description of OrderSend() says :
Note
A trade request passes through several validation stages on the trade server. First of all, all required fields of the requestparameter are checked for correctness and, if there are no errors, the server accepts the order for further processing. If the order is successfully accepted by the trading server, the OrderSend() function returns true.
That is, when I get true from OrderSend(), I don't get the MqlResult parameter, if I understand correctly.
When will they come to me ?
I can't read the result of my trade.
Forum on trading, automated trading systems and strategy testing
Error 131 occurs when modifying an order
fxsaber, 2017.09.12 19:47
All you have to do is write the name of the trading server and the symbol and the problem will be solved in no time, because everyone can try it themselves.
In the meantime, one gets the feeling that the task is not to find a solution, but to answer yes/no.
Gentlemen programmers,
Here's a question: If the Strategy Tester in MT5 shows good results only at open prices, will the robot open trades only at open prices with the same result?
Gentlemen programmers,
Question: If the Strategy Tester in MT5 shows good results only at open prices, will the robot open trades only at open prices with the same result?
It is easy to check: in the EA you open trades only at opening price (i.e., at bar birth) and in the Strategy Tester you check it in tick generation mode "All ticks".
Colleagues, please help me
I don't understand what's wrong with the loop, data from the Handle is not going into the psa1 array