function pipback() 
{
 lotsize=document.getElementById('lotsize').value;
 lots=document.getElementById('lots').value;
 currency=document.getElementById('currency').value;
 trades=document.getElementById('trades').value;
 pips=document.getElementById('pips').value;
 monthly = lotsize*lots*currency*trades*pips*20*10;
 monthly = monthly.toFixed(2);
 weekly = monthly/4
 weekly = weekly.toFixed(2);
 daily = monthly/20
 daily = daily.toFixed(2);
 document.getElementById('output').innerHTML='<strong>$' + monthly + '</strong>';
 document.getElementById('output2').innerHTML='<strong>$' + weekly + '</strong>';
 document.getElementById('output3').innerHTML='<strong>$' + daily + '</strong>';
} 
