MT4 Testing Gives Wrong S/L £Amount
-
Hi FxDreema,
If you could cast your eye over my EA & screenshot I would appreciate it. Basically the attached EA is set to to risk 0.5% on the £2,000 balance which should show a loss of £10 when the S/L is triggered.
When run through MT4 Strategy Tester the trades Entry Price (1.76131), S/L Price (1.76378) and Amount/Point (£0.40) is correct. This should equal my risk amount of £10 ((1.76378 - 1.76131) * £0.40 = £9.88. This is close to my intended risk amount which is fine.
What actually happens is that MT4 Strategy Tester shows a loss of £56.02 which is 5x larger than it should be.
If you could let me know what the problem is and how to solve it I would greatly appreciate it.
Kind regards,
Steve. -
Hi FxDreema,
I forgot to mention that the test was to trade short on GBPAUD 5min chart starting on 16 September 2016. All the other parameters are set in the constants in the EA I attached to my previous post.
Kind regards,
Steve. -
I can see you are doing your own calculations for lot size, SL and TP. I don't know why, because there are many Money Management options available anyway, but what can say... It's probably something that is not calculated properly in all these Formula blocks.
-
Hi FxDreema,
Thanks, but the lot size, entry price and S/L price are all correct (as shown on the screenshot) so the EA is calculating it correctly. It just looks like MT4 is calculating the loss amount incorrectly.
If you look on the screenshot you will see that the levels are all correct but the loss amount shouldn't be the figure that it is.
Do you have any idea what would cause that?
Kind regards,
Steve. -
Well, the EA only says to MetaTrader "please, open this many lots with such SL and such TP" and then MetaTrader does the rest. And when your account currency is different than any of the second part of the currency pair, then don't expect direct connection between pips and money.