Author

Topic: How do I calculate average entry price w/ lots of DCA & partial profit taking? (Read 72 times)

newbie
Activity: 6
Merit: 0
In other words, the Average Entry does not change just because partial profits are taken at some point.
copper member
Activity: 2870
Merit: 1279
Try Gunbot for a month go to -> https://gunbot.ph
Basically, averaging would be easy. You just need the total amount of trades and the actual values of your entries. Add all the values of the entry price and then divide the total amount number of trades. You will get the AEP or Average Entry Price.

Code:
AEP = Sum of entry prices/Total number of trades

It's not going to valuate on the oldest trade alone, it's going to take the entirety, as long as you are in the same pair.
newbie
Activity: 6
Merit: 0
If I have a dozen trades for a dozen different dates, I assume when partial profit is taken, it's taken from the oldest trade. Is there a formula for calculating Average Entry Price in such situations? The formulas that I can find do not seem incorporate any taking of profits.
Jump to: