- 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 meaning of the term 'trading sessions' and their timing.
- The Average True Range indicator you will find in the Indicators folder of you Navigator window.
Newcomers to this forum
Newcomers here may not yet be familiar with Bob's (user name Nanningbob) work here. Even if familiar, you might have missed or not yet read, some of the principles he has taught us. OAD depends upon adhering to these principles, so go now to post 2 here for a precis of them. It will help you understand how OAD works.
Introduction
Once a Day 'n Bob has arisen from our experiments with Once a Month at http://www.stevehopwoodforex.com/phpBB3 ... 861#p93861. Once a Month was coded to trade in the direction of the monthly candle, on days identified as those that had led to the greatest profits over the previous couple of years. OAM is a multi-trade ea but the trades were intended to be viewed as individual trades with their own take profit.
I noticed that difficult and ultimately losing trades were usually taken in opposition to the trend identified by Bob's H4 240 period Moving Average. I added this filter to OAM and quickly found that trades could be taken daily and profitably closed as a basket later in the day, rather than waiting for a set close day later in the month - a kind of rinse-and-repeat cycle of trading. Others have enjoyed similar success and we have had a lot of fun.
Once a Day 'n Bob is a daily implementation of how a lot of us ended up trading OAM.
Trading method
- open a basket of trades daily, at a time of our own choice.
- ascertain the overall trend for each pair by referring to Bob's moving average.
- trade each pair in the direction of the current monthly candle, so long as this is in agreement with the overall trend:
- the trades can have their own individual take profit.
- the whole position can be treated as a basket and closed at a basket take profit.
- both individual tp and basket tp can operate at the same time.
- the remains of the original position can be closed at a time of our choice, or left to run.
OAM calculated individual trades' take profits as a percentage of the average move from the chosen trading day until the end of the month. This is not relevant to OAD, so I have replaced it with ATR, the Average True Range indi you will find in your Indicators folder.
Inputs
I am not going to describe the first four inputs; anyone unable to work them out for themselves should not be here, so go away and learn the rock-bottom basics.
- AlwaysOn tells OAD not to wait for a fresh tick before calculating the basket balance etc. Instead, it loops around the code twice a second in order to keep up with the changing upl of he basket. If you enable AlwaysOn, remember to disable AutoTrading on your platform before attempting to change your inputs of load up new versions of the bot; you will learn why the first time you forget and your platform freezes for about half a minute. It does no harm, but is bloody irritating and is yet another in the myriad reasons why I describe this ludicrous platform as CrapTx.
- ATR for Take Profit
- AtrPeriod: the period over which you want the indi to calculate atr. The default equates to roughly one month of trading. A zero value for this input turns off ATR and results in OAD treating the trades entirely as basket trades.
- AtrTimeFrame: the chart time frame for the calculation, expressed in minutes so the D1 would be 1440. The default of the H4 is pure guesswork; I have no idea which one is best.
- AtrTpMultiplier: OAD multiplies the result of the ATR call by this value to create multiples of atr. These are added to a buy open price, or subtracted from a sell open price, to calculate individual trades' take profits.
- Basket trade management:
- CashProfitTarget: OAD will close the entire basket when the upl in cash reaches this target. A zero value disables this.
- CashProfitTargetPerTrade: this is the dynamic basket take profit. OAD multiplies the number of open trades by this figure to give the basket take profit. This figure reduces as trades close after hitting their individual take profit.
- CombinedOpenCloseTargetPips: trades close at TP, leaving behind the losers. OAD will close the remainder of the basket when Closed_pips - Open_pips reaches this value. A zero input turns off this feature.
- Trading days and times.
- these should be pretty obvious, so I am not going to explain them. You enter trade send and close hours in the relevant inputs. Note that OAD will only send and close trades during the actual hour in the inputs; you have to restart the ea with different values in these inputs if you want to send/close trades at different times. UseBrokerTime allows you to use your broker's time for the inputs; UseLocalTime allows you to use your own local time as shown as the time on your computer's clock. Whichever one you use, I suggest you pick the open hour that equates to the London session open time, then close about 8 hours later. How you work out what this is should be is up to you. As usual, questions about how to tell the time are banned and will be deleted, along with any replies.
- Moving average: this is Bob's sma filter. Leave it alone unless you know what you are doing.
- Swap filters: these allow you to disable trading against the high-swap currencies and is probably irrelevant here, but I leave them in just in case they are needed.
These EA's preceded Once a Day 'n Bob and were part of the process that led to his development. Explore them to see if there is anything to suit you:
- Once a Month - the direct predecessor of Once a Day 'n Bob http://www.stevehopwoodforex.com/phpBB3 ... f=5&t=3649
- Once a Week at http://www.stevehopwoodforex.com/phpBB3 ... f=5&t=3587
- Once a Day at http://www.stevehopwoodforex.com/phpBB3 ... f=5&t=3628
- Once a Something at http://www.stevehopwoodforex.com/phpBB3 ... f=5&t=3643. This is an amalgamation of the two previous ea's.
- Once a Timeframe - Radar's take on all of the above except for OAD .n Bob: http://www.stevehopwoodforex.com/phpBB3 ... f=5&t=3685
Bearing in mind the stuff about the difficulties trading Monday and Friday, we may disable these in live trading. On demo for now, leave the enabled to see what happens. That apart, experiment and see if you can find settings that work consistently for you.
Have fun.
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
list][*]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[/list][/list]
-