Technical problems running HGB'nG? Post here.

EA's inspired by nanningbob's work here, especially those based on his 240 Moving Average trend detection filter.
Post Reply
User avatar
krzysiekqq2
Trader
Posts: 69
Joined: Sun Oct 11, 2015 11:59 am
Location: Gdynia, town at Baltic sea cost

Technical problems running HGB'nG? Post here.

Post by krzysiekqq2 »

Hi, just to confirm. If Semafor closes all market and pending order in profit it will not send any new grid. Am I correct? This I saw today on EG pair
You do not have the required permissions to view the files attached to this post.
k3v1n0s
Trader
Posts: 27
Joined: Mon Jan 13, 2014 8:50 pm
Location: Luxembourg

Technical problems running HGB'nG? Post here.

Post by k3v1n0s »

krzysiekqq2 » 15 Mar 2016, 20:11 wrote:Hi, just to confirm. If Semafor closes all market and pending order in profit it will not send any new grid. Am I correct? This I saw today on EG pair
Hi krzysiekqq2,

With default settings, the grids are just placed in case there are open losing trades. If the position is unhedged and running in profit as a semafor signal appears, the position gets closed out and there is no need to place new grids. The cycle is over and HGB'nG starts looking for a new signal.

Cheers,

Kevin
User avatar
krzysiekqq2
Trader
Posts: 69
Joined: Sun Oct 11, 2015 11:59 am
Location: Gdynia, town at Baltic sea cost

Technical problems running HGB'nG? Post here.

Post by krzysiekqq2 »

Kevin, thanks for confirmation. I kept them running with hope, that when they close, new grid will be send continuing the HGI signal. Still with extreme gorgeous results of +1150 pips today. Thanks to Steve and you.
Cheers, Krzysiek
User avatar
krzysiekqq2
Trader
Posts: 69
Joined: Sun Oct 11, 2015 11:59 am
Location: Gdynia, town at Baltic sea cost

Technical problems running HGB'nG? Post here.

Post by krzysiekqq2 »

HGBnG_MK2.set
Hi, have you get executed blue wave on EU? I have a signal, but no trades.
Cheers, Krzysiek
EURUSDH4_16_3_16.png
You do not have the required permissions to view the files attached to this post.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Technical problems running HGB'nG? Post here.

Post by SteveHopwood »

krzysiekqq2 » Wed Mar 16, 2016 7:20 pm wrote:Hi, have you get executed blue wave on EU? I have a signal, but no trades.
Cheers, Krzysiek
The bot will not take trades in the teeth of a high semafor on the previous candle.

:xm:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
lwphoon
Trader
Posts: 12
Joined: Fri May 08, 2015 3:17 pm

Technical problems running HGB'nG? Post here.

Post by lwphoon »

I face the following on the version 1a and I use the same set file from the previous version 2n. I switch off all the RAD trading and MA filters and maintain the same settings from the version 2n. I wonder what happen, is there a bug in this version 1a as this doesn't happen on 2n. Kindly please advise.
screenshot.png
2n set file.set
You do not have the required permissions to view the files attached to this post.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Technical problems running HGB'nG? Post here.

Post by SteveHopwood »

lwphoon » Mon Mar 21, 2016 8:58 am wrote:I face the following on the version 1a and I use the same set file from the previous version 2n. I switch off all the RAD trading and MA filters and maintain the same settings from the version 2n. I wonder what happen, is there a bug in this version 1a as this doesn't happen on 2n. Kindly please advise.


You might care to note that I react badly to suggestions that problems on your platform are down to a bug in my code. Best not to suggest that again; my next reply will be unfriendly should you do so.
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
barry
Trader
Posts: 81
Joined: Thu Mar 01, 2012 5:12 am

Technical problems running HGB'nG? Post here.

Post by barry »

lwphoon,
See p6 of this thread for earlier discussion of this issue.
lwphoon
Trader
Posts: 12
Joined: Fri May 08, 2015 3:17 pm

Technical problems running HGB'nG? Post here.

Post by lwphoon »

SteveHopwood wrote:
lwphoon » Mon Mar 21, 2016 8:58 am wrote:I face the following on the version 1a and I use the same set file from the previous version 2n. I switch off all the RAD trading and MA filters and maintain the same settings from the version 2n. I wonder what happen, is there a bug in this version 1a as this doesn't happen on 2n. Kindly please advise.


You might care to note that I react badly to suggestions that problems on your platform are down to a bug in my code. Best not to suggest that again; my next reply will be unfriendly should you do so.
Noted Steve.

barry wrote:lwphoon,
See p6 of this thread for earlier discussion of this issue.
Thanks Barry
xclr8tr
Trader
Posts: 12
Joined: Sun Nov 25, 2012 6:02 pm

Technical problems running HGB'nG? Post here.

Post by xclr8tr »

Hi All,
I got myself set up with some demos and everything looks good :)

Having trouble with the FIFO Scripts for closing trades and pendings. I've tried both of them and they don't seem to close anything. I've got the right magic in them etc... I've used other scripts for HGB etc for other things and they work fine so not sure what I'm doing wrong...

Any help on this appreciated, I'll try some more and have a look at the code just cause I'm curious how its set up, always wondered how they do things different for fifo stuff.

Also, I'm a long time user of Oanda so maybe something not agreeable with their set up, just guessing I haven't had a problem with them before though...

Edit:
I added the "CountOpenTrades()" to the two "ForceTradeClosure" if statements and now it works like its on fire :) , just got lucky with that, figured it wouldn't hurt to try, it looked like the only thing that could be missing. Same fix applies for both the "Close all trades this pair only FIFO.mq4" and the
"Nuclear Option FIFO.mq4".

I didn't try the non FIFO code so someone might want to check it but my guess is that its fine because it doesn't use the "CountOpenTrades()" function and someone would have probably fixed it by now.

I like how you use the arrays, just starting to understand them a little, thanks for all you do Steve, your the best :) and thanks to all who contribute and help build these awesome ea's for me to work with.

Code: Select all

void OnStart()
{
   //Construct the ticket numbers array
   CountOpenTrades();// ***this one was already here***
   
   //Close market orders
   CloseAllTrades(0);
   
   //Delete pending trades
   CloseAllTrades(2);
   
   //Try again if necessary
   if (ForceTradeClosure)
   {   
    CountOpenTrades();// ***added code here***
   
      //Close market orders
      CloseAllTrades(0);
      
      //Delete pending trades
      CloseAllTrades(2);
   }//if (ForceTradeClosure)
   
   //And again if necessary
   if (ForceTradeClosure)
   {   
     CountOpenTrades();// ***added code here***
      
      //Close market orders
      CloseAllTrades(0);
      
      //Delete pending trades
      CloseAllTrades(2);
   }//if (ForceTradeClosure)
   
   //Give up
   if (ForceTradeClosure)
      Alert("The script did not close/delete all trades. Please try again.");
   
}

Thanks All
xclr8tr
Post Reply

Return to “Thingy Bob EA's”