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
User avatar
tonyharmony
Trader
Posts: 148
Joined: Sat Dec 20, 2014 10:54 pm
Location: Ipswich, Queensland Australia

Holy Graily Bob

Post by tonyharmony »

tonyharmony » Thu Jan 22, 2015 11:19 am wrote:G'day Steve, once again you have excelled at this wonderful opportunity that you have given us, HGB...

Since applying HGB version 2q, on my three broker accounts I have gained +16.9%, +16.2% and +11% respectively in the past 24 hour or so. Granted they are all demo accounts, opened with just $1000 each, but it really shows the potential for the HGB to work successfully on a live account.

I have just loaded v2r and looking forward to seeing its response to the ECB Press Conference later today.. :smile:

I won't trading live until mid Feb, just to let the market settle after our recent Black Swan Event.
I just wanted to say thanks for all your frustration and sleepless nights (or days for that matter) that you've suffered for all of us, who are so fortunate to have found you, and your fantastic team here... :clap:

Thanks again mate
Kind regards
Tony
Oh, I forgot to mention my settings are pretty much OOTB with the exception of lot size 0.02.. :D

Cheers
One can't learn from one's success, but one can learn an enormous amount from one's failures! Determination to succeed is the only goal....
kwchau
Trader
Posts: 305
Joined: Tue Jan 03, 2012 3:37 pm

Holy Graily Bob

Post by kwchau »

SteveHopwood » Thu Jan 22, 2015 12:14 am wrote:V 2r is in post 1. I have added a flag that should stop those runs of thousands of rapid sltp mods.

The function now runs once at startup and then again when a new trade is sent.

:xm:
confirm the rapid mods issue is fixed, thanks Steve.
User avatar
rapple
Trader
Posts: 277
Joined: Fri Feb 21, 2014 10:56 pm
Location: Sydney, Australia

Holy Graily Bob

Post by rapple »

Hi Steve and Barry, I wrote the post below but I think that I may have jumped the gun. The price would need to have moved more +ve (ie 100 pips above the opening price) before the Jumping SL is moved to the next level (50 pips above the opening price). :oops: :oops:
________________________________________

Hi Steve

I noted that you have made a modification to your BE and JS code on the Pipcruiser's Pipmasher thread and was checking if it also affected HGB.

I have been attempting to set up the HGB EA with JS in combination with pending orders. I have set my TP very high (1000pips) so that it would not be hit and have opening SL set at 100 pips for all the pendings. I then have a JS set to 50pips

My plan is that as price increases it would continue to the take the pending trades (opening more and more lots) and the JS would then move all SL to 50 pips behind the price as it increases.

AS you can see from the chart the pending trades are being opened but the SL is only advancing to the opening price.

I think the idea may work as the increasing lot size, with a good move (see chart), really produces a lot of pips but then I loose them when it retracts back to the SLs.

Thanks for all your help and assistance as usual :good: :good:

Kind regards Richard
You do not have the required permissions to view the files attached to this post.
Last edited by rapple on Thu Jan 22, 2015 5:12 am, edited 3 times in total.
barry
Trader
Posts: 81
Joined: Thu Mar 01, 2012 5:12 am

Holy Graily Bob

Post by barry »

AS you can see from the chart the pending trades are being opened but the SL is only advancing to the opening price.
Richard,
That is very similar to what I posted two pages back. I am using the Trailing Stop set to 50 pips. It advances to the opening price + 5, and no further.
ariel
Trader
Posts: 65
Joined: Mon Dec 01, 2014 1:37 pm
Location: Estrela RS Brazil

Holy Graily Bob

Post by ariel »

SteveHopwood » Wed Jan 21, 2015 11:44 am wrote:V 2r is in post 1. I have added a flag that should stop those runs of thousands of rapid sltp mods.

The function now runs once at startup and then again when a new trade is sent.

:xm:
Hello
I started V2r Yesterday, but the problem dont stop. i use ootb
i put a picture.
Regards
You do not have the required permissions to view the files attached to this post.
kabitto
Trader
Posts: 16
Joined: Tue Aug 05, 2014 11:31 pm

