Money_Maker: Good afternoon, could you please tell me if it's possible to import from MSDN MRoubd function ? (returns number rounded to a multiple of a given value)
or how to round up for example 2285.13 as a multiple of (0.25) 2285.00 __ 2285.25 ___ 2285.50 ___ 2285.75
See the functions in the help starting with Math...
Open the editor help, select the "Index" tab in the left-hand window and start entering Math in the input field - a list of mathematical functions will appear.
See the functions in the help starting with Math...
Open the editor's help, select the "Index" tab in the left-hand window and start entering Math in the input field - a list of mathematical functions will appear.
Artyom Trishkin: Try to make a function that performs this rounding(the remainder of the fractional part of a number divided by 25 must be an integer).
I know you can make the function yourself, I was interested in simple execution... by standard means or via WinApi
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Good afternoon, could you please tell me if it's possible to import from MSDN
MRoubd function ?
(returns number rounded to a multiple of a given value)
or how to round up for example 2285.13 as a multiple of (0.25) 2285.00 __ 2285.25 ___ 2285.50 ___ 2285.75
See the functions in the help starting with Math...
Open the editor help, select the "Index" tab in the left-hand window and start entering Math in the input field - a list of mathematical functions will appear.
Or read the online help.
The size of the leverage provided:
so it's the leverage of the account, but how do you know the leverage of a pair?
What do you mean by the leverage of a pair?
See the functions in the help starting with Math...
Open the editor's help, select the "Index" tab in the left-hand window and start entering Math in the input field - a list of mathematical functions will appear.
Or read the online help.
the thing is, none of them fit... ) It doesn't round it up or down only in multiples of a number(.
the thing is, none of them fit... ) It doesn't round it up or down to a number only.
Try to make a function that performs this rounding(the remainder of the fractional part of a number divided by 25 must be an integer).
Greetings.
Can you tell me how to write the condition so that the action will be performed at the opening of a new candle on the current chart?
Hello!
Please help me write an EA.
The essence of the Expert Advisor: opens 4 orders of 1 lot.
2 to sell: usdchf; eurusd;
2 to buy: gbpusd; usdjpy;
Upon reaching a total profit of 5 pips, close all trades. And start again.