stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Holy Graily Bob
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4154
Page 10 of 32
Author:  woodlands [ Tue Mar 17, 2015 6:38 am ]
Post subject:  Holy Graily Bob

Yes, running on D1, getting Trend and Trendwave at the signal
Also running on H4 with only wave to wave and double MA filter, not enough time yet to judge but taking trades as programmed.
Author:  wolfeman [ Tue Mar 17, 2015 8:29 am ]
Post subject:  Holy Graily Bob

On 4Hr, i'm getting Trend, Trendwave and Trend multi's. (those were from last week. I haven't yet, started trading HGB for this week.)

trendinator » Mon Mar 16, 2015 10:19 pm wrote:looking through my trades I haven't seen a single trend trade taken. is anyone getting trend trades?
Author:  art [ Tue Mar 17, 2015 12:42 pm ]
Post subject:  Holy Graily Bob

been a bit slow this week so farf
Author:  spgandau [ Tue Mar 17, 2015 12:45 pm ]
Post subject:  Holy Graily Bob

fullaforex » Mon Mar 16, 2015 10:49 pm wrote:
spgandau » Tue Mar 17, 2015 11:32 am wrote:
Yes, my broker closes around 5PM local time, for a few minutes each day, and I have had "market closed" error come up. By setting up the trade times to not trade during that time, I have not received the 'market closed' error, and the trade is temporarily held until the market re-opens, rather than being deleted.
Interesting...It didn't appear to work when I tried it and I followed the rules. :?
What part of the function actually stops it from trading?
Maybe it's something I did.? :oops:
two things to check:
a) make sure that Terminal Window is open in the EA, then click on the Experts tab to watch the print statements as they are issued. Then, start the EA. If there is an error with the trading hours, you will see a message in all caps "ERROR IN TRADINGHOURS INPUT.....". There are two errors. one is for no start or closing time found; one is for putting close/start time in the wrong order. Time must be formatted similar to: +00.30,-16.59,+17.03,-23.59

b) In an earlier version, in the initTradingHours() function, I noticed a small typo.
existing code: if ( prefix != "," && prefix != "-" )
correct it to read: if ( prefix != "+" && prefix != "-" )
If you are using a current version, this should already be corrected....but might be worth a check

Good luck!
Author:  Foreverforex [ Tue Mar 17, 2015 2:17 pm ]
Post subject:  Holy Graily Bob

Losing week so far. Others having similar results?
031715closed.jpg
Author:  almartins [ Tue Mar 17, 2015 2:30 pm ]
Post subject:  Holy Graily Bob

I can confirm that; -900 Pips.
Author:  SteveHopwood [ Tue Mar 17, 2015 2:38 pm ]
Post subject:  Holy Graily Bob

spgandau » Tue Mar 17, 2015 2:55 am wrote:Hello Steve,

I am working on minor adjustments / tweaks on HGB. Here is what I have observed:

a) function CalculateDailyResult()
inside the for(.....)loop,
below: if (OrderMagicNumber() != MagicNumber) continue;
ADD the following code:
//--the line below is added to select only todays' trades.
if (OrderCloseTime() < iTime(Symbol(),PERIOD_D1,0) ) continue; //order was closed before current start of this Day BAR. Ignore it.

Doing this will provide accurate trade counts and total profit calculations for the Day.
Curious - I already have that in my version. Maybe I added it and never got around to uploading. Thanks anyway.

I have added it to V 1c in post 1. You don't need the update if you only ever keep today's trades in your history tab. Add it yourselves if you want, at line 2362ish.

:xm:
Author:  hankeys [ Wed Mar 18, 2015 7:29 am ]
Post subject:  Holy Graily Bob

Problem? In some pairs the HGB opens trades too far from market - in other pairs it seems to be OK. Settings OOTB
Author:  noober [ Wed Mar 18, 2015 7:30 am ]
Post subject:  Holy Graily Bob

hankeys » Wed Mar 18, 2015 7:29 am wrote:Problem? In some pairs the HGB opens trades too far from market - in other pairs it seems to be OK. Settings OOTB
this really should be a feature we can customize ourselves in the settings.. 20, 10, 40 etc..
Author:  SteveHopwood [ Wed Mar 18, 2015 9:01 pm ]
Post subject:  Holy Graily Bob

New experimental toy guys. http://www.stevehopwoodforex.com/phpBB3 ... 85#p117685

:xm:
All times are UTC Page 10 of 32