Holy Graily Bob

Post by kabitto »

Could you please confirm that your settings are working. Cauz i see 30min TF issue:
This morning USDJPY trade was simply ignored ( big arrow and wave on same candle).


- All other types of trades are disabled. (only trendwave left enabled)
- lookback set to Trendcandleslookback 1 ; Wave lookback 5
- Using TF 30 mins
- HGI version 15.06
- HGB version 2r

Am i doin wmth wrong?
fchaman » Wed Jan 21, 2015 3:40 pm wrote:Thanks Frank.

I am seriously thinking just to trade the TrendWave signals only...and bet big!

TrendTradingAllowed=false
RangeTradingAllowed=false
RadTradingAllowed=false
WaveTradingAllowed=false
TrendWaveTradingAllowed=true
You do not have the required permissions to view the files attached to this post.
alop
Posts: 4
Joined: Mon Jun 16, 2014 1:23 pm

Holy Graily Bob

Post by alop »

I have discovered that in the calculation of the "reached profit target" we are just refering to the day of the week (Monday, Tuesday,....).
The result is, that the cashprofit is calculated also for the last Thursday and I dont get any trades, because last Thursday was a good trade day.


bool HaveWeHitProfitTarget()
{

//Returns true if profits in the history tab have reached our target, else false

if (OrdersHistoryTotal() == 0)
return(false);

double CashProfit = 0, PercentProfit = 0;

for (int cc = OrdersHistoryTotal() - 1; cc >= 0; cc--)
{
if (!OrderSelect(cc, SELECT_BY_POS, MODE_HISTORY) ) continue;
if (OrderMagicNumber() != MagicNumber) continue;
[b]if (TimeDayOfWeek(OrderCloseTime()) != TimeDayOfWeek(TimeCurrent()) ) [/b]continue;

if (OrderType() < 2)
{
CashProfit+= (OrderProfit() + OrderSwap() + OrderCommission() );
}
}
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 »

alop » Thu Jan 22, 2015 2:14 pm wrote:I have discovered that in the calculation of the "reached profit target" we are just refering to the day of the week (Monday, Tuesday,....).
The result is, that the cashprofit is calculated also for the last Thursday and I dont get any trades, because last Thursday was a good trade day.


bool HaveWeHitProfitTarget()
{

//Returns true if profits in the history tab have reached our target, else false

if (OrdersHistoryTotal() == 0)
return(false);

double CashProfit = 0, PercentProfit = 0;

for (int cc = OrdersHistoryTotal() - 1; cc >= 0; cc--)
{
if (!OrderSelect(cc, SELECT_BY_POS, MODE_HISTORY) ) continue;
if (OrderMagicNumber() != MagicNumber) continue;
[b]if (TimeDayOfWeek(OrderCloseTime()) != TimeDayOfWeek(TimeCurrent()) ) [/b]continue;

if (OrderType() < 2)
{
CashProfit+= (OrderProfit() + OrderSwap() + OrderCommission() );
}
}
Good point and something I will address when I think about it - only needs an extra line of code.

In the meantime, lower the number of days showing in your History tab.

: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.
alop
Posts: 4
Joined: Mon Jun 16, 2014 1:23 pm

Holy Graily Bob

Post by alop »

SteveHopwood » 22 Jan 2015, 15:18 wrote: Good point and something I will address when I think about it - only needs an extra line of code.

In the meantime, lower the number of days showing in your History tab.

:xm:
One suggestion:

Code: Select all

StrToTime(TimeToStr(OrderCloseTime(), TIME_DATE)
Sandovich
Trader
Posts: 37
Joined: Fri Dec 02, 2011 9:04 am
Location: South Africa

Holy Graily Bob

Post by Sandovich »

A close trade wave option on the MPTM EA with a time frame option , could help to close trades on a lower time frame . I look at 1 hr charts for early warnings of a probable reversal when trading 4hrs .
Locked

Return to “Thingy Bob EA's”