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
This is inside an EA working with cfd.
Triggered at the right moment with sl & tp far away from current price the print function shows correct values but the position is not modified.
No error message. No "invalid ...". Simply no reaction.
The function works perfect with a 1 digit broker. But it fails with a 2 digit broker. This in tester, not tested if it works in live trading.
But the print function shows with the 2 digit broker only 1 digit after the comma, as the second digit is always 0.
Can it be that the missing 0 at the end causes the problem?
How can I solve the problem?