You can create a custom column with the specified formula calculation in any panel. To create custom column, open Settings, select Columns tab and press Create custom column. The Formula editor dialog box is displayed as follows:

You can use Wizard Buttons to create the formula or Intellisense and press OK.
To edit already created formula in custom column, open Settings->Columns, select Formula > Text and press Edit button.
Example of calculation profit in pips (for Position panel):
(table.Bid-table.Ask)/table.Volume