Secret Bob's Basket

EA's inspired by nanningbob's work here, especially those based on his 240 Moving Average trend detection filter.
Post Reply
johnsund
Trader
Posts: 19
Joined: Tue Nov 15, 2011 10:23 pm

Secret Bob's Basket

Post by johnsund »

Art - mine did the same thing, but it is not necessary to have all the charts open. Less CPU problems, etc. May open just a few to confirm that direction is correct, etc.
trader689
Trader
Posts: 674
Joined: Thu Nov 17, 2011 12:53 am

Secret Bob's Basket

Post by trader689 »

Steve,

please find attached gertje's m30 setfile, i really hope he doesnt mind me reposting it here. i understand he has kindly attached an updated h1 file, but this one is also doing great things albeit with a bit of drawdown. check out renexxx post on p29, fairly mirroring my pip gains as well


included are some instructions:

"The 2% is entered as a fixed $-value, calculated with the lotsize in mind;
$1.000 -> 0.01 lot -> $20 TP
$5.000 -> 0.05 lot -> $100 T

regards, trader
You do not have the required permissions to view the files attached to this post.
k3v1n0s
Trader
Posts: 27
Joined: Mon Jan 13, 2014 8:50 pm
Location: Luxembourg

Secret Bob's Basket

Post by k3v1n0s »

tomasbelada » 17 Nov 2014, 13:07 wrote:Hi Steve,
I have currently experienced wrong reading of Bob H4 trend in version 1m.
When I compared the code with 1g, which shows correct values with the same settings, I found there is a missing line of code in function void ReadAllMaValues() where in 1g you call GetBasics(TradePair[cc]) before calculating the MA and the trend. If you put it back the MA readings are correct again.

Tom

Code: Select all

//1g, starting at line 1755
void ReadAllMaValues()
{
    for (int cc = 0; cc < NoOfPairs; cc++)
   {
      GetBasics(TradePair[cc]);//For factor
      MaVal[cc]=GetMa(TradePair[cc],MaTF,MaPeriod,MaShift,MaMethod,MaAppliedPrice,0);
      if(bid > MaVal[cc])
      ........
      ........

Code: Select all

//1m, starting at line 1830
void ReadAllMaValues()
{
    for (int cc = 0; cc < NoOfPairs; cc++)
   {
      MaVal[cc]=GetMa(TradePair[cc],MaTF,MaPeriod,MaShift,MaMethod,MaAppliedPrice,0);
      if(bid > MaVal[cc])
      .........
      ........
Hi Steve, just wanted to tell you it's worth considering tomasbelada's suggestion that changing this line of code fixed a problem I was facing with the new m1 release and that I thought was due to me reinstalling Empty4 during the weekend. :smile:

You can see the screenshot of the issue under : http://www.stevehopwoodforex.com/phpBB3 ... 34#p104104 . It now is running perfectly.

Thank you tomasbelada and thank you Steve!
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.

Secret Bob's Basket

Post by SteveHopwood »

Thanks for the heads-up about the line of code that went awol in 1m guys. Brilliant bloop spotting. :clap: I have added it back into 1n in post 1 and it is vital that it be replaced if you are using the moving average.

Make the change yourselves by going to line 1835, which is

Code: Select all

 MaVal[cc]=GetMa(TradePair[cc],MaTF,MaPeriod,MaShift,MaMethod,MaAppliedPrice,0);
and copy this over the top of it

Code: Select all

      GetBasics(TradePair[cc]);//For factor
      MaVal[cc]=GetMa(TradePair[cc],MaTF,MaPeriod,MaShift,MaMethod,MaAppliedPrice,0);

Here is what I surmise happened. My cordless mouse often causes the cursor to jump to where the mouse pointer is. If this causes some text to be highlighted and I do not notice, then the next keypress deleted the highlighted text. :arrrg:

Hey ho.

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

Secret Bob's Basket

Post by SteveHopwood »

trader689 » Mon Nov 17, 2014 2:28 pm wrote:Steve,

please find attached gertje's m30 setfile, i really hope he doesnt mind me reposting it here. i understand he has kindly attached an updated h1 file, but this one is also doing great things albeit with a bit of drawdown. check out renexxx post on p29, fairly mirroring my pip gains as well


included are some instructions:

"The 2% is entered as a fixed $-value, calculated with the lotsize in mind;
$1.000 -> 0.01 lot -> $20 TP
$5.000 -> 0.05 lot -> $100 T

regards, trader
Thanks. I have added a link to the quickstart section of post 1.

: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.
Zennor
Trader
Posts: 276
Joined: Fri Feb 08, 2013 4:44 pm
Location: On a Canal Boat travelling the waterways.

Secret Bob's Basket

Post by Zennor »

art » Mon Nov 17, 2014 2:42 pm wrote:Empty4 is crap all my charts have vanished, back to the start up screen when you download :evil:

Art try looking at your profiles, sometimes it defaults to another profile, I had the same thing and found what I was working on under another profile. Just a suggestion.
User avatar
mobthehop
Trader
Posts: 362
Joined: Wed Nov 16, 2011 12:16 am

Secret Bob's Basket

Post by mobthehop »

@ Dr. Gremlin
...created an excel sheet which will be fed with data from myfxbook to optimize the settings....
Would you be able to share more information on how this calculation / optimization is done by you - am really curious abut this..

Gruss / Mop
DoctorGremlin
Trader
Posts: 50
Joined: Wed Oct 30, 2013 6:21 pm
Location: Frankfurt, Germany

Secret Bob's Basket

Post by DoctorGremlin »

mobthehop » Today, 01:21 wrote:@ Dr. Gremlin
...created an excel sheet which will be fed with data from myfxbook to optimize the settings....
Would you be able to share more information on how this calculation / optimization is done by you - am really curious abut this..

Gruss / Mop
Sure,

basically i take some details from every trade SB has taken (especially the field pips, min and max) from myfxbook history, and with them i build up a matrix of every possible exit between TP 1-100 and SL 1-100.
Out of this matrix, i filter out the best TP and SL settings (pairwise).
The more trades will be in this thingy, the more accurate the whole thing will be.

Here is a screenshot of this matrix, it has fields filled to the right up to column HI, so no complete picture is possible. But i think you will get the idea.
You do not have the required permissions to view the files attached to this post.
User avatar
rapple
Trader
Posts: 277
Joined: Fri Feb 21, 2014 10:56 pm
Location: Sydney, Australia

Secret Bob's Basket

Post by rapple »

DoctorGremlin » Tue Nov 18, 2014 4:30 pm wrote:
mobthehop » Today, 01:21 wrote:@ Dr. Gremlin
...created an excel sheet which will be fed with data from myfxbook to optimize the settings....
Would you be able to share more information on how this calculation / optimization is done by you - am really curious abut this..

Gruss / Mop
Sure,

basically i take some details from every trade SB has taken (especially the field pips, min and max) from myfxbook history, and with them i build up a matrix of every possible exit between TP 1-100 and SL 1-100.
Out of this matrix, i filter out the best TP and SL settings (pairwise).
The more trades will be in this thingy, the more accurate the whole thing will be.

Here is a screenshot of this matrix, it has fields filled to the right up to column HI, so no complete picture is possible. But i think you will get the idea.
I am impressed :clap: :clap:

Looking forward to seeing the results in due course.
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.

Secret Bob's Basket

Post by SteveHopwood »

rapple » Tue Nov 18, 2014 6:48 am wrote:
I am impressed :clap: :clap:
Me too.

: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.
Post Reply

Return to “Thingy Bob EA's”