Slopey Peaky Bob

Post Reply
Peepaws
Trader
Posts: 121
Joined: Thu Nov 27, 2014 11:19 pm

Slopey Peaky Bob

Post by Peepaws »

Here are my 3 live accounts running SPB. All are OOTB, except for changing basket TP to 100, 200 and 500

I have only just restarted these accounts so not too much action yet. The 100 pip basket has already closed 2 baskets and is the clear winner right now.

It may be best to keep all 3 running as I believe they will all have their time to shine, depending on market movement at the time.

https://www.myfxbook.com/members/Peepaw ... et/2536877

https://www.myfxbook.com/members/Peepaw ... et/2536878

https://www.myfxbook.com/members/Peepaw ... et/2536881


Thank you Steve and all other contributors!
User avatar
tomele
Administrator
Posts: 1208
Joined: Tue May 17, 2016 3:40 pm
Location: Germany, Forest of Odes, Defending the Limes

Slopey Peaky Bob

Post by tomele »

Peepaws » 24 May 2018, 21:09 wrote:Thank you Steve and all other contributors!
Why dont give something back and contribute to our common database?

Cheers
Thomas
Happy pippin, Thomas :-BD

It ain't what you don't know that gets you into trouble.
It's what you know for sure that just ain't so.
(Mark Twain)

Keep the coder going: Donate
Peepaws
Trader
Posts: 121
Joined: Thu Nov 27, 2014 11:19 pm

Slopey Peaky Bob

Post by Peepaws »

tomele » Thu May 24, 2018 9:07 pm wrote:
Peepaws » 24 May 2018, 21:09 wrote:Thank you Steve and all other contributors!
Why dont give something back and contribute to our common database?

Cheers
Thomas
I very much want to do that. If I can find the time to do so I will.
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.

Slopey Peaky Bob

Post by SteveHopwood »

Peepaws » Thu May 24, 2018 9:19 pm wrote:
I very much want to do that. If I can find the time to do so I will.
That is a pitiful response that shows you have no idea what is going on here. Your next one had better be an improvement or I will ban you from SHF.

Do not even have bad dreams about asking anywhere what I mean. Your SHF membership hangs by a thread that you can immediately cut with your own dimwitted response.

Work it out for yourself. Not able to do so? Follow the SHF mantra: you have nothing useful to say, then say nothing.

Do feel free to say something when you have nothing useful to say. Your SHF ban will follow within minutes.
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.

Slopey Peaky Bob

Post by Zennor »

Guys if you are using any of the EA's freely available on this forum I cannot recommend highly enough the benefits of submitting your data for analysis. I did it and it takes literally a minute or two to do.

Thomas and Rene have done a truly excellent job of making this an extremely simple operation. Place the EA into your EA folder, the DLL file in your library, get a code from Thomas and away you go. Dead simple. Took me less than two minutes to set up. The more of us who submit data the better the quality for the brains behind the EA's to analyze and improve the EA's for our benefits. Not to mention you get the benefit of seeing all the data as well which may give you an idea to tweak a setting or two.

These guys spent untold hours to write these EA's for our benefit, least we can do is give them a few minutes of our time.
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.

Slopey Peaky Bob

Post by SteveHopwood »

Zennor » Thu May 24, 2018 11:46 pm wrote:Guys if you are using any of the EA's freely available on this forum I cannot recommend highly enough the benefits of submitting your data for analysis. I did it and it takes literally a minute or two to do.

Thomas and Rene have done a truly excellent job of making this an extremely simple operation. Place the EA into your EA folder, the DLL file in your library, get a code from Thomas and away you go. Dead simple. Took me less than two minutes to set up. The more of us who submit data the better the quality for the brains behind the EA's to analyze and improve the EA's for our benefits. Not to mention you get the benefit of seeing all the data as well which may give you an idea to tweak a setting or two.

These guys spent untold hours to write these EA's for our benefit, least we can do is give them a few minutes of our time.
:clap: :clap: :clap: :clap: :clap: :clap:
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.
Dragonian

Slopey Peaky Bob

Post by Dragonian »

