| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| HGB FIFO and Error Traps Thread https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4169 |
Page 4 of 6 |
| Author: | remix919 [ Wed Jul 01, 2015 7:11 pm ] |
| Post subject: | HGB FIFO and Error Traps Thread |
I have stdlib and TradeContext from post 1, but don't see a WinUser32? Can you post the correct version or should I just find the latest version and use that? |
|
| Author: | spgandau [ Wed Jul 01, 2015 11:39 pm ] |
| Post subject: | HGB FIFO and Error Traps Thread |
install WinUser32.mqh in the Include folder. See if that helps. I have re-checked and recompiled in my machine. all works well. Cheers. |
|
| Author: | remix919 [ Thu Jul 02, 2015 4:09 pm ] |
| Post subject: | HGB FIFO and Error Traps Thread |
Works great now =D setting up demos... |
|
| Author: | remix919 [ Tue Jul 07, 2015 1:48 pm ] |
| Post subject: | HGB FIFO and Error Traps Thread |
Is this EA supposed to be FIFO error free? or still trying to eliminate FIFO errors? It seems to be running better than the regular HGB on Oanda Empty4, but I still get a lot of FIFO errors |
|
| Author: | spgandau [ Wed Jul 08, 2015 12:59 pm ] |
| Post subject: | HGB FIFO and Error Traps Thread |
What settings did you select when you opened the EA? Did you take the default settings or did you set up the EA for FIFO = true? is the your broker ECN? is the EA set up for ECN operations? If all of that is set up correctly, then begin troubleshooting as follows: If you have other EA's running, or if you have manual trades existing at the same time, then you might have issues. This EA will only deal with trades that it has created. If you have "mixed" EA's, and/or manual trades, then the FIFO feature will not work properly. the server-side will see that you are trying to close trades out of sequence, but the EA will only be looking within itself. I found that if I mixed EA's, then I had to modify the HGBB to work with multiple EA's, multiple trades with different trade comments and different magic numbers. I have stopped receiving FIFO errors altogether. I would suggest that you copy the error messages from the experts tab, and copy the alerts messages from the alerts window and see what the actual error number is and what the message shows. Cheers. |
|
| Author: | remix919 [ Thu Jul 09, 2015 6:36 pm ] |
| Post subject: | HGB FIFO and Error Traps Thread |
Thanks spgandau! I followed your tips and got it working properly I believe, I'm now only getting 1 error which is : 2015.07.09 14:32:41.442 10.7 HGB_v01k_strict_spgandau AUDNZD,H4: 10.7 HGB_v01k_strict_spgandau AUDNZD Ticket#67814038 CheckTpIsCorrect called ModifyOrder() with result: stop loss insertion failed with error 1: no error I get a lot of those, for different pairs, but only that 1 error. I started the EA on a fresh platform, no open trades, new demo account, FIFO is ON for Oanda and FXCM, OFF for Tallinex. Oanda and FXCM are the only ones having that error, Tallinex demo is running 100% |
|
| Author: | spgandau [ Thu Jul 09, 2015 11:57 pm ] |
| Post subject: | HGB FIFO and Error Traps Thread |
That is not an error... and it belongs to the original code related to BoHGB and HGB. It is calling for a check of TP value. Since there was a correct TP entered when the trade was originally made, there was no need for CheckTpIsCorrect to make any changes, hence it receives an error code of "1"...indefinite result, but not an error. That is not part of FIFO and Error traps, but it will not hurt the EA, and it is not an error. Cheers! |
|
| Author: | remix919 [ Fri Jul 10, 2015 3:18 pm ] |
| Post subject: | HGB FIFO and Error Traps Thread |
Thanks for the clarification! |
|
| Author: | nonlinear [ Mon Nov 02, 2015 10:01 pm ] |
| Post subject: | HGB FIFO and Error Traps Thread |
I am bumping this older thread to see if any US folks have tried using FXCM's off shore server option (UK I believe). I have heard FXCM can run accounts on the UK Empty4 server and then net back-end like ATC, thus making FIFO not an issue anymore. Of course this only works for systems where execution delay (sending orders across the Atlantic) is not that important. |
|
| Author: | spgandau [ Mon Nov 02, 2015 10:31 pm ] |
| Post subject: | HGB FIFO and Error Traps Thread |
hmm. with FXCM being 'run' by TradeStation, I had figured that this was a US-centric operation only. I would be curious to see the mechanics of making such a request of FXCM (or any other currency broker). |
|
| All times are UTC | Page 4 of 6 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|