| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| POOLER/SAN Stunning generosity https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=925 |
Page 6 of 29 |
| Author: | dlewisfl [ Fri Nov 02, 2012 6:16 pm ] |
| Post subject: | Re: POOLER/SAN Stunning generosity |
He stores info in Empty4 Global Variables (which are used to save variable values in case of shut down/reload, among other things). He only references one of them in the code so the others are just out there doing nothing (he has code commented out that references the others). He's constantly reading through the open order pool and account history and counting open positions so it should probably work on reload (not 100% sure as I casually glanced through the code). I saw trades hit the max #10 lot size. I ran tick data through about 15 months and there were 3 periods of large DD on EURUSD (relatively speaking - max trades were open) but they all recovered. I'll be setting up a longer test later today. |
|
| Author: | bazze [ Fri Nov 02, 2012 6:51 pm ] |
| Post subject: | Re: POOLER/SAN Stunning generosity |
What does this message means? |
|
| Author: | dlewisfl [ Fri Nov 02, 2012 6:59 pm ] |
| Post subject: | Re: POOLER/SAN Stunning generosity |
Nothing. You need to remove the Print statement as described on previous page of this thread. |
|
| Author: | Pooler [ Fri Nov 02, 2012 6:59 pm ] |
| Post subject: | Re: POOLER/SAN Stunning generosity |
|
|
| Author: | dlewisfl [ Fri Nov 02, 2012 7:01 pm ] |
| Post subject: | Re: POOLER/SAN Stunning generosity |
I'm seeing some occassional #130 SL/TP price errors on order submission so there are more issues with this EA. It continues to run and close orders, probably once price gets back into acceptable range beyond stop level. |
|
| Author: | dlewisfl [ Fri Nov 02, 2012 7:22 pm ] |
| Post subject: | Re: POOLER/SAN Stunning generosity |
Steve: I'm just curious about your CloseEnough() function. I've seen Empty4 blow comparisons between double type variables, I've found that using the built-in NormalizeDouble() takes care of the issue. Admittedly, I've never had a need to go beyond 6 decimal places in any double type variables I've compared. Is there still an issue at the 8th decimal position even when NormalizeDouble() is used? Also, what is the purpose of pFactor()? Is it there just for Gold/Silver? If so, why not just add an extra condition to "MyPoint" calculation for something other than 2 - 5 digit price? |
|
| Author: | Generaal Goudvis [ Fri Nov 02, 2012 7:25 pm ] |
| Post subject: | Re: POOLER/SAN Stunning generosity |
First of all many thanks for sharing...it makes the forex world better and more beautiful! I also use a martingale EA on live money. And to me the most important thing on this kind of EA's is: - don't be greedy.... small wins, make easy money and your stomach will benefit form it - moneymanagement; will you survive a max drawdown? and do you have enough to restart? So a martingale/grid is not about winning, but staying alive. I will definitely follow this topic! |
|
| Author: | SteveHopwood [ Fri Nov 02, 2012 7:47 pm ] |
| Post subject: | Re: POOLER/SAN Stunning generosity |
The explanation is in the comment in the function. |
|
| Author: | Pooler [ Fri Nov 02, 2012 8:04 pm ] |
| Post subject: | Re: POOLER/SAN Stunning generosity |
GU trade still open. Has reached level 4 with pending BL 5 opened. As you can I started widening OR/grid levels from level 4. Please us attached settings for currency pairs OR sizes. Do not use settings as in Post 1 Steve, please can you replace the spreadsheet in post 1 with this one attached here Thanks, apologies for any confusion |
|
| Author: | dlewisfl [ Fri Nov 02, 2012 8:11 pm ] |
| Post subject: | Re: POOLER/SAN Stunning generosity |
I've never had a problem doing something like this for example: Code: Select all I suspect the Pfactor has something to do with pricing of Gold/Silver as $ value of one pip on those is not same as $ value of one pip on standard forex pair. btw, I've seen problems with Empty4 StrToTime() function. I've used it to get midnight for a given date and it's returned something other than 00:00 for the hh:mm. |
|
| All times are UTC | Page 6 of 29 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|