The Great HGB Foward Test

EA's inspired by nanningbob's work here, especially those based on his 240 Moving Average trend detection filter.
Post Reply
barry
Trader
Posts: 81
Joined: Thu Mar 01, 2012 5:12 am

The Great HGB Foward Test

Post by barry »

ok sounds like a good idea. perhaps for the next test we could create a profile and get everyone to load that? would that work?
Yes, good one, that's a much better idea :arrrg:
User avatar
Gertje
Trader
Posts: 1936
Joined: Mon Dec 12, 2011 1:17 pm
Location: Middle of the Netherlands

The Great HGB Foward Test

Post by Gertje »

WhoKnows » Wed Jan 28, 2015 12:41 am wrote:Just two theoretical questions:

- Would it help to use a TradingTime setting, even if it is like -10.00,+10.00 to synchronize instances. I ask this because I used TT settings in my tests (described in the BoHGB thread) and saw that different instances often executed trades almost on the same millisecond.

- As this is certainly no scalping EA, and we have ReadDelay of 60 seconds, why do we run this EA on ticks?
What would happen if you run it on 'EveryTickMode=false'? Is there any reason that we need the Tick mode?
I might be miles off target, but in my understanding 'EveryTickMode=false' makes the EA only trade at candle close. On a H4 TF this is..... Err.... Less desirable. :D
User avatar
Gertje
Trader
Posts: 1936
Joined: Mon Dec 12, 2011 1:17 pm
Location: Middle of the Netherlands

The Great HGB Foward Test

Post by Gertje »

rapple » Wed Jan 28, 2015 1:03 am wrote:
Should we also have everyone on the same version of Empty4. Steve does not guarantee his code on the later builds especially 7xx. I am running Version 4.0 Build 645. Steve did post the terminal.exe for the version he uses but I am not sure where
And then when you go live, find out MetaQuotes has disabled trading on older versions.... :arrrg:
I always learned you're supposed to practise the way you want to go to battle.
WhoKnows
Trader
Posts: 102
Joined: Wed Mar 19, 2014 11:57 pm
Location: North Brisbane, Australia

The Great HGB Foward Test

Post by WhoKnows »

Gertje » Wed Jan 28, 2015 4:56 pm wrote:
WhoKnows » Wed Jan 28, 2015 12:41 am wrote:Just two theoretical questions:

- Would it help to use a TradingTime setting, even if it is like -10.00,+10.00 to synchronize instances. I ask this because I used TT settings in my tests (described in the BoHGB thread) and saw that different instances often executed trades almost on the same millisecond.

- As this is certainly no scalping EA, and we have ReadDelay of 60 seconds, why do we run this EA on ticks?
What would happen if you run it on 'EveryTickMode=false'? Is there any reason that we need the Tick mode?
I might be miles off target, but in my understanding 'EveryTickMode=false' makes the EA only trade at candle close. On a H4 TF this is..... Err.... Less desirable. :D
Ouch..... :roll: ... that would be bad.
I thought it would go to minutes as base... I guess I'll better try what happens or the 'coder/tech specialists' might know the definitive answer..

Maybe rephrase it as third and fourth question:
- Would it not make sense to make HGB work on one minute bases?
- And would a minute base have an effect on very temporary fraction of a second signals that disappear?
trendinator
Trader
Posts: 156
Joined: Sat Dec 06, 2014 12:22 am

The Great HGB Foward Test

Post by trendinator »

WhoKnows » Wed Jan 28, 2015 5:58 pm wrote:
Ouch..... :roll: ... that would be bad.
I thought it would go to minutes as base... I guess I'll better try what happens or the 'coder/tech specialists' might know the definitive answer..

Maybe rephrase it as third and fourth question:
- Would it not make sense to make HGB work on one minute bases?
- And would a minute base have an effect on very temporary fraction of a second signals that disappear?
it already works on 'minute bases', as in, it checks HGI for a signal every 60 seconds by default, by HgiReadDelaySeconds. the effect of this has been discussed here:

http://www.stevehopwoodforex.com/phpBB3 ... 80#p111980

edit: fixed link. here's what i said:
trendinator » Tue Jan 20, 2015 11:44 pm wrote:im curious about the following line:

Code: Select all

extern int      HgiReadDelaySeconds=60;//cpu saver. Read the indi every minute by default
lets look at the following scenario:

