stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Secret Bob's Basket
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3896
Page 32 of 40
Author:  johnsund [ Mon Nov 17, 2014 1:48 pm ]
Post subject:  Secret Bob's Basket

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.
Author:  trader689 [ Mon Nov 17, 2014 2:28 pm ]
Post subject:  Secret Bob's Basket

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
Author:  k3v1n0s [ Mon Nov 17, 2014 5:12 pm ]
Post subject:  Secret Bob's Basket

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!
Author:  SteveHopwood [ Mon Nov 17, 2014 5:28 pm ]
Post subject:  Secret Bob's Basket

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:
Author:  SteveHopwood [ Mon Nov 17, 2014 5:35 pm ]
Post subject:  Secret Bob's Basket

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:
Author:  Zennor [ Tue Nov 18, 2014 12:05 am ]
Post subject:  Secret Bob's Basket

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.
Author:  mobthehop [ Tue Nov 18, 2014 12:21 am ]
Post subject:  Secret Bob's Basket

@ 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
Author:  DoctorGremlin [ Tue Nov 18, 2014 6:30 am ]
Post subject:  Secret Bob's Basket

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.
Author:  rapple [ Tue Nov 18, 2014 6:48 am ]
Post subject:  Secret Bob's Basket

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.
Author:  SteveHopwood [ Tue Nov 18, 2014 9:18 am ]
Post subject:  Secret Bob's Basket

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

:xm:
All times are UTC Page 32 of 40