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

Holy Graily Bob
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4154
Page 30 of 32
Author:  yamez [ Fri Jul 03, 2015 1:43 pm ]
Post subject:  Holy Graily Bob

After 2 weeks of drawdown :cry: , now this week, the 3rd bout of mostly larger profitible trades. 1 step backwards, 2 steps forward. Not always that way, but don't over leverage.

Please ignore the fib pattern, I use that in manual trading. All listed open trades taken with HGB on H4, with semi manual/auto exiting.
Author:  AnotherBrian [ Fri Jul 03, 2015 4:45 pm ]
Post subject:  Duplicate orders

HGB is sending duplicates often on my set-up. I know this happens so I reduced the lot size.

Here is a snippet from the experts log that shows two orders being places when only one was required.
The indicator is deinitializing and this is what is causing it.

Also below are the reason codes. Code 7 is "A new template has been applied". The EA and platform has been running without any intervention.
I added some troubleshooting code, seen here as "Area 2..."
Dupes.png
Hopefully this is helpful info. Also - I haven't looked at the code but I thought I'd post this for the coders who have some time on their hands. Hopefully this helps. Steve - have you had this occur on your platform? I'm using build 765, but this has happened with previous version as well.
Uninit codes.png
edit:

template code is in IsChartRefreshNeeded()
ChartSaveTemplate(0,"HGB_temp_Template");
ChartApplyTemplate(0,"HGB_temp_Template");


And it is called here....
//HGI does not remove a signal that is no longer valid until the chart is refreshed. The signal remains in the indi's buffer
//so HGB thinks the signal is still valid. Refresh the chart every few minutes if there is a pending trade.
if(PendingTradeOpen)
if(CloseOnFalseSignal)
{
IsChartRefreshNeeded();
CloseAndDeleteTradesOnFalseSignal();
}//if (CloseOnFalseSignal)


Suggest we need a delay in here to let things settled down, but not sure. I could add troubleshooting code to see what is going on, if you think this will help let me know.

edit - did more reading - why not use ChartRedraw()? I assume there were issues with that since the code indicates the template was another method....
Author:  yamez [ Tue Jul 07, 2015 1:46 pm ]
Post subject:  Holy Graily Bob

HGB has been rather trendy of late. Exit when a yellow wavy says so.
Author:  Bippo [ Sun Jul 12, 2015 12:17 pm ]
Post subject:  Holy Graily Bob

HolyGrailBob has not been so profitable for me in the last 4 weeks

I'm using OOTB settings,H4 Timeframe
Broker Demo FxPro

wondering if someone that has been profitable in the last month could help me or point me to some good setup

I've read all HGI and HGB Threads,
I've been studying many different setup combinations in the last 2 weeks,but still I have to find what I'm lookin' for
and I don't know if it would be better to stop demo HGB OOTB setup H4 Timeframe
I trade AUDCHF\AUDUSD\
CADCHF\CADJPY\
EURGBP\EURNZD\EURJPY\EURAUD\EURUSD\
GBPCHF\GBPUSD\
NZDUSD\NZDJPY\
USDCAD\USDJY\USDCHF
maybe I could add another account with different nuances of the EA

other EAs,such as PcPm and PcPm on S , are working fine

please let me know if I'm missing something good,or maybe July is simply a bad month for this sys?
I'm puzzled 'cos it seems I'm the one and only not making money with HGB
this forum is full of helpful people,and I appreciate very much great traders and coders sharing their works here.

Thanks in advance
Best Regards
Author:  AnotherBrian [ Sun Jul 12, 2015 3:32 pm ]
Post subject:  Duplicate orders

AnotherBrian » Fri Jul 03, 2015 11:45 am wrote:HGB is sending duplicates often on my set-up. I know this happens so I reduced the lot size.

Here is a snippet from the experts log that shows two orders being places when only one was required.
The indicator is deinitializing and this is what is causing it.

Also below are the reason codes. Code 7 is "A new template has been applied". The EA and platform has been running without any intervention.
I added some troubleshooting code, seen here as "Area 2..."



Hopefully this is helpful info. Also - I haven't looked at the code but I thought I'd post this for the coders who have some time on their hands. Hopefully this helps. Steve - have you had this occur on your platform? I'm using build 765, but this has happened with previous version as well.



edit:

template code is in IsChartRefreshNeeded()
ChartSaveTemplate(0,"HGB_temp_Template");
ChartApplyTemplate(0,"HGB_temp_Template");


And it is called here....
//HGI does not remove a signal that is no longer valid until the chart is refreshed. The signal remains in the indi's buffer
//so HGB thinks the signal is still valid. Refresh the chart every few minutes if there is a pending trade.
if(PendingTradeOpen)
if(CloseOnFalseSignal)
{
IsChartRefreshNeeded();
CloseAndDeleteTradesOnFalseSignal();
}//if (CloseOnFalseSignal)


