celenkosini sibusiso:
double CalculatePoint() {
int digits = Digits();
if (digits == 3 || digits == 5) {
return 0.0001;
} else if (digits == 2 || digits == 4) {
return 0.01;
}
return 1.0;
}
Your topic has been moved to the section: Expert Advisors and Automated Trading
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
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
double CalculatePoint() { if (Digits == 3 || Digits == 5) { return 0.0001; } else if (Digits == 2) || Digits == 4) { return 0.01; } return 1.0; }