- 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.
- Bob's HGI indicator. Download an read about it at http://www.stevehopwoodforex.com/phpBB3 ... =88&t=3964
- Dottybot. Download the user guide from http://www.stevehopwoodforex.com/phpBB3 ... =93&t=4797
- Baluda's SUPER CSS-2.0. Download it from http://www.stevehopwoodforex.com/phpBB3 ... 88#p146488 then read about it in post 1.
- The concept of 'basket' trading.
- Nanningbob's Recovery trading.
I refer to SUPER CSS-2.0 here and in the inputs as SuperSlope - abbreviated to SS here.
HGBnDnSSnFB is an extension of Holy Graily Bob 'n Dotty. The trade trigger here is a Flying Budda, as described by TraderJoeForex in his thread at http://www.stevehopwoodforex.com/phpBB3 ... 101&t=5098. Download his template to make your SS colours the same as those shown in TJF's pictures and in the bot's chart feedback.
I have adapted HGBnDnSS to create this EA so users have all the options. The defaults tell the bot to trade as TJF describes, so:
- buy when there is a blue Flying Buddha and Super Slope is blue.
- sell when there is a red Flying Buddha and Super Slope is red.
- hgi_lib.ex4 from Bob's post 1 at http://www.stevehopwoodforex.com/phpBB3 ... =88&t=3964. You can put it in either your Experts or Libraries folder.
- HGBnD core library.mqh from http://www.stevehopwoodforex.com/phpBB3 ... =87&t=5077. This must go in your Include folder.
A quick note to noobs. Those of us who have been in on DottyBot's development from the start understand what is going on here, so I am not going to clutter up this thread with information already posted elsewhere. User Guide describes the panoply of gridding/hedging/offsetting. Holy Graily Bob 'n Dotty is posted at http://www.stevehopwoodforex.com/phpBB3 ... 40#p145240. Post 2 describes the full hedge trade that inspired the addition of the full hedging feature. The User Guide describes the panoply of gridding/hedging/offsetting.
Remember to download hgi_lib.ex4 from Bob's post as well, and save it in either your Experts or Libraries folder. HGBnDnSS will not run without it. You do not need HGI on your charts for anything other than reference; this EA uses Thomas' calls to hgi_lib.ex4 instead.
There is an inputs section for the Flying Buddha-related thingies. The "Indi inputs" are those that you enter into the Flying Buddha indicator posted in TJF's thread. The rest are all to do with how the bot enters and closes trades. Here are the inputs, their defaults and the comment that describes their functions
- "-- Trading inputs --";
- TradeEverySignal=true; //Take every trade signal
- MaxSignalsToFollow=10; //up to this maximum
- MinimumDistanceBetweenSignalsPips=10; //with this distance between signals.
- UsePercentageOfAtrForDistance=true; //Use atr to calculate the minimum distance
- FbAtrPeriod=24; //over this period
- FbPercentageOfAtrToUse=100; //at this percentage.
- "-- Trade closure inputs --";
- CloseOnOppositeFB=true; //Close buys following a down arrow and sells at an up arrow
- OnlyCloseWhenSuperSlopeAgrees=true; //but only when SS is the same direction as the arrow.
I have been demoing 0.1 lots on the 5 biggies + GJ - no grids etc but taking fresh FB signals. Trading time frame is H1 and SS D1. Demo started with $10,000.
It is possible to disable this EA in the lead up to a news release - this applies to all of the Dotty family and pretty much everything I have coded for about 3 years. Go to Rene's http://www.stevehopwoodforex.com/phpBB3 ... =97&t=5039 and download the EA. It goes on a single chart on your Empty4 platform and set up the inputs to do whatever it is you want it to do. Rene's EA will talk to all of mine and stop them doing anything in the run up to a news release.
We have to deal with this situation: The bot took the trade in the usual way. Then came the concatenation of the terms, "Possible impeachment" and "US President" within the same sentence and the USD tanked. The trade is currently at just over -300
This sort of event will occur on all tf's. Just because we know where the market is going eventually does not mean we know when 'eventually' will be. At least, I don't.
Here is what I have coded to help us out: when the market moves determinedly against us and we have an open market trade, then leave a stop order behind the market to take advantage of the retrace that will come eventually. The inputs that control this behaviour are:
- FollowAdverseMarketWithStopOrders: tells Peaky to place the stops as the market moves against our market trade.
- MarketDistancePips: tells Peaky how far the market must move before sending a stop order. The order will be a half way between the most recent order open price (market or stop makes no difference) and the current price.
- MaxTradesAllowed: this input is a part of all of my EA's, although it is hidden when the bot will definitely trade only once at a time. It is important here. Peaky will not send any more stop orders once the total of stop and market orders (i.e. OpenTrades for the coders) reaches this figure.
- TradesToConstituteBasket: imagine this scenario: the market reaches the peak high and fills the limit sell order then retraces and fills the sell stop order; we are in a healthy profit position and can allow the market to proceed to our take profit. Now imagine instead that the market continues to rise: Peaky obediently leaves sell stop orders behind him - let's say 5; the market finally gets its bloody act together, does what it is damn well supposed to do and reverses; we are in a basic Recovery situation and trading the position as a basket. This input tells us how many trades we need to have open to be in Recovery and so treating the position as a basket. We simply want out and as soon as possible.
- BasketCashProfitTarget: no need to suffer the pain of Recovery without some reward, so this input tells Peaky how much cash profit to lock in before closing the basket of trades.
Note to noobs: before asking about basket trading and Recovery, break the habit of a lifetime and read "To trade this robot, you have to understand:" at the top of this post. I will eviscerate you if ask about them here.
----
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
- 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
-