Seer logo - advanced backtesting for stock, futures and forex trading systems using using technical analysis indicators, charts, money management and position sizing
Functions by Category Functions by Alphabetical list

RoundToQuarter([value]/[column])

Usable in an seer event objectUsable in an seer indicator objectUsable in an seer chart object

This function rounds a value or column to the nearest 1/4 value. If a column is passed, a column is returned with all elements rounded to the nearest 1/4.
#val contains 13.00
my $val = RoundToQuarter(12.91);

#val contains 12.50
my $val = RoundToQuarter(12.62);

Related functions:

log , cos , exp , abs , int , sqrt , sin , atan2 , ceil , floor , log10 , IsNull , IsEqual , NVL , MinValue , MaxValue , Min , Max , Sum , Cum , Round , RoundToTickSize

© 2011 seer trading systems ltd
feedback FAQ legal privacy