Suggest we need a delay in here to let things settled down, but not sure. I could add troubleshooting code to see what is going on, if you think this will help let me know.

edit - did more reading - why not use ChartRedraw()? I assume there were issues with that since the code indicates the template was another method....
I replaced the part of the code where it saves the chart template and then re-applies it. This was causing the duplicate orders.

This is original
ChartSaveTemplate(0,"HGB_temp_Template");
ChartApplyTemplate(0,"HGB_temp_Template");

I changed it to
ChartRedraw();

It seems to have solved the problem. I'm hoping other coders can chime in here - will this accomplish the same thing? What I am not sure about is the "refreshing" requirement of HGI and is ChartRedraw accomplishes this.
Author:  trader689 [ Sun Jul 12, 2015 6:21 pm ]
Post subject:  Holy Graily Bob

bippo i recommend you try the WRB HGB variant available here:

http://www.stevehopwoodforex.com/phpBB3 ... =87&t=4328


it is a profitable variation of HGB and is doing well



Bippo » Sun Jul 12, 2015 12:17 pm wrote:HolyGrailBob has not been so profitable for me in the last 4 weeks

I'm using OOTB settings,H4 Timeframe
Broker Demo FxPro

wondering if someone that has been profitable in the last month could help me or point me to some good setup

I've read all HGI and HGB Threads,
I've been studying many different setup combinations in the last 2 weeks,but still I have to find what I'm lookin' for
and I don't know if it would be better to stop demo HGB OOTB setup H4 Timeframe
I trade AUDCHF\AUDUSD\
CADCHF\CADJPY\
EURGBP\EURNZD\EURJPY\EURAUD\EURUSD\
GBPCHF\GBPUSD\
NZDUSD\NZDJPY\
USDCAD\USDJY\USDCHF
maybe I could add another account with different nuances of the EA

other EAs,such as PcPm and PcPm on S , are working fine

please let me know if I'm missing something good,or maybe July is simply a bad month for this sys?
I'm puzzled 'cos it seems I'm the one and only not making money with HGB
this forum is full of helpful people,and I appreciate very much great traders and coders sharing their works here.

Thanks in advance
Best Regards
Author:  pt2004 [ Wed Aug 26, 2015 4:06 pm ]
Post subject:  Error 4109 : Trade is not alllowed in the expert properties

Hello,

Anyone else getting this error. Ea works fine for some hours then gives this error.

I do have the live trading allowed in the ea properties as DLL imports etc..

Best regards

PT
Author:  tcollings [ Thu Aug 27, 2015 12:01 am ]
Post subject:  Holy Graily Bob

Hi PT,

Try restarting your platform if you get that error. it works for me when the error starts to occur.

Cheers,
Tim
Author:  pt2004 [ Thu Aug 27, 2015 12:32 pm ]
Post subject:  Holy Graily Bob

Hi,

Thank you Tim.

Restarted the platform and it seems to do the trick... :clap: So far


Thank you

PT


tcollings » Thu Aug 27, 2015 1:01 am wrote:Hi PT,

Try restarting your platform if you get that error. it works for me when the error starts to occur.

Cheers,
Tim
Author:  AnotherBrian [ Fri Sep 11, 2015 8:15 pm ]
Post subject:  Duplicate orders

Anyone still getting duplicates orders?

AnotherBrian » Fri Jul 03, 2015 11:45 am wrote:HGB is sending duplicates often on my set-up. I know this happens so I reduced the lot size.

Here is a snippet from the experts log that shows two orders being places when only one was required.
The indicator is deinitializing and this is what is causing it.

Also below are the reason codes. Code 7 is "A new template has been applied". The EA and platform has been running without any intervention.
I added some troubleshooting code, seen here as "Area 2..."



Hopefully this is helpful info. Also - I haven't looked at the code but I thought I'd post this for the coders who have some time on their hands. Hopefully this helps. Steve - have you had this occur on your platform? I'm using build 765, but this has happened with previous version as well.



edit:

template code is in IsChartRefreshNeeded()
ChartSaveTemplate(0,"HGB_temp_Template");
ChartApplyTemplate(0,"HGB_temp_Template");


And it is called here....
//HGI does not remove a signal that is no longer valid until the chart is refreshed. The signal remains in the indi's buffer
//so HGB thinks the signal is still valid. Refresh the chart every few minutes if there is a pending trade.
if(PendingTradeOpen)
if(CloseOnFalseSignal)
{
IsChartRefreshNeeded();
CloseAndDeleteTradesOnFalseSignal();
}//if (CloseOnFalseSignal)


Suggest we need a delay in here to let things settled down, but not sure. I could add troubleshooting code to see what is going on, if you think this will help let me know.

edit - did more reading - why not use ChartRedraw()? I assume there were issues with that since the code indicates the template was another method....
All times are UTC Page 30 of 32