Gertje plus Squalou plus Forexhard EA

Post Reply
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.

Re: Gertje plus Squalou plus Forexhard EA

Post by SteveHopwood »

Another fix in post 1 guys.

If you already had trades open when you did the previous update, G++ will have replaced the pending trade lines, causing a new and premature trade on exit of the CZ in the same direction.

Coders, go to void ReadIndicatorValues() and encase

Code: Select all

         ObjectDelete(risetoline);
         CreateLine(risetoline, NormalizeDouble(pHigh, Digits), BuyLineColour);

         ObjectDelete(falltoline);
         CreateLine(falltoline, NormalizeDouble(pLow, Digits), SellLineColour);
inside this conditional:

Code: Select all

      if (OpenTrades == 0)
      {
         ObjectDelete(risetoline);
         CreateLine(risetoline, NormalizeDouble(pHigh, Digits), BuyLineColour);

         ObjectDelete(falltoline);
         CreateLine(falltoline, NormalizeDouble(pLow, Digits), SellLineColour);
      }//if (OpenTrades == 0) 
:D
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.
acostafulano
Trader
Posts: 243
Joined: Tue Dec 06, 2011 3:40 pm

Re: Gertje plus Squalou plus Forexhard EA

Post by acostafulano »

Is anyone else getting the "Do not trade this EA on a live account" warning popup when adding it to a demo account? Or is it just me? (Happened in 8 demo instances of Empty4)
jb68
Trader
Posts: 71
Joined: Mon Jan 30, 2012 11:30 pm

Re: Gertje plus Squalou plus Forexhard EA

Post by jb68 »

magft wrote:
SteveHopwood wrote:
Steve

That is a really old version of the indy, in the comments v1.8. The one you have in first post is v1.13 but i have v1.13_R1 as well which has a minor mod. Can you remember what changes you made? I have a quick scan and looks like you have set defaults and commented out drawing bits is that correct?

Ive attached v1.13_R1 for reference, in the top the history states

Code: Select all

 * - v1.13 R1 (2011.09.22):
 *   With AutoBoxRange=true:
 *   Box continue fixed. Box Range changed when new Day starts because of change in ATR value.
 *   Also Box change values when variable "_period" no longer rise. "i+_period-1" points then to the wrong bar.
 *   In display_stats() Division by Zero 'num_buy' and 'num_sell' avoided.
This may be the issue FH was referring to, i'll have a play around tonight, day job beckons at the mo.

Regards

Mike
Hi,
I did the changes on 1.13, I think I commented out the stats. They are useless any way into an EA and with 1.13 they generate a zero-division error. I did this before the R1 version. I cannot figure out the changes with the ATR on R1, however I search on my comp and found my EA tests and checked the R1 indie.

On The R1 signal buffers (4, & 5 ) doesn't seem to work anymore but the rest works the same.

Any way IMO the boxes are not done right when market open with gap like today. Per SQ indicator we should make 73 pips today and this is no way possible in real life.

Steve, you can put the R1 version in the EA, it should work fine with your code. I will do a backtest to see if there is any changes, may be we might hit the jackpot :)
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.

Re: Gertje plus Squalou plus Forexhard EA

Post by SteveHopwood »

acostafulano wrote:Is anyone else getting the "Do not trade this EA on a live account" warning popup when adding it to a demo account? Or is it just me? (Happened in 8 demo instances of Empty4)
Your demo thinks it is a live-money account. I have included a basic check to protect the unwary from themselves.

If you have not yet got the experience to remove the code, then now is the time to acquire it. Look at the beginning of int start().

:D
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.
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.

Re: Gertje plus Squalou plus Forexhard EA

Post by SteveHopwood »

jb68 wrote:Steve, you can put the R1 version in the EA, it should work fine with your code. I will do a backtest to see if there is any changes, may be we might hit the jackpot :)
Point me at it and I will oblige.

:D
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.
jb68
Trader
Posts: 71
Joined: Mon Jan 30, 2012 11:30 pm

Re: Gertje plus Squalou plus Forexhard EA

Post by jb68 »

SteveHopwood wrote:
jb68 wrote:Steve, you can put the R1 version in the EA, it should work fine with your code. I will do a backtest to see if there is any changes, may be we might hit the jackpot :)
Point me at it and I will oblige.

:D
magft posted a bit newer version of the indie here.

http://www.stevehopwoodforex.com/phpBB3 ... hp?id=4257

I downloaded it, found my old EA, insert the R1 into it and unfortunately after 3 and half hours backtesting last 2 years I didn't get any improvements over the old one so it is up 2 you if you want to have fun with extra work.
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.

Re: Gertje plus Squalou plus Forexhard EA

Post by SteveHopwood »

jb68 wrote:
SteveHopwood wrote:
jb68 wrote:Steve, you can put the R1 version in the EA, it should work fine with your code. I will do a backtest to see if there is any changes, may be we might hit the jackpot :)
Point me at it and I will oblige.

:D
magft posted a bit newer version of the indie here.

http://www.stevehopwoodforex.com/phpBB3 ... hp?id=4257

I downloaded it, found my old EA, insert the R1 into it and unfortunately after 3 and half hours backtesting last 2 years I didn't get any improvements over the old one so it is up 2 you if you want to have fun with extra work.
Not a clue what you mean. Sorry.

Anybody happen to have a copy of this damn indicator that actually does what it is bloody-well supposed to do, whatever the Hell that is? Preferably without hedging it around with ifs buts and maybees? Sq, you around? Anybody with a firing brain cell who also happens to know anything about blasted custom indicators? And is capable of understanding why I loathe them?

If not, shut up and leave me alone to try to develop this flippin' EA. Whichever one that is. Whatever it does. Right at this moment, I haven't a clue and will be perfectly happy if I never have to read another idiotic bloody thread post or write another line of bloody mql4 code ever again.

We are talking serious loss of will to live here folks. If you cannot post usefully, then stop posting.
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.
User avatar
Eamonn
Trader
Posts: 87
Joined: Wed Nov 16, 2011 6:45 am

Re: Gertje plus Squalou plus Forexhard EA

Post by Eamonn »

Morning Steve, just checked GSF this morning have it on 8 pairs on Demo with SIG TRADER and the breakout boxes didn,t form over night. When I changed the time frames on all the pairs and put them back to the 15m time frame they all appeared back as normal.
jb68
Trader
Posts: 71
Joined: Mon Jan 30, 2012 11:30 pm

Re: Gertje plus Squalou plus Forexhard EA

Post by jb68 »

Eamonn wrote:Morning Steve, just checked GSF this morning have it on 8 pairs on Demo with SIG TRADER and the breakout boxes didn,t form over night. When I changed the time frames on all the pairs and put them back to the 15m time frame they all appeared back as normal.
This look more like an Empty4 glitch.

As a funny thing after I posted on forexhard's FF thread that I couldn't find a winning exit and CZ strategy has a limited edge he banned my on his thread. :roll:
SWG123
Trader
Posts: 565
Joined: Wed Nov 16, 2011 3:02 pm
Location: Cape Town

Re: Gertje plus Squalou plus Forexhard EA

Post by SWG123 »

jb68 wrote:As a funny thing after I posted on forexhard's FF thread that I couldn't find a winning exit and CZ strategy has a limited edge he banned my on his thread. :roll:
Yes, he can be a bit .... tetchy :lol:
Post Reply

Return to “Automated trading systems”