Errors, bugs, questions - page 3076
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
First question: Did you write this code yourself and give these variable names?
Yes.
Yes.
Very strange names - looks like decompiled. Please show more of your other code - code you wrote yourself.
Very strange names - looks like decompiled. Please show more of your other code - code you wrote yourself.
Very strange names - looks like decompiled. Please show more of your other code - the code you wrote yourself.
I divide everything in my Expert Advisor into functions, iFunctionExample(), and the variables iFE1,iFE2,iFE3 for int, and dFE1, dFE2, dFE3 for double. This makes it easier for me to understand where everything comes from.
In my Expert Advisor, I divide everything by functions, iFunctionExample(), and inside these functions, there are variables iFE1,iFE2,iFE3 for int, and dFE1, dFE2, dFE3 for double. It is easier for me to understand what comes out of it this way.
Ok. Thank you for this clarification and for starting to get the code right.
I am working with two or more orders at the same time. Grid. I check the price below or above the conditional entry point. Conditional entry points originally were in the array, now they are in the global ones.
And it turns out that the digits are swapped, but God forbid the swap. If only the comparison was performed correctly. But substitution glitches too.
I've seen that SymbolInfoBid(name,SYMBOL_BID) may return 0 or EMPTY_VALUE, so it's worth checking if it's valid.
But a double comparison if (A>B && B-A<0) reads quite funny: "Is it more than B ? and even so ?
don't be afraid to use log - print your variables to see what's really going on
PS/ of course variable names are a pain...how do you read and write such code :-) and most importantly remember
SymbolInfoBid(name,SYMBOL_BID) may return 0 or EMPTY_VALUE, it is worth checking if it is correct
But a double comparison if (A>B && B-A<0) reads quite funny: "Is it bigger than B ? and even so ?
don't be afraid to use log - print your variables to see what's really going on
PS/ of course variable names are a joke...how do you read and write such code :-) and most importantly remember
I will write an EA where this error should be obvious, or I won't catch it. I will write about it later.
B-A<0 additional check to ensure that the function is not hit, but other characters take data that bypass this check.
Tickets 6,7,8 have not received their data. If I am writing something wrong, I would be grateful if you could tell me what is wrong. However I tried many changes and the error persists.
I see the problem in the MT5 tester in visualization mode.
Trying to solve the problem.
Noticed the following:
The tester stops writing logs, of any kind. And at this point there is a crash, the metamatics collapse.
2020.08.17 06:12:21 EURGBP 0.90496
2020.08.17 06:12:21 EURGBP BUY 0.90496
2020.08.17 06:47:12 GBPUSD 1.3098
2020.08.17 06:47:12 GBPUSD BUY 1.3098
Just at 6:34:15 there is an opening of trades that should not be opening.
Please check my code on the tester. It seems to me that the tester is not working correctly after the latest updates.