| 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 17 of 72 |
| Author: | Gertje [ Thu Dec 18, 2014 9:48 pm ] |
| Post subject: | Holy Graily Bob Basics - ask your questions here. |
240 |
|
| Author: | milanese [ Thu Dec 18, 2014 9:54 pm ] |
| Post subject: | Holy Graily Bob Basics - ask your questions here. |
and re-read the manual Ariel ... |
|
| Author: | Foreverforex [ Thu Dec 18, 2014 10:35 pm ] |
| Post subject: | Holy Graily Bob Basics - ask your questions here. |
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! |
|
| Author: | milanese [ Thu Dec 18, 2014 10:38 pm ] |
| Post subject: | Holy Graily Bob Basics - ask your questions here. |
no than can all use the OOTB 0 , means yes they will work fine sharing the same magic number |
|
| Author: | SWG123 [ Thu Dec 18, 2014 10:43 pm ] |
| Post subject: | Holy Graily Bob Basics - ask your questions here. |
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. |
|
| Author: | Foreverforex [ Thu Dec 18, 2014 10:49 pm ] |
| Post subject: | Holy Graily Bob Basics - ask your questions here. |
Thank you both, and thanks for the insight into "0"! |
|
| Author: | SteveHopwood [ Thu Dec 18, 2014 11:51 pm ] |
| Post subject: | Holy Graily Bob Basics - ask your questions here. |
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. |
|
| Author: | pcorneli [ Fri Dec 19, 2014 5:17 am ] |
| Post subject: | Holy Graily Bob Basics - ask your questions here. |
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. |
|
| Author: | SteveHopwood [ Fri Dec 19, 2014 8:51 am ] |
| Post subject: | Holy Graily Bob Basics - ask your questions here. |
No it doesn't. A stop of zero means no stop loss is sent with the trade. |
|
| Author: | Leslie [ Fri Dec 19, 2014 1:58 pm ] |
| Post subject: | Holy Graily Bob Basics - ask your questions here. |
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 |
|
| All times are UTC | Page 17 of 72 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|