12:00:00 - HGB started - reads HGI, no signal

12:00:30 - there is a signal, but it quickly goes away after a few seconds

12:01:00 - HGB reads HGI again - no signal = there are no trades taken here.

Let's say I had started HGB at 12:00:30 it would have seen the signal and taken the trade?

so is it possible that the time of setup can have an effect on the trades taken?
Last edited by trendinator on Wed Jan 28, 2015 1:49 pm, edited 1 time in total.
trendinator
Trader
Posts: 156
Joined: Sat Dec 06, 2014 12:22 am

The Great HGB Foward Test

Post by trendinator »

ok made some progress in my own tests today...

seems like the number of bars in the history would've really had an effect on HGI and therefore HGB when setting up a new instance.

i setup a new instance and tried this: http://www.stevehopwoodforex.com/phpBB3 ... f=15&t=254

unfortunately it doesn't always work and i found that I had anywhere from 100 to 2000+ bars in the H4 timeframe. it would actually report success when bars were more than zero, so 100 bars is a success, but its actually a total fail for HGI (we need 550). also it didnt compile properly in build 765

so ive tweaked the script for build 765 and specifically for HGI, so now it will check that there are at least 550 bars in the history on the H4 timeframe.

here are a new set of instructions that *should* hopefully set you up with 28 charts running HGB and with more than 550 bars.

if you like you can test this method for me. everything is in the zip. read the instructions!

also...

READ THE INSTRUCTIONS! :smile:

HGB forward test V3 (new instructions).zip

***see post one***
Last edited by trendinator on Thu Jan 29, 2015 3:00 pm, edited 2 times in total.
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

The Great HGB Foward Test

Post by milanese »

trendinator » Wed Jan 28, 2015 1:44 pm wrote:ok made some progress in my own tests today...

seems like the number of bars in the history would've really had an effect on HGI and therefore HGB when setting up a new instance.

i setup a new instance and tried this: http://www.stevehopwoodforex.com/phpBB3 ... f=15&t=254

unfortunately it doesn't always work and i found that I had anywhere from 100 to 2000+ bars in the H4 timeframe. it would actually report success when bars were more than zero, so 100 bars is a success, but its actually a total fail for HGI (we need 550). also it didnt compile properly in build 765

so ive tweaked the script for build 765 and specifically for HGI, so now it will check that there are at least 550 bars in the history on the H4 timeframe.

here are a new set of instructions that *should* hopefully set you up with 28 charts running HGB and with more than 550 bars.

if you like you can test this method for me. everything is in the zip. read the instructions!

also...

READ THE INSTRUCTIONS! :smile:
the HGI indicator itself has a history download function integrated, that will work as intended is the history is avaible on the broker server and you have not limited the max bars..

Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
trendinator
Trader
Posts: 156
Joined: Sat Dec 06, 2014 12:22 am

The Great HGB Foward Test

Post by trendinator »

milanese » Wed Jan 28, 2015 11:57 pm wrote: the HGI indicator itself has a history download function integrated, that will work as intended is the history is avaible on the broker server and you have not limited the max bars..

Cheers :)

Tommaso
Well it didnt seem to always work when i tested it!
I had plenty of charts with less than 550 bars. That was using hgi 15.0.6 and build 765
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

The Great HGB Foward Test

Post by milanese »

trendinator » Wed Jan 28, 2015 2:10 pm wrote:
milanese » Wed Jan 28, 2015 11:57 pm wrote: the HGI indicator itself has a history download function integrated, that will work as intended is the history is avaible on the broker server and you have not limited the max bars..

Cheers :)

Tommaso
Well it didnt seem to always work when i tested it!
I had plenty of charts with less than 550 bars. That was using hgi 15.0.6 and build 765
yes it can fail, as it will only do 2 re-attempts, for not using too much time in the initialisation, and it will only load history of the TF and Symbol() the indicator is attached...

Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
Maximilian
Trader
Posts: 150
Joined: Sat Sep 06, 2014 2:43 pm

The Great HGB Foward Test

Post by Maximilian »

I got this shitload of trendwave trades again closing after 2seconds. Using HGB 2r ootb at the moment. When reinitialized HGB on the very same chart it stops. I had no errors in my logs and my VPS wasn´t maxed out either. I don´t know. Anybody else?
Post Reply

Return to “Thingy Bob EA's”