| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Holy Graily Candle Bob https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5517 |
Page 3 of 5 |
| Author: | tomele [ Sun Sep 09, 2018 10:34 pm ] |
| Post subject: | Holy Graily Candle Bob |
Strange. It works perfect here when everything is in place. Please show me the compile log. |
|
| Author: | trader689 [ Sun Sep 09, 2018 11:04 pm ] |
| Post subject: | Holy Graily Candle Bob |
Woops. Seems I had changed the name of the EA slightly to differentiate between the one from the first post and the one from Mat's post after getting the initial errors. Now i have just changed it back to plain Holy Graily Candle Bob (and now also, importantly with the Tdesk files) it is compiling fine. thanks Tomele and Steve, trader
|
|
| Author: | SteveHopwood [ Sun Sep 09, 2018 11:30 pm ] |
| Post subject: | Holy Graily Candle Bob |
I have deleted Mat's post. Best to only have one version of an EA per thread. Do feel free to start threads with different versions elsewhere. |
|
| Author: | slipshod [ Sun Sep 09, 2018 11:33 pm ] |
| Post subject: | Holy Graily Candle Bob |
Regarding LibSSSR, the new version is called LibSSSRv5 for both the library and the header. Hence if/when it's included in this EA, the reference to the include file in the EA's code will need to be changed to the new name. That's the only change which should be required. At the moment the first post on this thread (which I assume is kept up to date with the latest EA version?) has downloads for LibSSSRv4. Edit: On my own demo platform I've made that adjustment and compiled it with v5 of the library, and there doesn't seem to be any problem. I'll note when it starts taking trades & check to ensure it's working as it should in relation to S/R zones. Edit #2: I'm trialling a variant of the S/R logic. I've created a boolean in the EA called OpenSomeTradesInsideSRZones, and have implemented the logic as follows (starting at line 690):- Code: Select all |
|
| Author: | SteveHopwood [ Mon Sep 10, 2018 3:42 pm ] |
| Post subject: | Gormless bloop alert |
I could see that there should have been trades today, thanks to the wonderful TDesk. Nothing has happened so I went bug hunting and found the offender straight away. The fix is in 1e in post 1. The simple DIY fix can be found by doing a search for "bool InsideZone = true;" and replace it with: bool InsideZone = false; You will see why this stopped trading if you then do a search for "InsideZone". This will take you to the block of code that cancels trades if the market is inside a zone. |
|
| Author: | SteveHopwood [ Mon Sep 10, 2018 3:45 pm ] |
| Post subject: | Holy Graily Candle Bob |
Hold back on updating folks. I have just ween Andrew's latest post so I need to update the library. |
|
| Author: | SteveHopwood [ Mon Sep 10, 2018 4:00 pm ] |
| Post subject: | Holy Graily Candle Bob |
The correct Include and Libraries files are in post 1 now. HGCB is pointed to the correct ones in V 1f. Do a search for "#include <LibSSSRv4.mqh>" if you want to make the change yourself, and replace it with #include <LibSSSRv5.mqh> Thanks Andrew. |
|
| Author: | SteveHopwood [ Mon Sep 10, 2018 4:01 pm ] |
| Post subject: | Holy Graily Candle Bob |
The gormless bloop I described a few posts ago was the cause of non-trading. I have the appropriate trades now. |
|
| Author: | SteveHopwood [ Mon Sep 10, 2018 5:38 pm ] |
| Post subject: | Holy Graily Candle Bob |
V 1h is in post 1, in response to this from Andrew's thread: This sounds like a good idea to me, so I have implemented it. There is a new input, OpenSomeTradesInsideSRZones. This allows buys from within a support zone and sells from within resistance. I have added some alerts to show when the bot has closed trades at an S/R take profit and stop loss following entry to the relevant zone. There may be bugs. |
|
| Author: | SteveHopwood [ Tue Sep 11, 2018 12:04 am ] |
| Post subject: | Holy Graily Candle Bob |
Here is one for us to think about folks. Not a hint of resistance in sight. Using the next resistance as a TP will fail here. The next resistance is on the D1. Support will act as a trailing stop. Or we can close manually, but then the bot will simply open new trades if the market continues to rise. No reason why it shouldn't - cycles within cycles within cycles etc. Stuff to think about. Any ideas folks? Here are the ones I am contemplating:
|
|
| All times are UTC | Page 3 of 5 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|