How Normalize() is calculated?
![]() |
|
||||
|
Scorpion, if you are banned , it means that you can`t read the forum at all ? Or you can`t just post it ?
Here is the thread I started : http://www.metaquotes.net/forum/1034/ And here is the first reply : Shimodax 10.09.05 12:55 Try something like: // get a one with digit zeros behind/ 10, 100, 1000 double f= 1; for (int i= 0; i<digits; i++) { f*= 10; } // round it up double result= (int)(roundwhat*p + 0.5); result/= p; Markus ---------------------------------------------------------------------------------- If u can read them, then read on, If not I ll be posting them, just tell me.
__________________
Regards, Ravique |
|
||||
|
Hey,
Ravique, thanks! I can read posts at MQ forum though banned. Maybe they trace my ip or something that why they don't approve my new registrations. ![]() Shimodax's calculation is incorrect. The result of his calculation and result of the original Normalize() is different. It's so weird with the Normalize() implemented in MetaTrader. It's supposed to be banker's rounding, but it isn't. |
|
||||
|
Hey, borrowing hands is fun!
I've just registered a new name; hope the fasisQuote:
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT. The time now is 05:04 AM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now














Linear Mode

