Old and defunct Holy Graily Bob

EA's inspired by nanningbob's work here, especially those based on his 240 Moving Average trend detection filter.
Locked
fullaforex
Trader
Posts: 120
Joined: Sat Mar 29, 2014 6:25 am

Holy Graily Bob

Post by fullaforex »

Radar » Tue Dec 02, 2014 9:20 pm wrote:Hey Wapen,
Wapen » Tue Dec 02, 2014 1:20 am wrote:Hi Steve,
What can we say, Wow, wow, wow.

One thing I have noted is that the Trailing Stop is not functioning correct. The BE works!

Thanks
Wapen

If you're getting Error 130, it's most likely caused by your br0ker's StopLevel... From the looks of it, Steve's br0ker has a StopLevel of 0, and so he doesn't get bombarded with the error message.

To fix it, go to line 3369, and change it from this...

Code: Select all

if (Bid >= sl + (TrailingStopPips / factor) )//George
...to this...

Code: Select all

if ((Bid - MarketInfo(OrderSymbol(), MODE_STOPLEVEL)) >= sl + (TrailingStopPips / factor) )//George
Then go to line 3385, and change this...

Code: Select all

if (Bid <= sl  - (TrailingStopPips / factor))//George
...to this...

Code: Select all

if ((Bid + MarketInfo(OrderSymbol(), MODE_STOPLEVEL)) <= sl  - (TrailingStopPips / factor))//George
No more "BINGBINGBINGBING!" :D

Have fun!

Radar =8^)
Thank you So much.. :D
There are 10 types of people in the world. Those who understand Binary and those who don't.
fullaforex
Trader
Posts: 120
Joined: Sat Mar 29, 2014 6:25 am

Holy Graily Bob

Post by fullaforex »

Gertje » Tue Dec 02, 2014 9:24 pm wrote:
Radar » Tue Dec 02, 2014 12:35 pm wrote:Hey Wapen,


No more "BINGBINGBINGBING!" :D

Have fun!

Radar =8^)
I would suggest change broker, 20 pips stoplevel is ridiculous.
It's a 20 pip trail.....NOT 20 point! That would be ridiculous!
There are 10 types of people in the world. Those who understand Binary and those who don't.
User avatar
Gertje
Trader
Posts: 1936
Joined: Mon Dec 12, 2011 1:17 pm
Location: Middle of the Netherlands

Holy Graily Bob

Post by Gertje »

fullaforex » Tue Dec 02, 2014 12:45 pm wrote:
It's a 20 pip trail.....NOT 20 point! That would be ridiculous!
If the 20 pips trail gives you the warnings, it's a +20 pips stoplevel, otherwise the stop would have been adjusted.

Correct me if I'm wrong....
fullaforex
Trader
Posts: 120
Joined: Sat Mar 29, 2014 6:25 am

Holy Graily Bob

Post by fullaforex »

Gertje » Tue Dec 02, 2014 9:39 pm wrote:
fullaforex » Tue Dec 02, 2014 12:45 pm wrote:
It's a 20 pip trail.....NOT 20 point! That would be ridiculous!
If the 20 pips trail gives you the warnings, it's a +20 pips stoplevel, otherwise the stop would have been adjusted.

Correct me if I'm wrong....

The code change from Radar seems to have fixed the problem.
No need to change Broker. :clap:
There are 10 types of people in the world. Those who understand Binary and those who don't.
Radar
Trader
Posts: 437
Joined: Fri Mar 23, 2012 5:39 pm
Location: Round the bend ;)

Holy Graily Bob

Post by Radar »

Hey Fullaforex & Gertje,
fullaforex » Tue Dec 02, 2014 10:15 pm wrote:
Gertje » Tue Dec 02, 2014 9:24 pm wrote:
Radar » Tue Dec 02, 2014 12:35 pm wrote:Hey Wapen,


No more "BINGBINGBINGBING!" :D

Have fun!

Radar =8^)
I would suggest change broker, 20 pips stoplevel is ridiculous.
It's a 20 pip trail.....NOT 20 point! That would be ridiculous!
You might want to have a look at the TrailingStop function, where it calculates the new SL, and have a look at what it's actually doing...

Original code (for Buys)...

Code: Select all

if (Bid >= sl + (TrailingStopPips / factor) )//George
{
 NewStop = NormalizeDouble(sl + (TrailingStopPips / factor), Digits);
 if (HiddenPips > 0) ObjectMove(LineName, 0, Time[0], NewStop);
 if (NewStop - OrderStopLoss() >= Point) modify = true;//George again. What a guy
}//if (Bid >= MathMax(sl,OrderOpenPrice()) + (TrailingStopPips / factor) )//George
With your TrailingStop of 20 pips, what this code is saying is, "When Bid is 20 (or more) Pips above the current SL, move the SL up by 20 Pips." With a StopLevel of 2 Pips, you're gonna get "BINGBINGBINGBING!" until Bid is 22Pips or more above your current SL. I reckon you can work it out for Sells ;)

Have fun!

Radar =8^)
Check out my new, (well, old now), manual trade & automatic scale-in manager,
StackManV2
User avatar
Gertje
Trader
Posts: 1936
Joined: Mon Dec 12, 2011 1:17 pm
Location: Middle of the Netherlands

Holy Graily Bob

Post by Gertje »

Steve,

Since, rad-signals are basically trend-continuations, would it make sence to have the possibility to close these on a opposite trend-signal?
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.

Holy Graily Bob

Post by SteveHopwood »

Gertje » Tue Dec 02, 2014 7:29 pm wrote:Steve,

Since, rad-signals are basically trend-continuations, would it make sence to have the possibility to close these on a opposite trend-signal?
Yes. Will do.

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

Holy Graily Bob

Post by bazze »

My results so far.... :good:
Using this setfile...
You do not have the required permissions to view the files attached to this post.
xfactornos
Trader
Posts: 115
Joined: Fri May 23, 2014 5:43 pm
Location: Where I am...

Holy Graily Bob

Post by xfactornos »

bazze » Tue Dec 02, 2014 3:37 pm wrote:My results so far.... :good:
Using this setfile...
Not bad.. I am currently negative 71 pips realized, floating 118 pips.
John 3:16
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.

Holy Graily Bob

Post by SteveHopwood »

Ok guys, whilst I have been swanning around the UK countryside meeting The Bobster and his wonderful Patti, Denis and Tomasso have been beavering away on our behalves.

Just so you know where you are right now, it is 10.38 London time.

Denis has dealt with my misunderstanding of the wavy lines in HGB.

Tommaso has spent the day dealing with some esoteric HGI stuff. I tell you guys, these indi people speak strange tongues. :lol: I never understand a word they are speaking.

I am too tired to make any sense right now (ignores cries of, "What do you mean, 'right now'")

I shall leave Bob, Tommaso and Denis to decide which indi version to update in Bob's thread. I will update this thread in the morning with Denis' HGB and the resulting need to update the user guide. Live with what we have for now folks, and await updates tomorrow.

Tommaso and Denis, I cannot thank you enough for what you have done today whilst I was enjoying the company of one of the best human beings on this planet. Thanks guys.

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

Return to “Thingy Bob EA's”