| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Gertje plus Squalou plus Forexhard EA https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=485 |
Page 2 of 18 |
| Author: | jb68 [ Mon Apr 16, 2012 4:39 am ] |
| Post subject: | Re: Gertje plus Squalou plus Forexhard EA |
Hi, The thing you encircled with red is normal. That is Empty Value (NULL) on Empty4 and means there is no new CZ box forming. Steve DID a great job printing these variables but you have to understand this is a working stage (alpha or beta ) for the EA so this weird values might be removed from final version. |
|
| Author: | acostafulano [ Mon Apr 16, 2012 4:50 am ] |
| Post subject: | Re: Gertje plus Squalou plus Forexhard EA |
Understood |
|
| Author: | SteveHopwood [ Mon Apr 16, 2012 5:33 am ] |
| Post subject: | Re: Gertje plus Squalou plus Forexhard EA |
They have already gone. They served their purpose. I also got the 10 trades at once thingy, so defo a bug to hunt down. Made 2.5% when the market cooperated, but no chance of a real money account being so blessed. |
|
| Author: | plateman [ Mon Apr 16, 2012 6:40 am ] |
| Post subject: | Re: Gertje plus Squalou plus Forexhard EA |
Give this EA a chance, it has only been running for a few hours, I'm trading 0.2 lots and currently $360 up. I had two instances of multiple trades but each one closed at a (small) profit. |
|
| Author: | spotdespot [ Mon Apr 16, 2012 8:35 am ] |
| Post subject: | Re: Gertje plus Squalou plus Forexhard EA |
I had this too but also they also opened at 10 x the lot size (the initial trades opened at the specified lot size). I think this was because I had 0.2 as the trade size, 0.1 as the lots per 1000 or balance and a 20k balance......whoops the first time this happened I got away with it, second time (as I was looking at the first wondering what went on) I was very glad it wasn't live |
|
| Author: | SteveHopwood [ Mon Apr 16, 2012 9:13 am ] |
| Post subject: | Re: Gertje plus Squalou plus Forexhard EA |
Latest update in post 1, fixing the multiple-trades thingy. It was the usual, a copy/paste/forgot-to-edit bloop. Coders, to save a re-download go to void HasSellFilled() and find this line of code: string name = NextBuyLineName; and change the highlighted bit then recompile string name = NextSellLineName; I have reintroduced the BB0, BB1 etc value displays until we are sure the code is watertight. I ran a visual backtest, M15 Open prices; this is what pointed me to the bloop. Allowing the test to continue, I noticed that there are occasional double trades at the same level. It looks as though the pending trade line deletion fails from time to time, but I have no idea why. Here is the void HasBuyFilled() function with additional comments to explain my logic more fully: Code: Select all |
|
| Author: | magft [ Mon Apr 16, 2012 9:38 am ] |
| Post subject: | Re: Gertje plus Squalou plus Forexhard EA |
Great work going on here, i've been busy with other projects, if no one else gets this sorted i'll have a look tonight. I'm familiar with the indy code so i'll see how we can make this work as required. I'll have a scan for anything that may be out of place. Any other issues whilst i'm at it? Regards Mike |
|
| Author: | SteveHopwood [ Mon Apr 16, 2012 10:43 am ] |
| Post subject: | Re: Gertje plus Squalou plus Forexhard EA |
I don't think so, Mike. Thanks; it would be great for you to have a look at this little problem. I have attached sq's original, in case that helps. Cheers |
|
| Author: | magft [ Mon Apr 16, 2012 11:02 am ] |
| Post subject: | Re: Gertje plus Squalou plus Forexhard EA |
Steve That is a really old version of the indy, in the comments v1.8. The one you have in first post is v1.13 but i have v1.13_R1 as well which has a minor mod. Can you remember what changes you made? I have a quick scan and looks like you have set defaults and commented out drawing bits is that correct? Ive attached v1.13_R1 for reference, in the top the history states Code: Select all Regards Mike |
|
| Author: | SteveHopwood [ Mon Apr 16, 2012 11:43 am ] |
| Post subject: | Re: Gertje plus Squalou plus Forexhard EA |
Thanks Mike. It is too long ago to remember what I was trying to do. I have a sqDynamicBreakoutBox.old in the folder, so I guess this was the original so I could revert once I had thoroughly screwed things up. |
|
| All times are UTC | Page 2 of 18 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|