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

Re: [amibroker] Organising your groups



PureBytes Links

Trading Reference Links

Hi,

I would like to change my trailing stop so that it matches market
convention regarding price steps.

For example:
>From 10 cents To 49.5 cents price steps are 0.5 cents.

If my trailing stop value is say 34.1567, I would like this to simply
show 34.5.

I had a look at the functions ceil(), round() and floor() but they go
to the higther/lower/closest integer. Any ideas please?

Cheers Glenn



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/