October 31, 2010 – 10:35 am | by trader
My neutral strategy to trade forex has been running in a demo account of forex.com since 2010-10-04, almost a month of trading. We are facing losses but this is not problem right now, the problem is to fine tune the strategy.
So, lets take a look at the statement: Statement from 2010-10-04 to 2010-10-29
As a pair trader i need to treat the long and short position opened when hedging as a single trade and examine the overall result of the 2 securities. I transformed manually the html default statement from the meta trader to a comma separated csv file. i added a blank space to separate the pairs trades. Note that there are trades with one leg only, this were trades opened befoe the expert advisor modification to avoid this situation. scrolling down i can see how the last trades are all opened in pairs as they should.
Another thing to note is that some trades don’t get closed after the pair lost 77 usd or earned 30 usd. This is because a few trades were closed manually, this is avoided at all cost at later trades. If the trade ends at for example -80 usd it is probably because we were facing high volatility at the moment of close and the slippage caused to dont exit at the exact wanted price.
The CSV file of trades for october
After this i passed the csv to a standard 2003 excel file, this way i can add colors and also make some calculations with the columns. I painted in green the winners and in red the loosers.
Excel painted file
I calculated in the spreadsheet that 30 trades were made in total, 15 trades were winners and 15 were losses. With this in mind we know that 50% percent of the trades are winners and 50% are lossers, this explain the overall lost:
77 x 15 = 1155
30 x 15 = 450
——————–
705Â usd of loss. It is clear that the stop loss is to big and the main reason of the overall strategy.
Consider the following equation:
(NW x MW) – (NL x ML) = 0
NW = number of winning trades
MW = magnitude of a winner trade
NL = number of losser trades
ML = magnitude of a losser trade
The equation assumes we will end up with 0 profit, we of course want to win money but for now lets try to don’t loose.
If the number of total trades is lets say 100, we have 50 winners and 50 lossers, we resolve the ecuation for ML:
- (50 x ML) = – 50 x 30 = -1500
ML = 1500/50= 30
It is pretty obvious that the stop loss should be placed at 30 usd to this strategy of 50-50 end up with no loss.
This 30 usd will be the stop loss used for my strategy from now one to start november, i already changed the stop loss value in both expert advisors (eurusd-gbpusd and eurjpy-gbpjpy) to 30 usd.
New stop loss = 30 usd
Profit taker = remains 30 usd
Lets now assume that in the same 100 trades we will like to make for example 500 dollars. What will be the stop loss value in this case ?
(30×50) – SLx50 = 500
- (SL x 500) = 500 – 1500
- SL = -1000/50 = 20 usd
To make 500 usd in theory we should have the stop loss at 20 usd and the take profits at 30 usd. In that case we have a winner strategy in design.
Tags: equation, mathematics, neutral, risk management, stop loss, strategy design