| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| My shell EA code https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=79 |
Page 8 of 23 |
| Author: | SteveHopwood [ Sun Jul 08, 2012 10:42 pm ] |
| Post subject: | Re: My shell EA code |
Latest bare bones version in post 1. I have added the code that checks that there are enough bars on the chart for Slope to work properly. Also added Paul's Spread stuff. |
|
| Author: | SteveHopwood [ Mon Jul 30, 2012 11:28 am ] |
| Post subject: | Re: My shell EA code |
Latest version of Bare Bones in post 1:
|
|
| Author: | SteveHopwood [ Sat Aug 04, 2012 9:06 am ] |
| Post subject: | Re: My shell EA code |
Latest bare bones version in post 1:
|
|
| Author: | SteveHopwood [ Sat Aug 11, 2012 4:54 pm ] |
| Post subject: | Re: My shell EA code |
Latest update to Bare Bones in post 1. Details in 'Rogue' trades and the safety features. |
|
| Author: | user666 [ Thu Aug 16, 2012 10:33 am ] |
| Post subject: | Re: My shell EA code |
All links ARE BROKEN here |
|
| Author: | SteveHopwood [ Thu Aug 16, 2012 10:43 am ] |
| Post subject: | Re: My shell EA code |
Thanks, but they work when I click them. |
|
| Author: | gaheitman [ Wed Aug 29, 2012 2:15 pm ] |
| Post subject: | Re: My shell EA code |
Steve, I've started to familiarize myself with the current code base. You know, at some point we aren't going to accept that you aren't a coder.... :> I found what I think are a couple of issues with the HalfClose functionality. From CountOpenTrades(): Code: Select all More importantly, the code looks to be closing half the trade at break even. I think the "or equal to" portion of "OrderStopLoss() >= OrderOpenPrice()" and "OrderStopLoss() <= OrderOpenPrice()" should be removed. Even though some days getting out at break even feels like a win, I don't think it is what you intended here. I'm also a little confused by this line in BreakEvenStopLoss: Code: Select all Of course, I haven't spent any time looking at code for months, so I could be way off! George |
|
| Author: | NeoTrader [ Wed Aug 29, 2012 2:40 pm ] |
| Post subject: | Re: My shell EA code |
Hi Steve, Since I want to do some more experimenting with EAs in the future I started also to look into your Barebone Shell EA. I'm also writing a full documentation that can be used for End users and Developers that I will share with our community once it is finished and revised by you. By the way do you have MS Word (and if yes which version) otherwise which format do you prefer. When I was evaluating your code the following point come to my attention that I want to be clarified by you if it is a bloop or a features.. external Parameters TradeLong and TradeShort Both Parameters can be set by the user to define in which direction they want to trade. Nevertheless you change both settings in TradeDirectionBySwap() without a check of the Parameters and therefor override the user Settings(wishes) if one of the external swap Parameters is enabled (set to true). thanks in advance, happy trading, NeoTrader - |
|
| Author: | SteveHopwood [ Wed Aug 29, 2012 2:45 pm ] |
| Post subject: | Re: My shell EA code |
Well, my coding is being dragged kicking and screaming into the 1990's by the likes of you, Gary, Lifesys et al Frankly, George, if people are too thick to work out that their lot size needs to be divisible by 2 when they want half-close at some stage, then there is nothing I am prepared to do to help them. 'tis exactly what it is intended for. 95% of the ea's I code privately require this. That is one of those bloops that crept through when I first added the code. I subsequently fixed it, along with a fair amount of other stuff as I used the shell more and more. Also added a few more thingies without ever uploading the latest version - interest in my shell code hardly reaches fever pitch. The purpose of this little snippet is to pick up those occasions when the stop was moved to breakeven successfully but the half-close failed for any of the gaziliion reasons deliberately programmed into Empty4 by the cowboys that wrote it. If half-close is required, the order stop is at breakeven or better, and half the trade has not closed, then have another go. Cheers George. You are a star. I have uploaded the very latest version of the shell to post 1. |
|
| Author: | SteveHopwood [ Wed Aug 29, 2012 2:53 pm ] |
| Post subject: | Re: My shell EA code |
I have just uploaded the very latest, so you might want to get that. Fantastic. This is the sort of thing that I never have the patience to do. You should see the steam coming from my ears when I have to compose a thread page 1. I have Word 2003, but actually use OpenOffice these days. Why pay, when it is free? This is deliberate. If traders do not want to sell the high-swap pairs, then this is more important than the tradeShort input, that they may easily forget about. I know I do. My pleasure. You have rapidly become one of the stars here and your contributions are invaluable. Thanks for everything you do. |
|
| All times are UTC | Page 8 of 23 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|