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

Holy Graily Bob
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4154
Page 16 of 32
Author:  renexxxx [ Fri Apr 03, 2015 9:38 pm ]
Post subject:  Holy Graily Bob

Week 4 results of trading HGB OOTB on the majors:
Selection_049.jpg
After a mid week slump, HGB ended the week on a high, with 800+ pips. I haven't changed anything since the beginning of the test -- it is a bit hard to draw any conclusions if you do. It is already hard enough to draw any conclusions if you don't. But for the moment, this version with this setup on these pairs, in this market is doing well. A big round of applause to Steve! :clap: :clap: :clap:
Author:  art [ Fri Apr 03, 2015 11:14 pm ]
Post subject:  Holy Graily Bob

Nice one Renee i am getting good results also considering this is a crappy market, noticed you are including EJ in your pairs have you dropped GJ
Author:  renexxxx [ Fri Apr 03, 2015 11:58 pm ]
Post subject:  Holy Graily Bob

art » Sat Apr 04, 2015 9:14 am wrote:Nice one Renee i am getting good results also considering this is a crappy market, noticed you are including EJ in your pairs have you dropped GJ
:oops: well spotted! I am not trading EJ but GJ. Updated the original post.
Author:  forexdj [ Sat Apr 04, 2015 7:36 am ]
Post subject:  Holy Graily Bob

TraderJoeForex » Fri Apr 03, 2015 7:04 pm wrote:
Hey.. I only trade H1 from about 6am to 4pm. Entry criteria is Trend Arrow on 22pairs + gold - this is managed by HGB with close on 1st opposite (usually wavy or range arrow) although I usually exit manually before the opposite. 1 main trade only.

I don't set a SL (the close on opposite is my safety net) and I set TP 2x each pair's ATR.

