Job finished
Specification
I have testet the free EA, Moving Average, Copyright © 2005, MetaQuotes Software Corp.
It is not always doing what it should do.
I have testet it with the long/short option in the 15 min frame (EURUSD) in Metatrader 4.
Period 2011.04.07 - 2011.09.29
Lots: 1
Max risk: 0.1
Decreasefactor: 38
MovingPeriod: 7
Moving shift: 55
-------------------------------------
Description of problem
Example:
2011.09.14 17.15 Buy at 1.37105 Correct opening of Long position
2011.09.16 06.45 Close at 1.38577 (Should have made an exit 45 minutes earlier 06.00 at approximately 1.38585 and then imediately open a shortposition)
2011.09.16 08.30 Buy at 1.3866 ( The opening is ok, but the position should have been closed 15 minutes later 08.45 at approximately 1.38555, and then open a shortposition)
2011.09.19 23.30 Close at 1.36771 ( The Longposition is closed with a big loss instead of a good profit. Further more, the position should have been closed 20.00 at approx 1.36781)
What I want in my EA
-The above mentioned faults must not take place.
Basic rules
The opened position should always be Long, when MA1 > MA2
and
Short when MA1 < MA2
-Usable with trading in all currency pairs (or the most common). I would also like to trade index, gold, silver and stocks if that is possible.
-Timeframes: All availble in MT4
-Trading: "Long Only" , "Short Only" or Long&Short.
Trading "Long Only" with one set of parameters, and "Short Only" with another set of parameters in the same currencypair (two different charts?)
- MA1, MA2, (All kinds of MA's in MT4 should be available)
- MA1 mode
- MA2 mode
- Moving shift,
-Slippage
- Same kind of money management as in the EA I have mentioned above with a "maximum risk"
-Every settings must be Optimizable
-Must never fail to open or close a position because of breakdown in internet connection or any other circumstances. Always make a check that the position is correct and that the orders has been carried out. Better make a delayed trade than being positioned in the wrong direction.
-Special Stoploss when PRICE , not MA1, is crossing MA2 in a sudden big move.
-If a gap in price occurs, for example after the weekend, then check if the position should be Long or Short, using the "Basic rules".
Use of: "Take profit" and "Normal Stop loss" shall be optional (True/false)
-When you run the Expert Advisor, it should attach the used indicators with the specified parameters;
-The information on the opening/closing of positions should be stored in the Journal;
-If there are any errors, it must print a message describing the error.
- Handling manually opened orders. Choose between
1) Use normal rules or 2) Leave it for manual operation.
All suggestions for improvement are welcome.
There is probably something i have forgotten, or something I do not know about.
I have no idea what this should cost, so I am looking forward to your suggestions.