simple add this function in your price model
public function getPrices()
{
$collection = $this->getLayer()->getProductCollection();
$data[]=array('from' =>$collection->getMinPrice(),
'to' =>$collection->getMaxPrice());
return $data;
}
in your price block
get them like that
public function getPrices()
{
return Mage::getModel($this->_filterModelName)->getPrices();
}
this will give maximum and minimum price for recent collection
this is model core class
Mage/Catalog/Model/Layer/Filter/Price.php
core block price
Mage/Catalog/Block/Layer/Filter/Price.php
Don't change in core files if you want to change them copy in app/code/local