[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EL for special rounding



PureBytes Links

Trading Reference Links

Am I missing something here?

Doesn't this proposal round all prices?

As I read the question, it did not ask for rounding a price at the 0.5 level
(only above or below), which this proposal would appear to do.

DH wrote:

> > For Long:
> >   A)  If price is above the .5 level go to next .5 and add .1   Thus, if
> > price is 920.75 new price should be 921.60.
> >
> >   B)  If price is below the .5 level go to next .5 and add .1    Thus, if
> > price is 920.25 new price should be 920.60
>
> MyPrice = Round(Price,0) + .6;
>
> --
>   Dennis