When does it make sense to keep part of the robot code in an indicator? - page 18

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
Integer, why do we always get away from the point.
I missed your comment about disconnects, because I already answered that my code works correctly in real conditions. Presented is a stripped down version of the EA, not a live version to compare speeds. Answer directly - have I met your conditions? If so, where is your variant via iCustom? And the main question is where is the testing taking place? For the second time I ask, in the strategy tester?
It is designed to break the connection. Why do you think otherwise?
Because it is not designed to fail. Maybe you will also start saying that green is red and red is green?
You are talking out of your ass, my dear! What did I talk Andrei out of and what did I get myself into?
Your code is only applicable in the tester, not in the actual account.
Dimitri, don't insult the man. He's trying to write good code here
You are full of shit, my dear! What did I talk Andrei out of and what did I get involved in?
I discouraged it and I got involved.
Your code is only applicable in the tester, not in the actual account.
Can you guys read the code?! Do you see iBarShift? The break in communication is fully accounted for.
And I didn't even rack my brains about the nagging. The solution is simple and obvious - I wrote it down at once. But you are ignoring it. Take a closer look at the code.
My code is fully applicable in real life. I have already said this several times. If you think it doesn't take into account communication gaps, explain why.
Integer, why do we keep getting away from the point.
I missed your comment about connection interruptions, because I already answered that my code works correctly in real conditions. Presented is a stripped down, not live, version of the EA for speed comparison. Answer directly - have I met your conditions? If so, where is your variant via iCustom? And the main question is where is the testing taking place? For the second time I ask, in the strategy tester?
If it has so far worked correctly in real conditions, that does not mean anything.
We haven't fulfilled the conditions. What you need is a variant that provides stability in the event of a connection failure. Why ask a question that has already been answered?
My variant here in this thread, earlier.
The testing is done in a tester.
Can you guys read the code?! Do you see iBarShift? The break in communication is fully accounted for.
And I didn't even rack my brains about the nagging. The solution is simple and obvious - I wrote it down at once. You are ignoring it. Take a closer look at the code.
Oh clever, you don't even know how data is swapped after a break in communication!
Because first comes the tick, and only then are the missed bars pumped up.
What does it have to do with a tick? We read the code carefully, we see the comparison with Time[0]. I understand that we have a lot of critical programmers who know MT4+MQL4 inside out. But your opponent knows something too, there are no childish mistakes in the code.
There are childish mistakes in the code!