# Calculating Exact Volume Needed to Earn Specific Amount from Trade

I am working on an automated financial trading strategy and I need help with a formula.

I need to earn \$12.00 from an increase of 14.3 Pips.

In my most recent trade, I lost \$10.53 by loosing 4.6 Pips trading a volume of 80000 units.

Presuming that I am guaranteed to win my trade, what volume would I need to trade to earn exactly \$15.00?

Please provide me with the formula for this, thanks!
LVL 10
###### Who is Participating?

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Commented:
What is a Pip, and do you need to earn exactly \$12.00 or exactly \$15.00?
Author Commented:
I apologize for the confusion.  A Pip is simply a measure of increase.

I need to earn exactly \$12.00.

Let me re-phrase the question like this:

I need to earn \$12.00 from a rainfall amount of 14.3 millimeters.

I recently earned \$10.53 when it rained 4.6 millimeters and I had 80000 collection jars.

How many collection jars do I need to earn exactly \$12.00 if the rainfall amount will be 14.3 millimeters?
Commented:
If   10.53  =  k * (4.6 Pips)*(80000 units)    then   k  = 2.861E-05