Quote:
|
Originally Posted by lowphat
I think you can use NormalizeDouble
double var1=0.123456789;
Print(NormalizeDouble(var1,4));
// output: 0.1234
|
lowphat 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.