| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Multi 10:4 Trader EA https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=1619 |
Page 64 of 160 |
| Author: | MrLong [ Wed Apr 03, 2013 4:53 pm ] |
| Post subject: | Re: Multi 10:4 Trader EA |
Hi slipshod, I was just looking though the code and cannot see the benefit of only being able to open an order in a 4H time envelope. While crossing the zero line. If price continued, the EA would not be able to place orders after the first 4 Hour period of crossing the zero line if using the AO as an order. What's your opinion? Thanks for all your help in this thread. Andy |
|
| Author: | droland [ Wed Apr 03, 2013 5:09 pm ] |
| Post subject: | Re: Multi 10:4 Trader EA |
I sorted and read through all Slipshods posts and couldn't find the pending order script. Would you or Slipshod mind posting it again. Thank you |
|
| Author: | slipshod [ Wed Apr 03, 2013 9:56 pm ] |
| Post subject: | Re: Multi 10:4 Trader EA |
Hi Andy, the changes I made don't assume a cross of the zero line. For a long entry, the AO must still be in negative territory, but less negative than it was the previous candle, and vice versa for shorts as per the rule in the manual screenshot you posted earlier:- Best case Buy Scenario AO below its zero line AO's bar has turned green (this happens when its higher than the previous candle's AO bar). In actual fact my implementation was a bit loose - it'll accept a buy entry on any AO green bar, whereas reading it again that word "turned" implies that the previous bar was red. That's what the useRSIInsteadOfStoch setting implies, but the logic of the coding used Stoch and AO all the time anyway, with RSI being used only if those other two didn't trigger an entry. My change allows the user to explicitly state what combination of the three methods are used - can easily just set Stoch to false and RSI to true or vice versa, but yes it doesn't force an either-or choice. To do that, useStoch and useRSI could be dropped (keep useAO though) and in trendDirect() useStoch could be replaced with !useRSIInsteadOfStoch, and useRSI replaced with useRSIInsteadOfStoch - pretty straightforward. I'll leave Andy to decide which way he wants to go with this when he returns from his well-earned break ... which probably consists of sneakily snatching half an hour here & there through the day to check this forum on his iPad Edit: Here's a version of trendDirect with the above changes for both UseRSIInsteadOfStoch and AO... Code: Select all |
|
| Author: | forextradingemails [ Wed Apr 03, 2013 10:10 pm ] |
| Post subject: | Re: Multi 10:4 Trader EA |
tried 1.09 on demo and real. massive differences! real -£27 demo +£125. Really whats the difference? Demo alpari real FXCM. Although that being said real is slowly clawing back was -£30 yesterday |
|
| Author: | SWG123 [ Wed Apr 03, 2013 10:13 pm ] |
| Post subject: | Re: Multi 10:4 Trader EA |
Is this a possible bug? I have a second buy trade opened on UCHF, both with magic numbers attributed to Multi 10.4, but only the first one appears in the dashboard. EDIT: Have refreshed grid, changed TFs, no change. |
|
| Author: | slipshod [ Wed Apr 03, 2013 10:15 pm ] |
| Post subject: | Re: Multi 10:4 Trader EA |
SWG the dashboard's not always updating - switch timeframes & it should show the correct trades. Edit: If that fails try restarting Empty4. If that fails ... I'm scratching my head |
|
| Author: | linuspoon [ Wed Apr 03, 2013 10:37 pm ] |
| Post subject: | Re: Multi 10:4 Trader EA |
This error only occurs in one of my demo Empty4 but not on another one. The error occurs once the EA starts. On every tick (may not be every tick but there are a number of errors within 1 min interval), the same error will appear in the Expert tab one line after another continuously until either I stopped the EA or change the GridMethod to 1 or if I set showDisplay to false. Linus |
|
| Author: | MrLong [ Thu Apr 04, 2013 5:07 am ] |
| Post subject: | Re: Multi 10:4 Trader EA |
Hi, Are the magic numbers the same? |
|
| Author: | Pinbar [ Thu Apr 04, 2013 5:27 am ] |
| Post subject: | Empty4 ... |
If that fails ... Delete Empty4 log files & possible other trash within directories (careful) ... If that fails ... Delete ex4, modify mq4, recompile all code involved ... If that fails ... All of the above, but this time also hard code your settings before F5 & restarting Empty4 ... If that fails ... Download a new Empty4 instance (Bob had to!) and move all MQ4 there ... (a fresh start)! If that fails ... Call it a day (any ideas?) Shooting Star |
|
| Author: | MrLong [ Thu Apr 04, 2013 5:28 am ] |
| Post subject: | Re: Multi 10:4 Trader EA |
Hi Slipshod, We'll see which works best. if (type == OP_BUY && lO > mA && aO < 0 && aO1 < aO) <==== if aO is lower than zero, then the last bar must also ? The grid updating problem I was experiencing before I left, I didn't check toughly that refreshGrid() was being called when needed, would appear that the grid is being updated with blank data for some reason, because the labels do exist but have no data.. Andy |
|
| All times are UTC | Page 64 of 160 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|