If I close at a loss ( I usually let the trade run to the opposite) then I increase the lot size from 0.01 to 0.02 in HGB for the next trade on that pair. If I loose again then I increase to 0.03 etc.. (I would hold at 0.05 but haven't had 5 losses in a row yet).

After winning trade back to 0.01.

Hope this helps :jump:
Thanks for the info TJF. I have been trading on H1 too but I now want to move on to H4. I have been forward testing H4 Trend and Blue Wave signals and confirming with the H1 and D1 CSS and Stochs. Might sound complicated but once you get used it becomes as easy as ABCD and the DD is also low. Let's see how it works out.
Author:  Iamshakey [ Sun Apr 05, 2015 11:47 am ]
Post subject:  Holy Graily Bob

Here are results from EA on the daily time frame. On Demo. Trading all usual pairs except CHF

Started April 1st thru Friday close (about 72 hours).

0.02 main trade lot size 0.01 secondary trade size (pretty conservative) Max trades per pair 2

Looks pretty invincible on the Daily time frame. Pretty much hands off about 1150 pips in 3 days.

Looks like this EA a winner Thanks Steve and all contributors :good:

Three Days HGI thingy Daily time frame.png
Author:  SteveHopwood [ Sun Apr 05, 2015 9:45 pm ]
Post subject:  Holy Graily Bob

Anybody here know of a way to force a chart period change in code? It just occurred to me that enforcing this every 5 minutes or so would deal with the signals that come and go, yet leave us with pending trades in place that are no longer relevant.

:xm:
Author:  SteveHopwood [ Sun Apr 05, 2015 10:59 pm ]
Post subject:  Holy Graily Bob

I just had an idea guys.

Ok, so we know that HGB does fantastically well, then he gives back all of those lovely pips he made - happened to me yet again last week.

Here is the idea. We run HGB on demo until he loses a shed load. Then we load him up on our live accounts, let him do his thingy and bank the profits, then shut down live and wait until the demo does crap again.

Anyone with the spare capacity to test this out on two separate demos with Global Prime?

:xm:
Author:  MrLong [ Sun Apr 05, 2015 11:09 pm ]
Post subject:  Holy Graily Bob

Code: Select all

#include <WinUser32.mqh>

//+------------------------------------------------------------------+
//| Open a new chart                                                 |
//+------------------------------------------------------------------+
int ChartWindow(string SymbolName,int timeframe,int tempNo,int tf)
  {
   int hFile,SymbolsTotal,hTerminal,hWnd,handlechart;
   int intCmd;
//if window is already open, don't open another one
   if(WindowHandle(SymbolName,timeframe)!=0)
     {
      Print("Chart already open ",WindowHandle(SymbolName,timeframe));
      // switch to existing chart
      hTerminal=GetParent(GetParent(WindowHandle(Symbol(),Period())));
      SendMessageA(hTerminal,WM_MDIACTIVATE,GetParent(WindowHandle(SymbolName,timeframe)),0);
      return(0);
     }

   Print("Chart handle ",WindowHandle(SymbolName,timeframe));

   hFile=FileOpenHistory("symbols.sel",FILE_BIN|FILE_READ);
   if(hFile<0)
      return(-1);

   SymbolsTotal=(int)(FileSize(hFile)-4)/128;
   FileSeek(hFile,4,SEEK_SET);

   hTerminal=GetAncestor(WindowHandle(Symbol(),Period()),2);

   Print("hTerminal: ",hTerminal);
   hWnd=GetDlgItem(hTerminal,0xE81C);
   Print("hTerminal: ",hWnd);
   hWnd=GetDlgItem(hWnd,0x50);
   Print("hTerminal: ",hWnd);
   hWnd=GetDlgItem(hWnd,0x8A71);
   Print("hTerminal: ",hWnd);

   PostMessageA(hWnd,WM_KEYDOWN,VK_HOME,0);

   for(int i=0; i<SymbolsTotal; i++)
     {
      if(FileReadString(hFile,12)==SymbolName)
        {
         PostMessageA(hTerminal,WM_COMMAND,33160,0);
         i=SymbolsTotal;
        }
      PostMessageA(hWnd,WM_KEYDOWN,VK_DOWN,0);
      FileSeek(hFile,116,SEEK_CUR);
     }
// wait until new chart is open
   Sleep(2000);

// seems Empty4 always open a new chart in H1 timeframe
   handlechart=WindowHandle(SymbolName,PERIOD_H1);

// loading the *first* available template
   PostMessageA(handlechart,WM_COMMAND,34800+tempNo,0);

   intCmd=-1;
   switch(tf)
     {
      case PERIOD_M1:
         intCmd=33137;
         break;
      case PERIOD_M5:
         intCmd=33138;
         break;
      case PERIOD_M15:
         intCmd=33139;
         break;
      case PERIOD_M30:
         intCmd=33140;
         break;
      case PERIOD_H1:
         intCmd=35400;
         break;
      case PERIOD_H4:
         intCmd=33136;
         break;
      case PERIOD_D1:
         intCmd=33134;
         break;
      case PERIOD_W1:
         intCmd=33141;
         break;
      case PERIOD_MN1:
         intCmd=33334;
         break;
     }
   PostMessageA(handlechart,WM_COMMAND,intCmd,0);
   FileClose(hFile);

   return(-1);
  }
And call:

ChartWindow(Symbol(),PERIOD_M5,templetNumber,PERIOD_M5);

Should do the trick.

Andy
Author:  gringoh [ Sun Apr 05, 2015 11:32 pm ]
Post subject:  Holy Graily Bob

SteveHopwood » 05 Apr 2015, 22:45 wrote:Anybody here know of a way to force a chart period change in code? It just occurred to me that enforcing this every 5 minutes or so would deal with the signals that come and go, yet leave us with pending trades in place that are no longer relevant.

:xm:

Code: Select all

bool  ChartSetSymbolPeriod(
   long             chart_id,     // Chart ID
   string           symbol,       // Symbol name
   ENUM_TIMEFRAMES  period        // Period
   );
Cheers,
G
Author:  SteveHopwood [ Mon Apr 06, 2015 7:52 pm ]
Post subject:  Holy Graily Bob

Thanks gringoh. It doesn't quite do the trick as the function also stops whatever uses it from running.

Thanks Andy. I will play with yours tomorrow. I would have done so today but it is complicated for me, and I am working with Zennor on a variant of PPoS that is proving an absolute bugger to convert.

Cheers guys

:xm:
All times are UTC Page 16 of 32