Slopey Peaky Bob

Slopey Peaky Bob

Postby SteveHopwood » Fri Jan 03, 2020 11:56 am

There is a further update to the core library in post 1.

I put the edit in the wrong place, meaning it would only work with sell stop scale in trades. Delete it from its current location then do a search for: double newPrice = 0;

Insert this immediately below:
Code: [Select all]
 Please Login or Register to see this content
<


Save the file - we do not compile .mqh files. Then recompile SPB and all should be well.

:xm: :rocket:
Read the effing manual, ok?

Global Prime is the official SHF broker. Click here to sign up for a live account with Global Prime and join the 600+ Steve Hopwood members who choose GP as their broker of choice.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. [email protected] is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Tommaso (milanese) for all the incredible work he does here.
User avatar
SteveHopwood
 
Posts: 8968
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Slopey Peaky Bob

Postby SteveHopwood » Sun Jan 12, 2020 12:47 pm

I have added a check that all the pairs in our PairsToTrade input are offered by the broker, to the core library file in post 1.

Copy this over the top of the existing void extractPairs() function if you want to DIY.

Code: [Select all]
 Please Login or Register to see this content
<


:xm: :rocket:
Read the effing manual, ok?

Global Prime is the official SHF broker. Click here to sign up for a live account with Global Prime and join the 600+ Steve Hopwood members who choose GP as their broker of choice.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. [email protected] is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Tommaso (milanese) for all the incredible work he does here.
User avatar
SteveHopwood
 
Posts: 8968
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Slopey Peaky Bob

Postby SteveHopwood » Mon Jan 13, 2020 9:48 pm

There is another update to the SPB core library.mqh Include file in post 1.

Scale-in stop orders are supposed to be deleted if the original trade hits its stop loss and closes, whether this is a 'hard' or a 'hidden' sl. This is not happening. I have been wracking my brains to see how to adapt the existing closure code and eventually hit upon a much simpler idea.

DIYers, add this pending order deletion function where ever is convenient:
Code: [Select all]
 Please Login or Register to see this content
<


Then do a search for this comment: //Scaling back in will leave stop orders behind if a trade hits SL,

Copy this over the top of the existing code block:
//Scaling back in will leave stop orders behind if a trade hits SL,
//so they need deleting.
if (UseScaleBackIn)
{
if (buyStopOpen)
if (marketBuysCount == 0)
deleteOrphanedStopOrders(symbol, OP_BUYSTOP, pairIndex);

if (sellStopOpen)
if (marketSellsCount == 0)
deleteOrphanedStopOrders(symbol, OP_SELLSTOP, pairIndex);

}//if (UseScaleBackIn)

Recompile the relevant tribe member and see if it works properly now.

:xm: :rocket:
Read the effing manual, ok?

Global Prime is the official SHF broker. Click here to sign up for a live account with Global Prime and join the 600+ Steve Hopwood members who choose GP as their broker of choice.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. [email protected] is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Tommaso (milanese) for all the incredible work he does here.
User avatar
SteveHopwood
 
Posts: 8968
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Slopey Peaky Bob

Postby SteveHopwood » Sat Jan 18, 2020 8:03 pm

Lately, I have dealt with a moron unable to read Desky's user guide and another unable to read SPB's user guide. He was stupid enough to send me a pm about this. He is not going to enjoy my reply.

They both made the same stupid mistake of being unable to work out the Friday global basket closure thingy.

Only an idiot tries to use either of these EA's without fully understanding how they work. They are not toys for simpletons. I believe I might have mentioned this from time to time? In passing? Tangentially?

Understanding the EA's involves reading the fucking user guides. PROPERLY. I wrote the bloody things so I would not have to answer moronic questions posted by lazy and stupid space-wasters.

I put you on notice folks, that I will ban people whining that their Friday global basket take profit displays are wrong, and delete their registration here. Read the bloody manual and work this stuff out for yourselves.
Read the effing manual, ok?

Global Prime is the official SHF broker. Click here to sign up for a live account with Global Prime and join the 600+ Steve Hopwood members who choose GP as their broker of choice.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. [email protected] is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Tommaso (milanese) for all the incredible work he does here.
User avatar
SteveHopwood
 
Posts: 8968
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Slopey Peaky Bob

Postby raffus » Thu Jan 30, 2020 8:15 pm

hi to everybody
i'm a newbie, fxtestify supporter. :clap:

i opened a cent account with some money, can anybody help me in order to find the right value of "sizeofdollop" ?

I'm not greedy, I would like to find the right compromise between gain and drawdown, I'd like to have a 2/3% monthly.

thanks a lot to all people of this forum
best regards
User avatar
raffus
 
Posts: 3
Joined: Sun Aug 23, 2015 4:57 pm

Slopey Peaky Bob

Postby Gertje » Fri Jan 31, 2020 11:04 am

