var fDesc=new Array(); fDesc[0] = "Forex Trade Calculator is used to calculate a current profit/loss of open positions, using real-time quotes and to calculate profit/loss after "partial closing" or "reversing" positions.
Minimized panel places Always on top and show current profit/loss pips and current quotations in real time mode.
How to use:
1. Select instrument (EUR/USD etc) from dropdown list.
2. Input current lot and opening price in the first row. Profit, pps calculated automatically, using real-time quotes.
3. Input change of lot in the second row. If you buy additional lot - it must be positive value, else - negative value.
4. Data in New row (Lot, profit, pps, opening price) will be calculated automatically.
Panel changes color to red when waiting quotes data."; function tShowHide(id, show) { var s = document.getElementById("desc"); if ((s.innerHTML.length<=212 || show==1) && show!=2) { s.innerHTML = fDesc[id]; if (document.getElementById('m1')) document.getElementById('m1').style.display='none'; if (document.getElementById('m2')) document.getElementById('m2').style.display='none'; if (document.getElementById('more_txt')) document.getElementById('more_txt').style.display='inline'; } else { s.innerHTML = ''; } }