| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Peaky on Steroids https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5204 |
Page 66 of 97 |
| Author: | florin227 [ Thu Jun 07, 2018 10:17 am ] |
| Post subject: | Peaky on Steroids |
There is no problem. It's just that there was no buy or sell signal. If you load a sixth indicator on any currency pair on H4 and D1 you will notice most current prices are quite far from buy and sell zones. |
|
| Author: | Gertje [ Thu Jun 07, 2018 10:30 am ] |
| Post subject: | Peaky on Steroids |
Yup. Below the open orders on my demo account, all but one are D1 trades. CHF, AUD and NZD were the big winners for me last week, seems like the EUR is coming up next. ![]() |
|
| Author: | renexxxx [ Thu Jun 07, 2018 11:59 am ] |
| Post subject: | Peaky on Steroids |
This question got me thinking about an indicator for this purpose. As far as I know there is not an indi that logs every trade operation that's happening on the account -- at least I haven't been able to find it. So, I "hacked" (to use GertJan's terms to describe my coding) together this TradeLogger indicator. It will open a file in the \Files space, with the name <accountNumber>.csv and log every trade operation it 'sees'. That includes: open, close, modify and create/fill/delete (of pending trades) operations. You can tell the indicator to watch everything (by setting the MagicNumber to -1 (the default)), or just trades with a given MagicNumber. This is really an alpha-release: I foresee quite a few changes to the code before it is stable. One limitation I know of: If you open the csv file with Excel (or LibreOffice or something like that), the file is locked and Empty4 can not add new lines to it (there is an error message to that effect). You can open it with Notepad++ (that will popup a box each time the file is changed). Hope this can be of use for someone. |
|
| Author: | Gertje [ Thu Jun 07, 2018 12:02 pm ] |
| Post subject: | Peaky on Steroids |
Thanks Rene, Didn't mean to offend you in any way, if I did then I sincerely apologize. :hi: Thanks for your coding, I will put it on my account and report back. ![]() |
|
| Author: | Maximilian [ Thu Jun 07, 2018 12:53 pm ] |
| Post subject: | Peaky on Steroids |
Hi, just a brain fart...Wouldn´t it be the easiest way to add a trade comment for the limit orders of the trade-replicator? That way the trades would be easy to find. Thanks for all the ideas and hard work you guys put into it. Maximilian
|
|
| Author: | Gertje [ Fri Jun 08, 2018 10:51 am ] |
| Post subject: | Peaky on Steroids |
A fart indeed. PoS, the EA, won't recognise these trades then anymore and will become extremely rude to you. |
|
| Author: | tomele [ Fri Jun 08, 2018 10:58 am ] |
| Post subject: | Peaky on Steroids |
What, on the other hand, would be very easy to change. Look at ExtractIndexFromTradeComment(). This could look for a substring instead of an exact match. Cheers |
|
| Author: | Gertje [ Fri Jun 08, 2018 10:59 am ] |
| Post subject: | BOJ Manipulation |
Don't know what to make of it anymore. Last night at 1h50 my time [Europe] there were 5 'yellow', low impact reports mentioned in the FF-calender. 4 printed red, so worse than forcasted, and 1 printed black, as forcasted. Still, JPY goes up as if all news was printed green. |
|
| Author: | Gertje [ Fri Jun 08, 2018 11:00 am ] |
| Post subject: | Peaky on Steroids |
Could be, but I have no clue what you are talking about. My coding skills are non-existend. I barely manage to hardcode inputs in an EA. EDIT. Rene's tradelogger is writing the file, so I will keep you posted. |
|
| Author: | SteveHopwood [ Fri Jun 08, 2018 9:27 pm ] |
| Post subject: | Peaky on Steroids |
I know how much you guys love a laugh at my expense, so here is another one for you. I mentioned earlier that I had coded Gertje's latest ideas into the bot but that there were bound to be bugs and so was not releasing it yet. Damn right. The code was bollocks and I have spent the whole of today trying to correct it. It ain't easy; G's latest ideas effectively turn PoS into a different bot and I am trying to amalgamate both trading systems. It might have been easier to simply start again with a separate bot, but there is soooooo much that would be common to both........... Hey ho. We shall see. I have the sell side of the grid sorted. The buy side is still causing problems and I will deal with them on Monday. The giggle I am going to give you at my expense came at the start of the day. Those of you using G's setfile from post 1 know that he is trading only the H4 and D1. I hard coded these into the latest version's trades 1 & 2 inputs. You will also be aware that there has not been a lot of movement for a couple of days. Finally, the damn bot sent a basket of sell stop orders on the EURAUD. On the M15 according to the Comment field. So I went bug-hunting. I added debugging Alerts to show me what was going on, all over the place. Everything stacked up. Nothing was showing an incorrect time frame. 90 or so hair-tearing minutes later it occurred to me what the problem must be. And yes - your already made guess is correct. I had forgotten to change the trade comment field from "M15" to "D1". The next time I am berating you for being an idiot, you might care to reflect that you are not alone. --------------------------------------------- Pre all of the above threw up something that I need to mention when I update the user guide. When you disable time frames, always do so from the bottom up. For example, if you only want 3 time frames then set Trade4TimeFrame to 'false', not Trade1TimeFrame. Setting Trade1TimeFrame to 'false' will cause the platform to eject PoS without telling you. It is a design flaw that I did not consider when I coded the original. Coders, set Trade1TimeFrame to 'false' and follow the "Array out of range" error in the Experts tab to see what I mean. I am not going to do anything about this apart from the warning to disable time frames from Trade4TimeFrame upwards. Life is too short for me to try to sort out that mess. |
|
| All times are UTC | Page 66 of 97 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|