Why is trade profit sometimes positive if the entry and exit prices are equal?
Author: kribel
Creation Date: 8/7/2014 12:49 AM
profile picture

kribel

#1
Hello,

unfortunately I could not find any answer to this question in the forum yet. Therefore here it goes.

Why is the trade profit sometimes positive even if the entry and exit prices are equal? Here is a screenshot of the Trades tab from a backtest imported into Excel and filtered.



As you can see each trade has an equal entry and exit price. The trades that are highlighted green are fine. The negative profit is basically the commission. But what about the red highlighted one? I could not find any explanation why it is positive. Do you have any ideas?

Here are some more screenshots:

Information from the Trades tab


The trade itself


Many thanks
Konstantin
profile picture

Eugene

#2
The prices are not equal. This clearly is a positive trade according to the trend line, so your decimals are set incorrectly with regard to data precision. This affects chart display but full precision is used for trade decisions. In Wealth-Lab's Preferences > Advanced Options, please set Pricing Decimal Places to e.g. 4 and rerun the backtest. (As an alternative, you can do the same on a per symbol basis in the Symbol Info Manager). The entry price will change to something like 0.412 and the exit to e.g. 0.414 - after you subtract the commission, you'll see that it's alright.
profile picture

kribel

#3
HI Eugene,

many thanks! That explains it.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).