Goblin "BiPolar" Edition - page 6

 
bluto:
Something is funky with your install. Please download the zip file from the first post and reload.

Hi bluto,

I have downloaded and reload anything again. The sell order problem is solved. However, I notice that there is problem with buy order this time. EA wouldn't open the second order after the set Longpips already passed. I have set the Longpips to 8, but after drops over 25 pips, there is still no another buy order.

 
bikerhead:
Hi bluto, I have downloaded and reload anything again. The sell order problem is solved. However, I notice that there is problem with buy order this time. EA wouldn't open the second order after the set Longpips already passed. I have set the Longpips to 8, but after drops over 25 pips, there is still no another buy order.

Ok...let me look at the code...there's probably a bug somewhere. I haven't seen this behavior on my end. This EA is very busy inside.

 

bikerhead

bikerhead

i would make sure to use a unique number for both the buy and sell magic numbers.

 
blintzecure:
bikerhead i would make sure to use a unique number for both the buy and sell magic numbers.

Magic Number generation is built into the EA as an automatic feature, both for the buy and sell cycles...you don't have to fiddle with that setting anymore.

 
bikerhead:
Hi bluto, I have downloaded and reload anything again. The sell order problem is solved. However, I notice that there is problem with buy order this time. EA wouldn't open the second order after the set Longpips already passed. I have set the Longpips to 8, but after drops over 25 pips, there is still no another buy order.

I think I found and fixed the bug with this. Download the updated zip from the first post and reinstall the included EA.

** Tweak **

I added a new true/false setting called "UseConservativeRSX_Signals" that is true by default. It enforces the 30/70 rule for RSX upturns/downturns if true.

 

Can you post Goblin II now so we can test both?

Thanks

 

blue

blue

i would strongly suggest that you use a random number generator for the magic number.

http://docs.mql4.com/math/MathRand

 
blintzecure:
blue

i would strongly suggest that you use a random number generator for the magic number.

http://docs.mql4.com/math/MathRand

but Bluto said it already does that;

"Magic Number generation is built into the EA as an automatic feature, both for the buy and sell cycles...you don't have to fiddle with that setting anymore. "

 

i know what bluto said

but magic numbers are static for each pair inside the code. the random number gen would provide a dynamic num each time the script is run preventing what are all too common magic num problems. and eliminate a big chunk of redundant code.

 

And it would also mean that it would be useless if you had to stop and start the program...it wouldn't manage any existing orders because the magic number would be different.

And it would also mean that there would be a possibility of conflicting with the magic number of another EA, whether running in the same or another instance of the terminal, if it was running on the same account.

Oops.

sstillwell