Hi,

Can someone please tell me why, when I use the following optimization method...

```
Param1 = Optimize( "Parameter 1", 0.03, 0, 0.04, 0.01 );
```

I only get the following values for 'Param1' ...

0, 0.01, 0.02 and 0.03

Hi,

Can someone please tell me why, when I use the following optimization method...

```
Param1 = Optimize( "Parameter 1", 0.03, 0, 0.04, 0.01 );
```

I only get the following values for 'Param1' ...

0, 0.01, 0.02 and 0.03

You are using **fractional step** and fractions like 0.01 have infinite representation in binary system (IEEE standard used in all computers on this planet), that is why.

It is described here:

http://www.amibroker.com/kb/2010/07/20/about-floating-point-arithmetic/

1 Like

Thanks Tomasz for the link!