MathMod function in version 4 is returning only the integer portion. This is inconsistent with the mod function in version 3 which returned the entire value.
- Help with MathMod() results
- Checking for Price multiples of 20 points to Pyramid trade
- Some coding assistance please
My mistake, I forgot my c and was operating with an integer. Easily fixed with a double.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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