Login Page - Create Account

Help With Daily Profit/Loss Value

Help With Daily Profit/Loss Value

This help topic explains how the Daily Profit/Loss value you see on the Trade Window and other areas within the chart that show this value, is determined and how to ensure an accurate calculation of the Daily Profit/Loss. The information on this page applies to version 1815 and higher.

The Daily Profit/Loss can be optionally be displayed at the top left of a chart or Trade DOM. The Daily Profit/Loss is prefixed with DPL:. Refer to the image below.

This documentation also applies to the Net Profit/Loss (NPL:/N:) when Global Settings >> Chart Trade Settings >> Include Open P/L in Chart/Trade DOM P/L Display is enabled. The Net Profit/Loss is Daily Profit/Loss plus Open Position Profit/Loss.

The Daily Profit/Loss is client-side calculated from order fills. There are things that can and do go wrong which can affect the calculation which Sierra Chart does not have control over. The main item that can go wrong is missing order fill records during the trading day.

The documentation on this page primarily applies to non-simulated trading but also applies to simulated trading. Since simulated trading functions in a very well controlled environment within Sierra Chart, generally there should not be inaccuracies with the Daily Profit/Loss, but there can be circumstances where there could be. This page goes into detail explaining how the Daily Profit/Loss is determined.

There can also be incorrect Symbol related settings which can affect the displayed Daily Profit/Loss value and can cause inconsistencies. For more information about these settings, refer to Profit/Loss Calculations and Symbol Settings.

It needs to be understood that Sierra Chart is an independent Trading and Charting program which is integrated with various Trading services. Sierra Chart also has its own Trade Simulation Mode.

You cannot compare the Daily Profit/Loss value that you see within Sierra Chart to a brokerage account statement. Or other trading programs connected to your trading account. Inevitably there are going to be calculation differences for various reasons which can result in a different value. This particular help topic guides you through how the calculations are arrived at within Sierra Chart and how to determine if there is an incorrect setting or a problem with the order fill data.

