- Most Forex traders lose all their money.
- Using the robot posted here in trading Forex does not guarantee success.
- Trading this robot could lead to serious financial loss.
- Trading this robot without understanding its underlying trading strategies guarantees traders will lose their money.
- This is not a set-and-forget ea; there is no such thing and anyone who tries to claim there is, is either stupid or lying. This ea requires frequent manual intervention.
- At best, a trading robot is only 90% as good as the manual strategy it trades. At best. At worst, it can be much less effective. If the strategy is rubbish, so is the robot.
- To trade this robot, you have to understand:
- How to use EA's.
- The concept of basket trading.
Bob pointed out in his 10.7 thread that weekly candles tend to have full bodies - not always but a strong tendency. Look at a few W1 charts and you will see this.
This suggests that once the weekly trading direction is established, there is every likelihood it is going to continue in that direction. This gave me the idea for the Once a Week basket trader EA at http://www.stevehopwoodforex.com/phpBB3 ... f=5&t=3587
It was not long before I was changing the EA inputs so that it opened a basket at 8.00 London time, then closed it at 16.00. This worked well until Wednesday, when a near +300 pip high point turned into a near -600 pip loss basket close.
Given that I was already trading the EA once a day rather than once a week, and that I needed slightly more effective trade management, I decided to adapt OAW.
Once a Day trades thus:
- open the basket at the start of my chosen trading hour in the direction of the weekly movement.
- closes the trades at a pre-chosen cash profit target.
- closes the basket at my chosen closure hour if the tp has not been hit.
- my MPTM (Multi-Purpose Trade Manager) available at http://www.stevehopwoodforex.com/phpBB3 ... ?f=21&t=64
- Paul's MPBM (Multi-Purpose Basket Manager) at http://www.stevehopwoodforex.com/phpBB3 ... he%20post.
- PairsToTrade: this is the list of comma-separated pairs you want to include in your basket. Linked to this and much further down is ShowPairInfo. If ShowPairInfo is set to true, OAW will display a list of your pairs and their Bid on the chart. The purpose of this is to allow you to check that all the pairs are available via your broker. The pair is not available to you if the Bid shows up as zero. Once you have deleted unwanted pairs, set ShowPairInfo to false to cut down on processor use. Forget about pair suffixes - anything I code automatically takes care of these.
- MinimumTradableMovementPips: this is the smallest number of pips the market must move away from the weekly open to allow a trade. OAD and its mum, OAW, quickly showed that taking trades when the market was close to the weekly open often resulted in them looking as though they had been taken in the wrong direction after the market quickly reversed. I have no idea whether the default of 20 is any use - we are talking pure guesswork here.
- anyone who needs Lot or TradeComment explaining needs to spend time with a therapist.
- CashProfitTarget: you have in your mind the profit in dollars, euros, pounds, martian qqxzzxqq or whatever you want to bank as a profit target. The default represents c. 2% of the balance of my GP demo, so play with this and find a value that suits your account.
- CashProfitTargetPerTrade: if > 0, this tells OAD to multiply the number of trades on your account by this figure, to create a CashProfitTarget resulting from this calculation.
- AlwaysOn. If left to the default of 'true', this input tells the ea to loop around its decision code twice a second instead of waiting for the next tick. To see the difference this makes, turn it off and compare the displayed 'Current profit' on the chart with the actual profit displayed by your platform. If 'true', this causes difficulties with accessing the inputs window and platform freezes if you try to do anything at all whilst EA's are enabled, so remember to disable them first. You will see what I mean the first time you forget.
- TradeMonday. If left at the default of 'true' OAD will trade on Monday. If set to false, it will sleep for the day.
- MondayTradeOpenHour is the input that tells you at which time of your trading day to send the trade on Monday. This input works on your own local computer clock time, so it you want trades sending at 10.00 am then enter 10. Forget about broker time etc.
- MondayTradeCloseHour tell OAD when to close the basket if it has not hit tp.
- Subsequent TradeTuesday etc inputs give you day to day control over your trading days and hours.
- ShowTradingChoices tells OAD to show a list of your trading day/open/close choices.
- at 8.00 AM on each morning, OAD sends trades in the direction already established by the current W1 direction. W1 has risen, it buys the pair. W1 has fallen, it sells the pair.
- at 4.00 PM on each afternoon, OAD closes all open trades owned by the bot unless the basket has already hit tp.
Pop the ea on a demo in time for next week. It is a basket trader, so you only need it on one chart - I suggest GJ. Change the trading hours and cash take profit to suit yourself, then leave it alone for the time being. Ideas about dealing with losing trades/adding to winning trades might come up in the future. We shall see.
Have fun.
dudest variant on all this
dudest has posted an ea that works along the same lines, but is an interesting looking variant. Try it out.
Link: http://www.stevehopwoodforex.com/phpBB3 ... f=5&t=3612
Brief description:
1. Currently applied on 10 pairs only
( AUDUSD, CADCHF, CADJPY, EURNZD, EURSEK, GBPJPY, GBPNZD, NZDUSD, USDSGD, XAUUSD )
2. Apart from CADJPY, CADCHF and GBPJPY, the others assume that the Monday candle is telling a lie; so on Tuesday, the trade that is opened is opposite the Monday close
3. StopLossPips and JumpingStopPips are provided by half the 5-day ATR.
JS only moves SL to BreakEven ( +2 pips BEP default )
4. This one uses the Broker's time, not the local computer time.
Matters of general interest
Go here to download and run the script that will fill your platform's missing chart history: http://www.stevehopwoodforex.com/phpBB3 ... f=15&t=254
Read this post:
http://www.stevehopwoodforex.com/phpBB3 ... p?f=6&t=78 Newbie traders, read this for inspiration and warning. Those of you who have suffered losses, read it for inspiration.
Masterly summary of hedging: http://www.forexfactory.com/showthread. ... ost4977179
EA coding
I receive may requests to code EA's. Traders, if I code your EA for free, then I will share it here. If you want me to code your EA without sharing, then my fee is $100 payable into my paypal account. I explain why at http://www.stevehopwoodforex.com/phpBB3 ... ?f=15&t=79, at the bottom of the post.
Useful utilities/EA's/scripts
- MaryJane has posted a fabulous utility to allow us to resize EA input windows: http://www.stevehopwoodforex.com/phpBB3 ... f=5&t=3427
- Multi purpose trade manager: http://www.stevehopwoodforex.com/phpBB3 ... ?f=21&t=64
- Account equity analyser: http://www.forexfactory.com/showthread. ... ost4709098, which includes a template for both USD and the Euro.
- Past-trades display indi by squalou; shows a graphical display of the success/failure of trades in your History tab. Breathtaking piece of work. http://www.forexfactory.com/showthread. ... ost3830610
- My shell EA – the code I use to produce EA's so quickly. http://www.stevehopwoodforex.com/phpBB3 ... ?f=15&t=79