| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| open/close cross ea https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=27 |
Page 1 of 3 |
| Author: | jiva34 [ Thu Nov 17, 2011 12:43 pm ] |
| Post subject: | open/close cross ea |
Using Steve's shell, "mgft" from ff coded a strategy I was working on. I added via cut and paste the Allaverages indi that Steve put together for the bbstop ea and voila we now have what appears to be a fully functional robot. Let's see what this miracle put together by many hands can do. not sure what time frame is best. The strategy in general is very sucessful on the day chart. Would be good to get it up and running nicely for shorter term trades. 21 sma open, 21 sma close 21 lsma for trend cross down enter short trade with lsma trend cross up enter long trade with lsma trend The atr and partial closing functions aren't programmed in yet. so use the other stop options provided in the shell. stop = 1 ATR close 1/3 at +1/2 ATR move stop to Breakeven profit +5 pips close 1/3 at +1 ATR can trail stop for remaining 1/3. exit stopped out or new signal in opposite direction. ea is being modified trailing stops functions are buggy |
|
| Author: | jiva34 [ Thu Nov 17, 2011 4:19 pm ] |
| Post subject: | Re: open/close cross ea |
The jumping stop, trailing stop and candle stop don't seem to be functioning (Breakeven pips set true) |
|
| Author: | SteveHopwood [ Fri Nov 18, 2011 7:27 am ] |
| Post subject: | Re: open/close cross ea |
There was a logic bloop that exists in all of the stop management functions that prevented them from working if HiddenPips = 0. I guess this bloop exists in most of the stuff I have produced recently. I suggest you make sure this works, then copy it over the top of your version in post 1 so everyone can find it easily. |
|
| Author: | jiva34 [ Fri Nov 18, 2011 8:28 am ] |
| Post subject: | Re: open/close cross ea |
Not working quite right. if hidden pips is set to a value a red dotted line will appear on the chart that trails the prices using trailing stop, but the trade doesn't close. if hidden pips is 0 nothing happens... Break even works properly hidden pips set or not. |
|
| Author: | SteveHopwood [ Fri Nov 18, 2011 9:51 am ] |
| Post subject: | Re: open/close cross ea |
The function that looks for trade exit conditions needed some extra code. See if this works. |
|
| Author: | winsteadglenn [ Fri Nov 18, 2011 12:03 pm ] |
| Post subject: | Re: open/close cross ea |
Up 8% overnight. I like it. EU/GU/AU/UC/EJ; 2% risk. fifteen min. window . Manual close. Glenn |
|
| Author: | jiva34 [ Fri Nov 18, 2011 12:41 pm ] |
| Post subject: | Re: open/close cross ea |
seems to be closing alright.. as long as hidden pips is given a value... but the trailing stop lines all remain on the chart. This is going to be a really good one.......... |
|
| Author: | SteveHopwood [ Fri Nov 18, 2011 12:55 pm ] |
| Post subject: | Re: open/close cross ea |
The version checks for orphan tp/sl lines every 15 minutes. They might hang around for a while, but will disappear eventually. |
|
| Author: | gaheitman [ Fri Nov 18, 2011 1:16 pm ] |
| Post subject: | Re: open/close cross ea |
Is it worth putting explicit deletes in when the bot closes trades on it's own? Code: Select all George
|
|
| Author: | jiva34 [ Fri Nov 18, 2011 1:24 pm ] |
| Post subject: | Re: open/close cross ea |
stop lines on chart are not aprobloem now. But it looks like the stop reverse function is not always working. screenshot shows 2 times a short did not open when a buy was stopped out on a reverse signal.. |
|
| All times are UTC | Page 1 of 3 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|