| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| The Beast stirs. He's got a slope. https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=698 |
Page 10 of 24 |
| Author: | fxozgirl [ Mon Jul 16, 2012 12:14 pm ] |
| Post subject: | Re: The Beast stirs. He's got a slope. |
Just checked mine is 20 as well, have you run the force history script? |
|
| Author: | SteveHopwood [ Mon Jul 16, 2012 12:17 pm ] |
| Post subject: | Re: The Beast stirs. He's got a slope. |
I saw why there are no Bunker buy trades as soon as I looked at the code. Usual thingy - copy/paste bloop. V 1b attached here. |
|
| Author: | slowkey [ Mon Jul 16, 2012 1:14 pm ] |
| Post subject: | Re: The Beast stirs. He's got a slope. |
Thanks Steve ... |
|
| Author: | slowkey [ Mon Jul 16, 2012 1:54 pm ] |
| Post subject: | Bunker |
Steve, I did a quick run of bunker all by himself no other element turned on. He made 172 short trades and 821 long trades over a year, 90 percent winners but the problem is that the 10 percent of loosing trades makes him a looser. The average winner was 1.91 and looser -34.91 He makes a lot of small profits of 2 to 8 pips or so than will make a huge loosing trade. A little unrealistic to run him by him self but he is trading now and maybe just need his setting adjusted. I think he is too sensitive and taking to many trades so adjusting him some may decrease the amount of trades and increase the profit. I will look at that later to day after a nap. But the code is working as far as I can tell. Doug |
|
| Author: | cuzgeorge [ Mon Jul 16, 2012 3:48 pm ] |
| Post subject: | Re: The Beast stirs. He's got a slope. |
Hi all, Steve, sorry, still cant help with the code, but here's an error in the pic about an integer value. running slopey beast 1b since this morning. hope this helps at least. regards cuz |
|
| Author: | SteveHopwood [ Mon Jul 16, 2012 4:30 pm ] |
| Post subject: | Re: The Beast stirs. He's got a slope. |
Bloody Hell fire, damnation and buckets of blood. CrapMql4 insists that OrderModify() contains a ticket number declared as an integer. Global Variables, on which SB depends a lot, requires that the value it contains be a double. Gary said not to rely on the language making the appropriate conversion, 'cos it is crap, so I declared the relevant variable as a double. To make OrderModify work I had to declare a separate integer and copy the double into it. Attached is V1c with the appropriate fix. I tell you, guys, the cowboys who mis-coded all this are in for trouble if I ever meet them. Cheers George. Nice spot. |
|
| Author: | cuzgeorge [ Mon Jul 16, 2012 4:40 pm ] |
| Post subject: | Re: The Beast stirs. He's got a slope. |
Thank YOU Steve, and for the quick-fix, will run on chart immediately. cuz |
|
| Author: | garyfritz [ Mon Jul 16, 2012 6:26 pm ] |
| Post subject: | Re: The Beast stirs. He's got a slope. |
You're kidding me. It gave you a RUN-TIME error!? In a proper language, it would automagically convert the double to a int, basically doing automatically what you did by hand. A stupid language would give a compile error because it's too dumb to do the conversion. But it also generally gives you a language construct to force the conversion. But to compile it without error, and then at runtime say "whoops, this isn't an integer" -- that's braindead. It sounds like you need to be really careful with MQL. It's too stupid to do the right thing so you have to do it yourself. Be careful to use the right type for parameters -- converted to the right type of variable if necessary, like you did. |
|
| Author: | SteveHopwood [ Mon Jul 16, 2012 7:34 pm ] |
| Post subject: | Re: The Beast stirs. He's got a slope. |
Hehe. I am reasonably sure I have said this before, Gary. Welcome to my world. |
|
| Author: | fxozgirl [ Mon Jul 16, 2012 9:38 pm ] |
| Post subject: | Re: The Beast stirs. He's got a slope. |
Hmm...I have thought over this some more and realised this is more to do with how the sixth lines are drawn...either UseMax or UseChaserL I have used my settngs for so long I had forgotten about this until macman posted above. I'm not sure if there's details in the beast user guide, alternatively you could go back to the original thread at FF and read up on it further there. |
|
| All times are UTC | Page 10 of 24 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|