| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Old and defunct Holy Graily Bob https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3966 |
Page 116 of 129 |
| Author: | SteveHopwood [ Tue Feb 03, 2015 10:24 pm ] |
| Post subject: | Holy Graily Bob |
Good point. Another account bites the dust. |
|
| Author: | jiraiye [ Wed Feb 04, 2015 12:45 pm ] |
| Post subject: | Holy Graily Bob |
Dear All, Spotted a slight error in V2t Line 2338. Code: Select all Code: Select all |
|
| Author: | traderduke [ Wed Feb 04, 2015 1:03 pm ] |
| Post subject: | Holy Graily Bob |
Wiggly I have been trading the HGI trend & rad using the 10.7 stochs on a 4h chart manually & I find the 10.7 keeps me out of trouble/DD 2 out of 4 times. I realize HGB is a monster to code but could the 10.7 option be added for the trade decision?? I tried copying it from other Ea's but to no avail. What do you think Steve?? regards Ray |
|
| Author: | SteveHopwood [ Wed Feb 04, 2015 2:28 pm ] |
| Post subject: | Holy Graily Bob |
Nice spot. Thanks. I won't put up a fix straight away - it is an insignificant little bloop. I will wait until a few more thingies have waved a flag at us. |
|
| Author: | SteveHopwood [ Wed Feb 04, 2015 2:29 pm ] |
| Post subject: | Holy Graily Bob |
You will have to remind me how it works first - I have forgotten. |
|
| Author: | spgandau [ Thu Feb 05, 2015 4:59 pm ] |
| Post subject: | Holy Graily Bob |
Hello Steve, I am still occasionally surprised by the message "Global Profit Target Reached". It is code issue...at least for me. here is what I have found (1st issue I referred to earlier, 2nd issue is recent) line 6225 is the function HaveWeHitProfitTarget() lines 6237 thru 6239 filter out trades to be considered in assessing whether or not the profit target has actually been reached. line 6239 I replaced it, because it was incorrectly allowing trades from prior weeks be counted as part of "today's" profit assessment. modified line 6239 now reads. if (OrderCloseTime() < iTime(Symbol(),PERIOD_D1,0) ) continue; //order was closed before today, ignore it. I also discovered that in the function HaveWeHitProfitTarget() each EA looks at ALL pairs, ALL trades and determines profit levels and shuts down the EA...which is fine. However, I actually wanted to have the EA determine if the current pair had reached a profit target for today, and ignore all other pairs in that determination. (I use HGBB to determine global profit levels and stop all EA activity) So, I also inserted the following line, at line 6238: if (OrderSymbol()!=Symbol() ) continue; //this filters so that only THIS symbol trades are checked. I have modified my HGB with these two lines. Perhaps, others will find this useful, if they are getting unexpected "Global Profit Targets Reached" messages. Just one idea that might help. Cheers! |
|
| Author: | spgandau [ Thu Feb 05, 2015 7:46 pm ] |
| Post subject: | Holy Graily Bob |
Hello Steve, Line 5050 shows: bool result = ModifyOrder(OrderTicket(), OrderOpenPrice(), OrderStopLoss(), take, OrderExpiration(), clrNONE, __FUNCTION__, slim); I believe it was intended to read: bool result = ModifyOrder(OrderTicket(), OrderOpenPrice(), OrderStopLoss(), take, OrderExpiration(), clrNONE, __FUNCTION__, tpim); Am I correct? Cheers! |
|
| Author: | spgandau [ Thu Feb 05, 2015 8:22 pm ] |
| Post subject: | Holy Graily Bob |
Hello Steve, Line 6113 shows: result = ModifyOrder(OrderTicket(), OrderOpenPrice(), OrderStopLoss(), take, OrderExpiration(), clrNONE, __FUNCTION__, slim); I believe it was intended to read: result = ModifyOrder(OrderTicket(), OrderOpenPrice(), OrderStopLoss(), take, OrderExpiration(), clrNONE, __FUNCTION__, tpim); Am I correct? (I am not trying to be a bother, but I am chasing the 141 ("too many requests") error code and and discovering this along the way.) Cheers! |
|
| Author: | SteveHopwood [ Thu Feb 05, 2015 9:13 pm ] |
| Post subject: | Holy Graily Bob |
. Yes you are indeed correct - one of my umpteen copy/paste bloops. Thanks again. No need to worry about being a bother. These are minor bloops that will have no impact on the majority of users, but accurate code is always better than inaccurate code. Still not posting fixes guys - no need for now. I will post them in time for trading next week. |
|
| Author: | trendinator [ Fri Feb 06, 2015 12:00 am ] |
| Post subject: | Holy Graily Bob |
having a look through some of the trades in the forward test i came across lots of TrendWave trades that were closed after a few seconds and then reopened 10 mins later. |
|
| All times are UTC | Page 116 of 129 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|