Additionally there can also be missing order fills which is a typical problem due to the limited order fill data on trading servers, which leads to an incorrect Daily Profit/Loss value. Some services like BitMex and Sierra Chart LMAX connection, maintain long-term order fill history and missing order fills will not be a problem with these services.

  1. It is important to understand exactly what the Daily Profit/Loss is and how it is calculated within Sierra Chart. The Daily Profit/Loss value includes the total Profit/Loss for Trades (consisting of an opening order fill and a closing order fill) that were opened either in the current or a prior day, and closed within the current trading day. So even if a position from a prior day is closed and the current day it will be added to the Daily Profit/Loss. This is the case effective with version 1815 and higher.
  2. The Daily Profit/Loss may not display in a Historical Daily or longer timeframe chart if the Date-Time of the last bar in the chart is a day ahead of the Date-Time of the Trades in the current trading day. Therefore, only use Intraday charts or a Trading DOM when relying on Daily Profit/Loss values within a chart or Trading DOM.
  3. Select Global Settings >> Chart Trade Settings. Uncheck the Include Open P/L in Chart/Trade DOM P/L Display (NPL) option if it is already enabled. Press OK. This will remove the Open Profit/Loss from being added to the Daily Profit/Loss, which will give you the Net Profit/Loss. This avoids confusion.
  4. The start of the trading day for the Daily Profit/Loss is according to the Chart >> Chart Settings >> Session Times >> Start Time or Evening Start Time when using the Evening Session Times. For further details, refer to Session Times. At this time, the Daily Profit/Loss resets back to 0.

    In the case where the Start Time has a later time than the End Time, then this time starts in the prior trading day. For example, if the date is 2014-01-02 and the Evening Start Time is set to 18:00:00, then the trading day begins at 2014-01-01 18:00:00 and continues until 2014-01-02 17:59:59. The Session times are relative to the global Time Zone setting in Sierra Chart or the chart specific Time Zone setting.
  5. To control what order fills are used in the Daily Profit/Loss calculation it is important to accurately control what is the first order fill loaded into the chart. By default the first fill is going to the available order fills at or after the Date-Time of the first bar in the chart.

    It is essential that the very first order fill that is loaded into the chart is the start of a new Trade Position. If it is not, this will throw the Daily Profit/Loss calculation off. For further information, refer to Understanding and Setting the Start Date-Time for a Trades List.
  6. To load order fills for the current day only, enable Chart >> Chart Settings >> Advanced Settings >> Load Order Fills for Current Day Only.

    However, you need to be conscientious of what is considered the start of the day and that is according to the Session Times for the chart as explained above. This option is only useful if there was no prior Trade Position in the prior day which is carried forward into the current trading day, according to the chart Session Times. Otherwise, do not enable it. Using the Load Order Fills for Current Day Only option will affect the Position Quantity for simulated trading.
  7. Alternatively set the Chart >> Chart Settings >> Advanced Settings >> Order Fills Start Date-Time. This is usually going to be the better option to use. Set this to the starting Date-Time when your Trade Position was flat for the Symbol and Trade Account of the chart or Trade DOM, just before you began trading for the current day. It is better to use this particular setting and periodically update it.

    If you are not sure what to set it to, then if your Trade Position is currently flat, then set it to the current Date-Time according to the time zone of the chart. If you currently have a Trade Position, then wait until it is flat and then set it at that time to the current Date-Time.

    It does not need to be updated every day. If it goes back several days that is fine. But it just needs to be set to a point in time where the Trade Position was flat and there must not be any missing order fills since that time. If there is even a single missing fill this will very likely lead to a problem with the Daily Profit/Loss calculation.
  8. After you have completed the settings above, you can can see the Date-Time of the first order fill loaded in the chart through the Trade >> Trade Activity Log >> Trade Stats for Charts tab. Look at the Order Fills Start Date-Time field for the chart.
  9. It is essential that there are no missing order fills since that Date-Time. To see that you have the order fills, look for them in the Trade Activity Log. Refer to Viewing Historical Trade Activity.
  10. To see that there are no missing order fills and you have the correct starting Date-Time preloading the order fills, go to the Trade >> Trade Activity Log >> Trade Stats for Charts tab. Locate the chart in the list of charts. Not every chart will be listed but if it is not listed, an equivalent chart will be listed. Look at the Open Quantity field. If that is indeed your current Position Quantity for the Symbol and Trade Account of the chart, then you are good. For an explanation of how the Open Quantity field is calculated, refer to Chart Trade Stats Open Quantity Field Calculation
  11. If the Open Quantity field is not correct on the Trade Stats for Charts tab, you need to make sure there are no missing order fills for the Symbol and Trade account of the chart and adjust the Order Fills Start Date-Time for the chart.
  12. Verify you have the correct Profit/Loss Format set in Chart >> Chart Settings >> Advanced Settings. Refer to Profit/Loss Format. The letter after the Daily Profit/Loss indicates the format being used. For example, if you want to see a Currency Value and you see the letter P suffix after the Profit/Loss value, then you are looking at Points and not a Currency Value.
  13. The standard method of matching order fills uses a First In First Out method. It is also supported through the Chart >> Chart Settings >> Advanced Settings 3 >> Open Position Average Price setting to base to calculation on Last In First Out. It is recommended to use one of the First In First Out settings, but make sure you are using what you want.
  14. Select Chart >> Chart Settings >> Advanced Settings 3. Uncheck Use Symbol Commission Setting in Trade List and Statistics Calculations to remove the commission calculation from the Daily Profit/Loss value in the chart which avoids any unnecessary confusion when understanding the calculation result.
  15. To view what the Daily Profit/Loss was for a prior date, select Chart >> Chart Settings. Enable the Use Date Range option and then enter a From date which is at least one day prior to that date and enter a To date which is the date you want to look at the Daily Profit/Loss for.
  16. The Daily Profit/Loss value is calculated from the order fills available for the Symbol and Trade Account of the chart. To view these order fills, select Trade >> Trade Activity Log.
  17. Select the Trade Activity tab.
  18. On the Trade Activity Log, at the top left select Fills.
  19. Select the Symbol from the list of symbols. In the case of when you are using Sierra Chart Trade Simulation Mode, the symbol will be prefixed with [Sim].
  20. Select the Trade Account you want to see order fills for from the list of Trade Accounts. This needs to be the same Trade Account that the Trade Window for the chart is set to.
  21. In the Date Range to Display frame, set the starting From >> Date to the same date that you see in the Order Fills Start Date-Time field for the chart listed in Trade >> Trade Activity Log >> Trade Stats for Charts tab. However, if you are using Reversed Session Times in the chart, you need to set this Date to one day earlier than what you see for that field.

    Set the Time to what is considered the start of the trading day to match the Session Times setting as explained in step 4 above.

    In a chart the start of the trading day is according to the Session Times as explained above. In the Trade Activity Log the start of the trading day for Daily calculations is according to the Date Range to Display >> From >> [time] setting. This is critical to understand.
  22. Make sure To >> Today is checked.
  23. Uncheck the Use Commission setting to remove the commission calculation from the Daily Profit/Loss value.
  24. Press the Apply button.
  25. For further details, refer to Viewing Historical Trade Activity.
  26. Look at the fills in the Trade Activity tab and make sure they are all there for the current trading day.
  27. Make sure the Fill Price is correct for each fill.
  28. Make sure the Date-Time of the order fill is correct. If the Date-Time of the order fill is incorrect, then make sure your computer's clock is set accurately. For further details, refer to Incorrect Date and/or Time Display.
  29. If there are any missing or inaccurate fills, they can be inserted or edited using the Edit menu of the Trade Activity Log. Refer to the Menu Commands documentation.

    The reason why missing order fills can exist is because most trading servers do not provide historical order fills for other than the current trading day and they are cleared at the end of the trading day.

    Missing fills are a regular occurrence (Missing Order Fills from Trade Activity Log). Sierra Chart is currently developing a new futures order routing service which will not have this problem and deliver long-term historical order fills with detailed information to generate consistently accurate and reliable trading statistics including the Daily Profit/Loss. This is expected to be released in early 2019 and will be a replacement for all other futures trading systems.
  30. Select the Trade Statistics tab on the Trade Activity Log. In the Daily Trades column, the Closed Trades Profit/Loss field will show your Daily Profit/Loss value and should match what you see in the chart.
  31. Select the Trades tab on the Trade Activity Log.
  32. On the Trades tab, you can see how all of the order fills are grouped into individual Trades. One thing to be aware of is that it is possible that a closing fill within the current trading day, could have been matched up to an order fill in a prior trading day.
  33. For various technical reasons there is no guarantee as to the accuracy or completeness of the order fill data. Sierra Chart is not the provider of the backend trading system you are connected to and usually the backend trading system only maintains and historical order fill data for 1 day. Therefore, there is always a possibility order fills can be missed in the case of non-simulated trading.
  34. Finally, if support has referred you to this page, then as a matter of policy we do not provide any help beyond referring to this documentation with Daily Profit/Loss calculations. If you have a question about it and it does not look right, there is no further help we will provide.

Consistently Accurate Daily Profit/Loss Value

The information below applies not only to the Daily Profit/Loss but to the Trade Statistics and Trades tabs within the Trade Activity Log, order fills displayed on the chart and the entry/exit connecting lines for those fills.

In newer versions of Sierra Chart, when using Trade Simulation Mode, the Daily Profit/Loss value will consistently be accurate according to the relevant settings which are explained in the Help With Daily Profit/Loss Value section on this page.

When using the Sierra Chart Futures Order Routing Service or the Simulated Futures Trading Service, there will also be consistently accurate Daily Profit/Loss values and other Trade Statistics.

The reason that this can be achieved with Trade Simulation Mode or the specified Trading services is that with each order fill, the Position Quantity that exists just after the fill is recorded with the fill and there is always a complete set of historical order fills available on the server, unlike with other external Trading services which only provide historical fills for the current day. Whereas Sierra Chart provided Trading services provide order fills for at least 1 year. A dramatic difference!

There can be some rare exceptions where there could still be a problem which would require manual intervention according to the above documentation, but these would be rare exceptions. In general, nearly all of the time there is not going to be a problem with the Daily Profit/Loss value like there will often be with other supported external trading services.

*Last modified Monday, 13th May, 2019.