raffus » Thu Jan 30, 2020 8:15 pm wrote:hi to everybody
i'm a newbie, fxtestify supporter. :clap:

i opened a cent account with some money, can anybody help me in order to find the right value of "sizeofdollop" ?

I'm not greedy, I would like to find the right compromise between gain and drawdown, I'd like to have a 2/3% monthly.

thanks a lot to all people of this forum
best regards

What value is Thomas using on his demo account which shows in FXTestify?
I believe it is 0.01/$10.000 which delivers appr. 10% monthly.
So start with 0.01/$30.000 and you'll be fine.... :smile:
User avatar
Gertje
 
Posts: 1988
Joined: Mon Dec 12, 2011 1:17 pm
Location: Middle of the Netherlands

Slopey Peaky Bob

Postby SteveHopwood » Sat Feb 01, 2020 7:57 pm

The latest version of the core library is in post 1. This addressed the issue I posted about earlier in Desky's thread. Read about it at SteveHopwood @ Desky. TDesk's trading drone.

The code is the same as Desky's but has to be placed in different locations here, along with adding a new function to the library. Find the new code by doing a search for this comment: "//Scale back in sltp correction" to take you to the code. "

:xm: :rocket:
Read the effing manual, ok?

Global Prime is the official SHF broker. Click here to sign up for a live account with Global Prime and join the 600+ Steve Hopwood members who choose GP as their broker of choice.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. [email protected] is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Tommaso (milanese) for all the incredible work he does here.
User avatar
SteveHopwood
 
Posts: 8968
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Bloop alert

Postby SteveHopwood » Mon Feb 03, 2020 5:17 pm

I have had to update the core library code. Read the explanation at SteveHopwood @ Desky. TDesk's trading drone.

DIYers, do not follow the directions in Desky's post; they are slightly different here.

Do a search for: GlobalVariableSet(gvFileName, hiddenTake);

Here the two variables in the VlobalVariableSet() command need swapping around - it will be obvious that the first block is dealing with the stop loss and the second with the take profit.

There is no need to repeat the search - the code is correct for the sell trade code.

:xm: :rocket:
Read the effing manual, ok?

Global Prime is the official SHF broker. Click here to sign up for a live account with Global Prime and join the 600+ Steve Hopwood members who choose GP as their broker of choice.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. [email protected] is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Tommaso (milanese) for all the incredible work he does here.
User avatar
SteveHopwood
 
Posts: 8968
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Slopey Peaky Bob

Postby cmac0351 » Thu Feb 20, 2020 2:14 pm

Could someone please help me understand why this basket was closed due to recovery and if this is correct behavior?

I am using SPB Latest version OOTB.

I get that there are 6 trades, 2 losers a the time of closure, but the scenario in the guide is when a group of losers makes a comeback and the basket gets back to breakeven. This basket was up 260 pips.
You do not have the required permissions to view the files attached to this post.
cmac0351
 
Posts: 2
Joined: Thu Feb 13, 2014 2:04 am

Slopey Peaky Bob

Postby n229vxhbx » Mon Mar 09, 2020 1:30 pm

OK, forgive me if I'm being somewhat of an idiot, but I've read all the PDFs, and the posts (and the weekly updates since I joined last year!) but I cannot seem to get SPB to attach to a chart to play around with this awesome looking EA. I've been meaning to get it set up on my VPS to begin learning the way this grid trader operates as it *sounds* more versatile and dare I say, intelligent, than the one I use.

I've been trading Forex for a few years now (so by no means an expert by any stretch of the definition), and all that time I've been trading with EAs to try and reduce the emotion side of trading. To run SPB, I have a clean version of my brokers platform, and followed the following steps:-

1. SPB core library.mqh into the ""MQL/Include" folder
2. Peak HiLo indicator.mq4 into the "MQL/Indicators" folder
3. Slopey Peaky Bob 10000 pips.mq4 into the "MQL/Experts" folder
4. Start Empty4

But once started, the Indicator, nor EA will attach to any chart. Have I missed a compile step, or a piece of the puzzle? I didn't want to get into TDesk just yet, as I'd prefer to explore these new tools one piece at a time, however if this is the piece I've missed, I again apologise. Trying to be methodical!

Oddly, the Journal doesn't give any entry when I'm attempting to attach the EA or Indicator to a chart, so I'm not getting any error information back to help in my own investigations, so I simply wondered if anyone else had bumped into this particular problem, and if so, what am I doing wrong?

EDIT - Worked it out. SORRY for posting what must seem in retrospect as the dumbest question in quite some time. For anyone as silly as me, go get TDesk.mqh, put that in your Include folder too, and then compile all the files using Metaeditor and it'll compile with zero warnings and attach just fine.
n229vxhbx
 
Posts: 7
Joined: Wed Sep 04, 2019 6:04 pm

PreviousNext

Return to Super Slope EA's

Who is online

Users browsing this forum: No registered users and 1 guest