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

Simple HGI EA - help needed
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4055
Page 2 of 3
Author:  JFonseca [ Tue Jan 20, 2015 7:57 pm ]
Post subject:  Simple HGI EA - help needed

woodlands » Tue Jan 20, 2015 2:59 pm wrote:I put on a demo on Sunday for opening and is now up 36% today.
The EA is only taking buy trades and placing buy stops (a lot of them).
I cannot see anything in the code comparing buy with sell why this should be so.
This is because I know less than nothing of code I expect but seems to be following the plan.
Thanks
Tony
That's weird :?:

I have also the EA running on a GPF Demo account and it's now around 1% loss in equity. The EA is trading 0.01lot per 1,000 Equity [in fact, the exact formula is (Equity + Balance)/2 ].

Interestingly the EA is getting the sell signs from the HGI library but it's not assuming a selling condition. I will revise carefully the code, and when fixed, I will upload the new version.

Thanks for your input.
Author:  beorne [ Tue Jan 20, 2015 11:22 pm ]
Post subject:  Simple HGI EA - help needed

That's right, it's trading 0.1 lots on my 10k demo in GP.
It's a little over 1% profit in equity at the moment but only buy trades so far.

I haven't been following the HGI signals and seeing if the EA is trading them correctly so I can't comment on that but it's looking good enough so far (apart from no sell trades).

Cheers,

b.
Author:  rocketman99 [ Wed Jan 21, 2015 12:33 am ]
Post subject:  Simple HGI EA - help needed

milanese » Thu Jan 15, 2015 10:56 pm wrote:just take a look to at exp. ----> http://www.stevehopwoodforex.com/phpBB3 ... =87&t=4009 v 1.04 uses the hgi_lib and gives you a coding exampel, to the HGI_matrix in the L versions uses the hgi-lib, so you find some coding exampels how to use the lib..

Cheers :)

Tommaso
Hi,

I gave the HGI-lib a go and it works perfectly. Just a question - will the lib version also expire like the indicator? And what warning will I get and how will my code fail if the lib expires? I have never had to deal with expiring code before.
Author:  milanese [ Wed Jan 21, 2015 12:42 am ]
Post subject:  Simple HGI EA - help needed

rocketman99 » Wed Jan 21, 2015 12:33 am wrote:
milanese » Thu Jan 15, 2015 10:56 pm wrote:just take a look to at exp. ----> http://www.stevehopwoodforex.com/phpBB3 ... =87&t=4009 v 1.04 uses the hgi_lib and gives you a coding exampel, to the HGI_matrix in the L versions uses the hgi-lib, so you find some coding exampels how to use the lib..

Cheers :)

Tommaso
Hi,

I gave the HGI-lib a go and it works perfectly. Just a question - will the lib version also expire like the indicator? And what warning will I get and how will my code fail if the lib expires? I have never had to deal with expiring code before.
it will expire same day 1th apr 2015, there will be in time an update..
Author:  nhtqngn14 [ Wed Jan 21, 2015 4:56 pm ]
Post subject:  Simple HGI EA - help needed

For not taking sell trade. Try this Its taking trade now.
Author:  beorne [ Fri Jan 23, 2015 6:00 pm ]
Post subject:  Simple HGI EA - help needed

nhtqngn14 » Wed Jan 21, 2015 5:56 pm wrote:For not taking sell trade. Try this Its taking trade now.
Not sure if the SL calculations are correct in this version. Take a look:
screen.png
http://www.myfxbook.com/members/beorn/shgi/1131085

b.
Author:  JFonseca [ Sun Jan 25, 2015 2:03 pm ]
Post subject:  Simple HGI EA - help needed

nhtqngn14 » Wed Jan 21, 2015 4:56 pm wrote:For not taking sell trade. Try this Its taking trade now.
Thanks! A second pair of eyes is always handy for catching a little bug :good:

THIS IS STILL IN BETA TESTING (strategy and code!!!)

Buy or Sell: Trend arrow or Blue wave
Stop Trade: Opposite signal Sell or Buy
Reduce SL: Rad arrow or yellow wave in opposite direction
Maximum simultaneous trades per pair: 2 (can be changed)
Lots: 0.01 per 1000 (can be changed)

Here you have 2 different versions:
2015 2v1
TP around 30*
SL around 70*
Distance between orders 20*

2015 2v2
TP around 80*
SL around 60*
Distance between orders 50*


* ATR dependent
Author:  bazze [ Sun Jan 25, 2015 9:54 pm ]
Post subject:  Simple HGI EA - help needed

Thanks,but can't attach 2v2 to the chart :?:
2v1 is ok........
Author:  JFonseca [ Sun Jan 25, 2015 10:47 pm ]
Post subject:  DO NOT USE THESE EAs!

None is working as it should :cry:

My lack of coding skills are becoming too obvious :oops:

When I have stable versions I will post them. Until then please DO NOT USE THESE EAs!
Author:  SpiderX [ Mon Jan 26, 2015 1:05 am ]
Post subject:  DO NOT USE THESE EAs!

JFonseca » Mon Jan 26, 2015 6:47 am wrote:None is working as it should :cry:

My lack of coding skills are becoming too obvious :oops:

When I have stable versions I will post them. Until then please DO NOT USE THESE EAs!
Hi

If you want to make your life easier...no point reinventing the wheel.
You can simply take the HGI Hurst trader and modify it to what you need....most of the stuff is there.
http://www.stevehopwoodforex.com/phpBB3 ... =87&t=4009

The EA is also fairly newbie coder friendly as far as i am aware.

Cheers
All times are UTC Page 2 of 3