Sprut112: Can you use this variant of lot calculation in percents, replacing MarketInfo of course? It is convenient because it takes into account the symbol at which it is calculated, because eurusd lot and eurnzd lot are two big differences. i want to know how to write it for mt5 and whether it is possible
I'm having trouble rebooting my Windows 8 computer. The terminals are working. Once a day I restart the computer via the job scheduler with shutdown.exe -r -t 10 -f . The autostart works but unfortunately the start of the terminal advisers (before rebooting) does not start with 100% probability. Please advise how to close and restart several terminals so that the EAs are always loaded ?
pivomoe: I have a problem with my computer rebooting on Windows 8. The terminals are working. Once a day I restart the computer via the job scheduler with shutdown.exe -r -t 10 -f . The autostart works but unfortunately the start of the terminal advisers (before rebooting) does not start with 100% probability. Please advise how to close and restart several terminals so that the EAs are always loaded ?
Fix the initialisation blocks in the EA (OnInit() ).
Good afternoon. Please help me to find an EA that will give signals to the mail when a level is crossed based on stochastic. Sam in programming nil. Thanks in advance!
Good afternoon. Please help me to find an EA that will give signals to the mail when a level is crossed based on stochastic. Sam in programming nil. Thanks in advance!
Here it seems to me that the minimum lot is 0.1, and you need 0.01. Maybe in the second line dg=2?
You don't have to compare anything, just find Step and use it, preferably in OnInit() it is the same for a particular account, as a rule it doesn't change from pair to pair...
you don't have to compare anything, just find Step and use it, and preferably in OnInit() it's the same for a particular account, as a rule it doesn't change from pair to pair...
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.
Can you use this variant of lot calculation in percents, replacing MarketInfo of course? It is convenient because it takes into account the symbol at which it is calculated, because eurusd lot and eurnzd lot are two big differences. i want to know how to write it for mt5 and whether it is possible
If you want it to be tool-dependent, replaceSymbol()
to a string variable that contains the desired tool symbol...
According to your code, it's
If you want it to be tool-dependent, replaceSymbol()
to a string variable that contains the desired tool symbol...
According to your code this is
I have a problem with my computer rebooting on Windows 8. The terminals are working. Once a day I restart the computer via the job scheduler with shutdown.exe -r -t 10 -f . The autostart works but unfortunately the start of the terminal advisers (before rebooting) does not start with 100% probability. Please advise how to close and restart several terminals so that the EAs are always loaded ?
Fix the initialisation blocks in the EA (OnInit() ).
Good afternoon. Please help me to find an EA that will give signals to the mail when a level is crossed based on stochastic. Sam in programming nil. Thanks in advance!
If you want it to be tool-dependent, replaceSymbol()
to a string variable that contains the desired tool symbol...
According to your code it's
It seems to me here that the minimum lot is 0.1, while we need 0.01. Maybe the second line should have dg=2?
Good afternoon. Please help me to find an EA that will give signals to the mail when a level is crossed based on stochastic. Sam in programming nil. Thanks in advance!
Search KodoBase for the words"Stochastic" or"Stochastic".
Here it seems to me that the minimum lot is 0.1, and you need 0.01. Maybe in the second line dg=2?
You don't have to compare anything, just find Step and use it, preferably in OnInit() it is the same for a particular account, as a rule it doesn't change from pair to pair...
you don't have to compare anything, just find Step and use it, and preferably in OnInit() it's the same for a particular account, as a rule it doesn't change from pair to pair...
Can you do it this way?
Can I do that?
You can...
I think it's better.
MathFloorjust doesn't make sense...