Holy Graily Bob Basics - ask your questions here.

EA's inspired by nanningbob's work here, especially those based on his 240 Moving Average trend detection filter.
Post Reply
User avatar
Gertje
Trader
Posts: 1936
Joined: Mon Dec 12, 2011 1:17 pm
Location: Middle of the Netherlands

Holy Graily Bob Basics - ask your questions here.

Post by Gertje »

ariel » Thu Dec 18, 2014 9:34 pm wrote: To trade in H4 , i need change to 240? In manual is H4, but EA is 15. I dont understand what time i need use.

Sorry Ariel
240
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

Holy Graily Bob Basics - ask your questions here.

Post by milanese »

Gertje » Thu Dec 18, 2014 9:48 pm wrote:
ariel » Thu Dec 18, 2014 9:34 pm wrote: To trade in H4 , i need change to 240? In manual is H4, but EA is 15. I dont understand what time i need use.

Sorry Ariel
240
and re-read the manual Ariel ...
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
Foreverforex
Trader
Posts: 164
Joined: Wed Nov 28, 2012 6:48 am

Holy Graily Bob Basics - ask your questions here.

Post by Foreverforex »

does each instance of HGB EA on each pair need a unique magic number, or is it ok if all pairs share same Magic Number (0, by default)? Sorry for basic question, but it is the "Basics" thread!
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

Holy Graily Bob Basics - ask your questions here.

Post by milanese »

Foreverforex » Thu Dec 18, 2014 10:35 pm wrote:does each instance of HGB EA on each pair need a unique magic number, or is it ok if all pairs share same Magic Number (0, by default)? Sorry for basic question, but it is the "Basics" thread!
no than can all use the OOTB 0 , means yes they will work fine sharing the same magic number
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
SWG123
Trader
Posts: 565
Joined: Wed Nov 16, 2011 3:02 pm
Location: Cape Town

Holy Graily Bob Basics - ask your questions here.

Post by SWG123 »

Foreverforex » Fri Dec 19, 2014 12:35 am wrote:does each instance of HGB EA on each pair need a unique magic number, or is it ok if all pairs share same Magic Number (0, by default)? Sorry for basic question, but it is the "Basics" thread!
You can leave it at '0'.

Bear in mind that by doing so, any manual trades you make will also be recognised by HGB, '0' being the default for manual trades in Empty4.
Foreverforex
Trader
Posts: 164
Joined: Wed Nov 28, 2012 6:48 am

Holy Graily Bob Basics - ask your questions here.

Post by Foreverforex »

Thank you both, and thanks for the insight into "0"!
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 Basics - ask your questions here.

Post by SteveHopwood »

Just a quick bit of generalised abuse here, aimed an nobody specifically.

Only a cretin with a financial death wish trades HGB OOTB. The OOTB settings tend to reflect the latest thingy I have coded and often bear no resemblance to any kind of realistic live trading whatsoever.


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

Holy Graily Bob Basics - ask your questions here.

Post by pcorneli »

About error 130 i like to ask some questions (is this allowed?)

In bool SendSingleTrade(string symbol,int type,string comment,double lotsize,double price,double stop,double take) i added some coding to trap the 130.

Like this
if (err==130)
{
Print(stype + " " + comment + " ask=" + DoubleToStr(Ask,Digits) + "bid=" + DoubleToStr(Bid,Digits) + " stop=" + DoubleToStr(stop,Digits) + " take=" + DoubleToStr(take,Digits));
}

It turned out that stop=0 (zero) with OP_BUYSTOP. imho stop must have a value.

Then i did a search on OP_BUYSTOP and it showed on several places:
SendSingleTrade(Symbol(), OP_BUYSTOP, TradeComment, TrendMultiTradeLot, price, 0, take);

Is that how it should be?

Ofcourse same for OP_SELLSTOP.

Sorry if this is a wrong question.
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 Basics - ask your questions here.

Post by SteveHopwood »

pcorneli » Fri Dec 19, 2014 5:17 am wrote: It turned out that stop=0 (zero) with OP_BUYSTOP. imho stop must have a value.

Then i did a search on OP_BUYSTOP and it showed on several places:
SendSingleTrade(Symbol(), OP_BUYSTOP, TradeComment, TrendMultiTradeLot, price, 0, take);
No it doesn't. A stop of zero means no stop loss is sent with the trade.

: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.
Leslie
Trader
Posts: 46
Joined: Thu Dec 04, 2014 12:58 am

Holy Graily Bob Basics - ask your questions here.

Post by Leslie »

Been wrestling this problem for days now. HGB v1z trades nicely. Can't get v2a or 2b to take any trades. For testintg only, have 2b up on the 1 minute so there's no lack of signals- see screenshot. Changed the setting to the TF of 1 and HGI_v15.04 which is what's running on my charts, otherwise left settings OOTB so there was no chance of stupid error. OOTB so it's set to trade ANY of the various signals, yet it won't trade. Any suggestions where I look to solve this? Thanks in advance.

Leslie
You do not have the required permissions to view the files attached to this post.
Post Reply

Return to “Thingy Bob EA's”