| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Dibs method auto trading robot by Steve Hopwood MOD https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=462 |
Page 2 of 8 |
| Author: | SteveHopwood [ Fri Apr 13, 2012 11:25 am ] |
| Post subject: | Re: Dibs method auto trading robot by Steve Hopwood MOD |
It looks to me as though you are making some progress here, Peter. I will include a link when I next do one of my member-wide pm's to see if others are interested. |
|
| Author: | fx800 [ Fri Apr 13, 2012 12:13 pm ] |
| Post subject: | Re: Dibs method auto trading robot by Steve Hopwood MOD |
Thank you very much for your encouragement, Steve. Best regards, Peter |
|
| Author: | fx800 [ Fri Apr 13, 2012 12:27 pm ] |
| Post subject: | Re: Dibs method auto trading robot by Steve Hopwood MOD |
As the ea (Dibs mod with Rsi) does not trade very often on the H4 TF, I have today increased the lot size to 1 from 0.2 and kept ForexKiwi at 400. Peter. |
|
| Author: | fx800 [ Fri Apr 13, 2012 5:32 pm ] |
| Post subject: | Re: Dibs ea MOD with Rsi |
Let me expand on how I am using the Dibs semi auto ea to trade support/resistance zones. 1. I prepare three templates, one for buy, one for sell and one for stop trading. 2. I use H4 TF (less prone to market noise), load sup dem indi on to a chart. 3. When PA enters a supply zone, I apply the sell template on the chart. You will often see inside bars in the vicinity of the supply/demand zones. If PA reverses, it will trigger a sell from an inside bar setup. SL is automatically set by the ea. Trade management as per input for the ea. 4. The reverse applies for the demand zones. I attach a short forward test on this method of trading below. Obviously, a longer period of testing is required before any conclusion can be made. I think it may be possible to code this trading method by telling the ea to go short when price enters a supply zone and continue trading short until it enters a demand zone. I tried in vain (using DIY copy and paste) to code the ea to sell when "inside.supply" and got many error warnings. Enough of my rumblings for now. Perhaps, some one has a bettter idea. Peter. EDIT : Attached below is a chart with possible inside bar trades away from sup/dem zones. |
|
| Author: | fx800 [ Sat Apr 14, 2012 12:00 am ] |
| Post subject: | Re: Dibs method auto trading robot by Steve Hopwood MOD |
End of trading week account report for Dibs mod with Rsi -- up 2.2% of initial account balance. |
|
| Author: | fx800 [ Sun Apr 15, 2012 8:55 am ] |
| Post subject: | Re: Dibs method auto trading robot by Steve Hopwood MOD |
Hi, to all the brilliant coders in Steve’s forum I have pinched the CheckSupply/CheckDemand code from Ribelo’s Supply & Demand auto trading robot, and tried to incorporate it into Dibs ea, to go short if ( CheckSupply() ) { if ( !trade.short ) { return; and vice versa, but ended up with error messages ! What did I do wrong ? If the errors are too extensive and will take too long to correct, please forget I ever asked. Many thanks in advance. Peter |
|
| Author: | SteveHopwood [ Sun Apr 15, 2012 9:33 am ] |
| Post subject: | Re: Dibs method auto trading robot by Steve Hopwood MOD |
You defined two constants with the same name as the functions i.e. Code: Select all These two constants had spaces in them: Code: Select all You copied the two function definitions inside start(). I have moved them just above start(). Look at void ReadIndicatorValues() where you have this strange line: iCustom ( NULL, 0, "II_SupDem", 0, 0, 0 ); This appears to do no harm, but also does nothing. You need Code: Select all Keep at this stuff; you will soon be good at it. |
|
| Author: | fx800 [ Sun Apr 15, 2012 9:41 am ] |
| Post subject: | Re: Dibs method auto trading robot by Steve Hopwood MOD |
Hi Steve, I am sorry to have troubled you again. There are so many brilliant coders in your forum, I was hoping someone other than your good self would lend a helping hand. I would study your comments the rest of today to see if I understand what you are trying to teach me. All the obstacles I am encountering right now makes me even more determined to learn a bit about coding. MANY THANKS AGAIN ! Best regards, Peter. |
|
| Author: | fx800 [ Sun Apr 15, 2012 3:30 pm ] |
| Post subject: | Re: Dibs method auto trading robot by Steve Hopwood MOD |
Here is a version with the stochastic input commented out (it is not needed, it was from Ribelo's ea which I forgot to comment out earlier) and the candletrailingstop with a time frame input. I like to trade the H4 TF while using the 60 minutes for candletrailingstop. The default setting is 0, which defaults to the chart TF. |
|
| Author: | fx800 [ Mon Apr 16, 2012 5:57 am ] |
| Post subject: | Re: Dibs method auto trading robot by Steve Hopwood MOD |
No trades yet from the DIBS SUPDEM EA. Meanwhile, the Dibs mod with Rsi gain has climbed to 3.5% of equity. Peter |
|
| All times are UTC | Page 2 of 8 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|