I think you can use NormalizeDouble
double var1=0.123456789;
Print(NormalizeDouble(var1,4));
// output: 0.1234
lowphat:
I think you can use NormalizeDouble
I think you can use NormalizeDouble
double var1=0.123456789;
Print(NormalizeDouble(var1,4));
// output: 0.1234lowphat many thanks for the suggestion but i think since the ea could run on any currency putting something hardcoded wont work i think i try to use your suggestion for eur/usd now untill i find someother solution.
regards.
Maji,lowphat thanks i understand now what is implied with Normalize Double Method.
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
Hi,
I am trying to create an ea using fibs and what i am trying to do is
taking todayClose + (yesterday High - yesterday Low ) * 0.382;
but when i send this at order send function the tester shows inalid price ?? e.g 1.28574534 something like this any help
thanks.