Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1278

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
I can't figure out what's going on here, the spread should be roughly speaking, why is there such a big value on the yen?
Result
abc: 11
abc2: 11.9999999999998979
abc3: 400
abc4: 400.0000000004888
I can't figure out what's going on here, the spread should be roughly speaking, why is there such a big value on the yen?
Result
abc: 11
abc2: 11.9999999999998979
abc3: 400
abc4: 400.0000000004888
Point is probably wrong. I print all data in the test, both result and calculated. It often helps to save time).
The point is probably the wrong one. I print out all the data in the test, both the result and the calculation. It often helps to save time).
Exactly, I used F5 from the editor, but how do I get "that" on the multi-currency? I need to get the distance in pips, multiply the points or something
Exactly, I used F5 from the editor, but how do I do "that" on the multi-currency? I need to get the distance in pips, multiply the points or something
What points do you get? From the pair on which the script is based?
through F5 from the editor, started the debugger without the point-stop, there is a 5-digit value in it, in the script everything is already working on its own pairs, but how in a multisymbol EA, a simple way to get the correct pins?
it looks like through
SYMBOL_DIGITS или SYMBOL_POINT
through F5 from the editor, started the debugger without the point-stop, there is a 5-digit value in it, in the script everything already works on its own pairs, but how in a multisymbol EA, the simple way to get the correct points?
it looks like through
SymbolInfoDouble("",SYMBOL_POINT);
Poke your nose into a simple code that calculates the angle of price movement. The picture below shows it.
Write calculated values to the log or file, maybe it is taking old values from previous trades, it is not updating correctly, there may be many reasons.
If you write calculated values to the log or file, how would that help?