Zennor » Thu May 24, 2018 11:46 pm wrote:Guys if you are using any of the EA's freely available on this forum I cannot recommend highly enough the benefits of submitting your data for analysis. I did it and it takes literally a minute or two to do...............................................................
These guys spent untold hours to write these EA's for our benefit, least we can do is give them a few minutes of our time.
:good:
User avatar
c1borg
Trader
Posts: 456
Joined: Sun Aug 14, 2016 5:09 pm

Slopey Peaky Bob

Post by c1borg »

Zennor » Thu May 24, 2018 11:46 pm wrote:Guys if you are using any of the EA's freely available on this forum I cannot recommend highly enough the benefits of submitting your data for analysis. I did it and it takes literally a minute or two to do.

Thomas and Rene have done a truly excellent job of making this an extremely simple operation. Place the EA into your EA folder, the DLL file in your library, get a code from Thomas and away you go. Dead simple. Took me less than two minutes to set up. The more of us who submit data the better the quality for the brains behind the EA's to analyze and improve the EA's for our benefits. Not to mention you get the benefit of seeing all the data as well which may give you an idea to tweak a setting or two.

These guys spent untold hours to write these EA's for our benefit, least we can do is give them a few minutes of our time.
Well said :hi:
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.

Slopey Peaky Bob

Post by SteveHopwood »

V 1l is in post 1. This fixes the lots per dollop of cash calculation that always increased the lot size prematurely. I have been meaning to do this for years, so this fix can be applied to any of the EA's coded using my shells.

It is a simple DIY:
Go to the top of the file and do a search for "SizeOfDollop". I declared this originally as a double and it needs changing to an int i.e.
extern int SizeOfDollop=1000;

Repeating the search will take you to the "void CalculateLotAsAmountPerCashDollops()" function. Replace it with this:

Code: Select all

void CalculateLotAsAmountPerCashDollops()
{

   double lotstep = MarketInfo(Symbol(), MODE_LOTSTEP);
   int decimal = 0;
   if (CloseEnough(lotstep, 0.1) )
      decimal = 1;
   if (CloseEnough(lotstep, 0.01) )
      decimal = 2;
      
   double maxlot = MarketInfo(Symbol(), MODE_MAXLOT);
   double minlot = MarketInfo(Symbol(), MODE_MINLOT);
   double DoshDollop = AccountInfoDouble(ACCOUNT_BALANCE); 
   
   if (UseEquity)
      DoshDollop = AccountInfoDouble(ACCOUNT_EQUITY); 

//For testing:
//DoshDollop = 2796;
   
   //Calculate the no of dollops in DoshDollop
   int NoOfDollops = (int) DoshDollop / SizeOfDollop;

   
   //Initial lot size
   Lot = NormalizeDouble(NoOfDollops * LotsPerDollopOfCash, decimal);
     
   //Min/max size check
   if (Lot > maxlot)
      Lot = maxlot;
      
   if (Lot < minlot)
      Lot = minlot;      

//For testing
//Alert(DoubleToStr(Lot, decimal));


}//void CalculateLotAsAmountPerCashDollops()
:xm: :rocket:
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.

Slopey Peaky Bob

Post by SteveHopwood »

I just realised that I have failed to acknowledge a contribution by Brenden last week. He sent me this pm:
odrisb wrote:Hi Steve

Noticed this issue when I set DeletePendingTradesOnOppositeColour = true;

The EA was deleting the pending orders but the ReadIndicatorValues() function was adding them back in again in an endless loop.

I made the following changes in the ReadIndicatorValues() which I believe may help:

Line 2170
if ((BuyStopsCount > 0 || MarketBuysCount > 0) && (!DeletePendingTradesOnOppositeColour || HtfSsStatus[PairIndex] != red))

Line 2210
if ((SellStopsCount > 0 || MarketSellsCount > 0) && (!DeletePendingTradesOnOppositeColour || HtfSsStatus[PairIndex] != blue))

I have not tested extensively but it seemed to stop the looping :good:

Cheers
Brenden
The latest version includes this fix. DIYers need to add it.

Thanks Brenden. :clap: :clap: :clap: :clap: :clap:

:xm: :rocket:
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 “Super Slope EA's”