| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| HGI Hurst Trader https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4009 |
Page 1 of 18 |
| Author: | SpiderX [ Sun Dec 21, 2014 7:15 am ] |
| Post subject: | HGI Hurst Trader |
SERIOUS WARNING 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 Holy Grail Indicator at http://www.stevehopwoodforex.com/phpBB3 ... 44#p105044 HGI used with Hurst Charts at http://www.stevehopwoodforex.com/phpBB3 ... =88&t=3993 This EA is an attempt to automate the methods mentioned in http://www.stevehopwoodforex.com/phpBB3 ... =88&t=3993 In an effort to keep things simple, there would be less options in my EA compared to Steve's. At present, we keep trading to one trade per pair at any one time, and looking at how strict the Hurst filter is, we also should not expect to have multiple trades on the same pair going on at the same time too. However, if there is demand for more trades and features in the future, these would be added accordingly to the EA. Trade Entry Conditions: Buy Trades: Hurst (5)MA below Hurst (11)MA HGI Buy Trend/RAD/Wave Signal (Selectable) Sell Trades: Hurst (5)MA above Hurst (11)MA HGI Sell Trend/RAD/Wave Signal (Selectable) Trade Exit Conditions: Buy Trades: Either one of the following 1. Hurst(5) MA above Hurst(11) MA AND Any HGI Signal 2. Wave signalling Trend Weakness 3. Any Bearish HGI Signal (Bearish Wave/Trend/RAD/Range) *Condition 3 is added only as a safety precaution, usually either condition 1 or 2 will trigger the exit. Sell Trades: Either one of the following 1. Hurst(5) MA below Hurst(11) MA AND Any HGI Signal 2. Wave signalling Trend Weakness 3. Any Bullish HGI Signal (Bearish Wave/Trend/RAD/Range) Others: -Exit Half when the Hurst MA Cross (Optional) Please let me know if any of the rules are missing EA options:( Please adjust the following before running the EA) Basic Trade Setup Code: Select all It does not really matter which timeframe of chart you set this on, as the EA follows the above input. HGI Entry Options Code: Select all Note that if EntryOnWaveAndTrend is selected, then the EA will automatically set EntryOnWave and EntryOnTrend to false. HGI Exit Options Code: Select all ExitOnTrend- Exit trade on an opposite Trend Signal, i.e Trend Sell for Buy Trade ExitOnRAD - Exit trade on an opposite RAD Signal, i.e RAD Sell for Buy Trade ExitOnTrendWeakness - Exit trade on a wave signal, which shows ranging has begun ExitOnTrendStart - Exit trade on a wave signal, which shows that range has end, and new trend has potentially start. Partial Exit Code: Select all Pending Orders Code: Select all i.e: We allow the trade to move a little bit in favor of the direction before we enter to prevent getting caught in a bad trade from the start. Disable if you prefer direct entry. Other Notes: I try to keep my EA as simple as possible, so this EA reads and processes every minute, instead of every tick, since it does not seem to be necessary. This could be an issue if you try to use it one an M1 chart. 22 Dec 14: v1.01 -Corrected bug in CloseTheTrade. Mistake from copy/paste of code. -Line 570 should be if(bBearishHGISignal) instead of if(bBullishHGISignal) 23 Dec 14:v1.02 -Added more options for TradeExits Code: Select all ExitOnTrend- Exit trade on an opposite Trend Signal, i.e Trend Sell for Buy Trade ExitOnRAD - Exit trade on an opposite RAD Signal, i.e RAD Sell for Buy Trade ExitOnTrendWeakness - Exit trade on a wave signal, which shows ranging has begun ExitOnTrendStart - Exit trade on a wave signal, which shows that range has end, and new trend has potentially start. Those who find that the ExitOnHurst option exits the trade too fast, may use the other options to hang on to the trade a little longer. 29 Dec 14:v1.03 -Added more control for Start/Stop on Monday/Friday: Code: Select all Defaults to false. In addition, the EA gives a warning and screen feedback if the start/stop hour is activated. -Added variable Code: Select all Use in conjunction with variable MaxAllowedTrades for multi trades, though that would be rare at this point in time. -Added option for Range Trade Code: Select all -Added variables for MA shift Code: Select all -Fixed bug in LookForTrading 30 Dec 14:v1.03c -Further bug fixes in LookForTrading -CloseTheTrade only prints the CloseTrade status when the closing criteria is met. Previously it prints before that and could result in multiple prints. 30 Dec 14:v1.03d -Further bug fixes in LookForTrading 30 Dec 14:v1.03e -Further code improvements in LookForTrading and ManageStopLoss 11 Jan 15:v1.04 -Updated EA to use HGI Lib. Please dl the .ex and .mqh files and place in the appropriate folders -Added option to exit on Range Code: Select all -Added 60 and 240 MA Check. Enable CheckTrend to use. Code: Select all Code: Select all Code: Select all It does not make sense to use this without Hurst. MaxHGILookBackCandles - Maximum candles to look back. Only check the latest HGI signal. Once a HGI signal is found, the EA does not look further back. i.e If there is a RAD signal 2 candles ago, any signals before that would not be considered. CheckPriceMoveOnLookBack This applies when trading on a lookback signal. The default reference is the Close of the signal candle, otherwise if usePreviousHiLoAsRef is set true, then the Low of that candle is used for sells, while the High is used for buys. The current price must be between MaxPipsInTradeDir and MaxPipsAgainstTradeDir for the trade to be taken. The rationale is that if a Sell Trend signal was 3 candles ago, and if the price is now 50 pips below the Close of that candle, it implies the move has happened and might not be a good idea to enter. Or if the price is now 40 pips above the Close of that candle, then most likely the signal was not a good one and might be good to avoid. 11 Jan 15:v1.04b Fixed bug in trading time function. Due to enabling of #property strict in the EA, the bug surfaced and caused the EA to exit. Previously this bug was not uncovered without #property strict 20 Jan 15:v1.05 -Added Htf HGI/ Hurst Check option Code: Select all The code will check the current and previous HtfLookBackCandles for the last Signal. Use the HtfTradeTrend/RAD/Range/Wave/WaveAndTrend options to determine which Htf signal to follow. Set HtfUseHurst to enable Hurst check on the higher time frame -Added Trade Balance filters Code: Select all LimitTradesPerCurrency - limits the maximum trades of each currency subject to MaxTradesPerCurrency 20 Jan 15:v1.05b Corrected some small bugs which causing the HGI candle lookback shift to display wrongly and spelling errors Cheers |
|
| Author: | Radar [ Sun Dec 21, 2014 7:56 am ] |
| Post subject: | HGI Hurst Trader |
Hey SpiderX, Thanks for this one Have fun! Radar =8^) |
|
| Author: | hannele [ Sun Dec 21, 2014 8:57 am ] |
| Post subject: | HGI Hurst Trader |
Thank you SpiderX, I will give it a whirl this week. cheers hannele |
|
| Author: | SWG123 [ Sun Dec 21, 2014 9:07 am ] |
| Post subject: | HGI Hurst Trader |
Thanks SpiderX - much appreciated |
|
| Author: | dudest [ Sun Dec 21, 2014 9:33 am ] |
| Post subject: | HGI Hurst Trader |
| Author: | Neno0102 [ Sun Dec 21, 2014 11:27 am ] |
| Post subject: | HGI Hurst Trader |
Thanks Spider. Nice gift for Christmas. :hi: |
|
| Author: | traderduke [ Sun Dec 21, 2014 2:10 pm ] |
| Post subject: | HGI Hurst Trader |
SpiderX Have great Holiday & thanks a million, I hope. Now I'll be visiting relatives and wanting to get home to play with my new toy. Was it you who said Retirement can be exciting, Your right!! Regards ray |
|
| Author: | Jollyroger [ Sun Dec 21, 2014 2:47 pm ] |
| Post subject: | HGI Hurst Trader |
Thanks Spider: I'm going to give this a run. I traded Hurst manually with HGI when it was first posted by Pedro but found myself using Hurst as the dominant indicator rather than HGI. It kept me out of a few bad trades but also colored my judgment to the point that I was missing some very good trades so I quit using it. Hopefully the EA will solve this problem since it will make the decisions according to its programed rules. Roger MERRY CHRISTMAS |
|
| Author: | Dewey McG [ Sun Dec 21, 2014 5:17 pm ] |
| Post subject: | HGI Hurst Trader |
Hello Spyder. Thanks for working on this EA. I had been playing around with a trade simulator before your EA and was looking at EURCAD because it has been ranging this month and I thought that would be a good test. In ran the EA for the 1st week of December because I had already done that with a simulator. There seems to be some bugs. As you can see from the PIC there were signals confirmed by Hurst which were not taken, one trade taken well after the signal and two taken that didn't seem to have a signal. Can I also suggest allowing separate TP targets for range trades? I suspect going for smaller TP targets may work better on these, while shooting for larger targets for the big arrows. |
|
| Author: | nicolkoekoek [ Sun Dec 21, 2014 7:58 pm ] |
| Post subject: | HGI Hurst Trader |
Thanks Spider for your very nice work! I can't believe how many X-mas presents I got this year.. |
|
| All times are UTC | Page 1 of 18 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|