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

Holy Graily Bob Basics - ask your questions here.
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3979
Page 57 of 72
Author:  art [ Fri Aug 14, 2015 5:49 pm ]
Post subject:  Holy Graily Bob Basics - ask your questions here.

thanks Steve will check it out over the weekend,cheers
Author:  salezyakuku [ Wed Aug 19, 2015 4:49 pm ]
Post subject:  Holy Graily Bob Basics - ask your questions here.

Hi Steve,

I using expert version 1k on Empty4 build 840 / amazon VPS Win2012R2.
I see that expert sometimes stop working and is no load again.

I tried other instance but same problem, other EA like wide range works great.

Thx for help.
Author:  SteveHopwood [ Wed Aug 19, 2015 9:03 pm ]
Post subject:  Holy Graily Bob Basics - ask your questions here.

salezyakuku » Wed Aug 19, 2015 4:49 pm wrote:Hi Steve,

I using expert version 1k on Empty4 build 840 / amazon VPS Win2012R2.
I see that expert sometimes stop working and is no load again.

I tried other instance but same problem, other EA like wide range works great.

Thx for help.
Why do you think I can sort out your technical problems? What makes you imagine for a second that I know more about running your VPS than the guys running your VPS?

Flattering in a way, but definitely misguided.

Just in case this is hovering over the horizon, do not even bother to have nightmares about my reaction to you suggesting that your technical problems might be something to do with my code. Lots of others here would enjoy my response to that, but you would not.

:xm:
Author:  TwinX [ Thu Aug 27, 2015 10:13 am ]
Post subject:  Holy Graily Bob Basics - ask your questions here.

Hello,

After weeks of reading i managed to run HGB. A big thank you to everyone who contributed.
I love to find out stuff on my own however i am really stuck on finding this probably noobish question.

How do i get a dashboard / report like the attached picture?

Thanks,
Jef
Author:  milanese [ Thu Aug 27, 2015 10:23 am ]
Post subject:  Holy Graily Bob Basics - ask your questions here.

TwinX » Thu Aug 27, 2015 10:13 am wrote:Hello,

After weeks of reading i managed to run HGB. A big thank you to everyone who contributed.
I love to find out stuff on my own however i am really stuck on finding this probably noobish question.

How do i get a dashboard / report like the attached picture?

Thanks,
Jef
go there ----click---> http://www.stevehopwoodforex.com/phpBB3 ... 15#p102315

Cheers :)

Tommaso
Author:  simonhill11a [ Wed Sep 23, 2015 7:31 am ]
Post subject:  Holy Graily Bob Basics - ask your questions here.

Good morning,

I am trying to read values from the HGI_16.07 using the i custom function, but it keeps returning the null values when read via global variables for all called buffers

The code i am using is shown below if someone could have a quick look and see what is wrong with it it would be a great help to me

thank you in advance

Simon

Code: Select all

  shift = 1;
      
   }//if (!EveryTickMode)
   
   HGI_Trend_UpArrow=false;
   HGI_Trend_DownArrow=false;
   HGI_Wavy_Gold=false;
   HGI_Wavy_Blue=false;

   bool HGI_Trend_Up = 0;
   bool HGI_Trend_Dn = 0;
   HGI_Wavy_G = 0;
   HGI_Wavy_B = 0;

 
 HGI_TrendUp = iCustom(Symbol(),0,"HGI_v16.07",  0, shift);
   HGI_TrendDn = iCustom(Symbol(),0,"HGI_v16.07",  1, shift);
   HGI_Wavy_G =  iCustom(Symbol()0,"HGI_v16.07",  6, shift);
   HGI_Wavy_B =  iCustom(Symbol(),0,"HGI_v16.07",  7, shift);
 
   if (iCustom(Symbol(),0,"HGI_v16.07",  0, shift)!= EMPTY_VALUE) HGI_Trend_UpArrow=true;
   if (iCustom(Symbol(),0,"HGI_v16.07",  1, shift)!= EMPTY_VALUE) HGI_Trend_DownArrow=true;
   if (iCustom(Symbol(),0,"HGI_v16.07",  6, shift)!= EMPTY_VALUE) HGI_Wavy_Gold=true;
   if (iCustom(Symbol(),0,"HGI_v16.07",  7, shift)!= EMPTY_VALUE) HGI_Wavy_Blue=true;

  
   
   GlobalVariableSet("HGIbuffertu"+Symbol(),HGI_TrendUp);
      GlobalVariableSet("HGIbuffertd"+Symbol(),HGI_TrendDn);

   GlobalVariableSet("HGIbufferwg"+Symbol(),HGI_Wavy_G);

   GlobalVariableSet("HGIbufferwb"+Symbol(),HGI_Wavy_B);
Author:  mistertortoise [ Wed Sep 23, 2015 12:09 pm ]
Post subject:  Holy Graily Bob Basics - ask your questions here.

Simon

Have you tried putting the shift string in quotes. So

iCustom(Symbol(),0,"HGI_v16.07",0,"shift"); <-----

EDIT:

Hmm. Nope, that seemed to work for a moment than stopped :smile:

I got it to work making the shift into a double rather than an "int" but not sure why.

Code: Select all

 double shift = 11;
      
      double HGI_TrendUp = iCustom(NULL,0,"HGI_v16.07",0,shift);
      double HGI_TrendDn = iCustom(NULL,0,"HGI_v16.07",1,shift);
      double HGI_Wavy_G =  iCustom(NULL,0,"HGI_v16.07",6,shift);
      double HGI_Wavy_B =  iCustom(NULL,0,"HGI_v16.07",7,shift);
    
      Comment("TrendUp is: "+HGI_TrendUp+"\nHGI_TrendDn is: "+HGI_TrendDn+"\nHGI_Wavy_G is: "+HGI_Wavy_B+"\nHGI_Wavy_G is: "+HGI_Wavy_G);
     
Author:  simonhill11a [ Wed Sep 23, 2015 4:03 pm ]
Post subject:  Holy Graily Bob Basics - ask your questions here.

Hi thank you , odd that double declaration makes the difference, thanks again
Author:  SteveHopwood [ Wed Sep 23, 2015 8:28 pm ]
Post subject:  Holy Graily Bob Basics - ask your questions here.

Most of what has been posted here in the last few posts is rubbish. Where 'solutions' have worked is down to pure blind chance. Do not expect this luck to last.

Guys, stop trying to reinvent the wheel here. http://www.stevehopwoodforex.com/phpBB3 ... m.php?f=87 is littered with umpteen EA's that will show you precisely how to call the indi.

Ok, so I know that taking any notice of my posts is not something that the intellectually less well endowed here is something that you do, but there must surely come a point when even the dimmest thinks, "Hey, you know what? Steve runs this kind-of forum-thingy to which quite a lot of superbrains appear to be contributing. Maybe if just occasionally I read a really occasional post of his, I might learn something useful?"

Just possibly?

Go on, give it a try. You never know.
Author:  mistertortoise [ Wed Sep 23, 2015 8:46 pm ]
Post subject:  Holy Graily Bob Basics - ask your questions here.

Sorry Steve,

I had a feeling I was going to get flamed for trying to clumsily answer Simon's problem. As someone just getting my feet wet in mql I was doing it as much as a problem solving exercise to see if I could figure out how to do it.

Will stick to just reading coding posts from now on until I have some more experience :oops:
All times are UTC Page 57 of 72