Slopey Peaky Bob

Post Reply
Dragonian

Slopey Peaky Bob

Post by Dragonian »

SteveHopwood » Wed May 09, 2018 2:43 pm wrote:
Dragonian » Wed May 09, 2018 1:17 pm wrote:Hello Steve,

I am not a coder so go easy on me :o

Should line 212 of V1g not read "extern double HtfSsLevelCrossValue = 2.0;" rather than " double HtfSsLevelCrossValue = 2.0;", as in previous versions? Or has that function been purposely edited out?
Yes, it has. We are not looking for a HTF cross, so the variable is not relevant.

:xm: :rocket:
Thanks for the explanation Steve.
BobbyT
Trader
Posts: 232
Joined: Thu Aug 21, 2014 1:34 am
Location: Seattle

Slopey Peaky Bob

Post by BobbyT »

BobbyT » Sat Apr 14, 2018 6:26 pm wrote:
But imbibing and :party: .....all the damn way :yahoo:

I'll try and remind you on Monday if I don't see an update.

It really does seem everyone is basket trading SPB. Otherwise someone would have mentioned it by now. I'm testing it 'fully' OOTB just for fun. No SL, default TP, no baskets (pairs or global). The only things I have changed is useZeljko = T and converted your limey time settings to hippy settings (PST).

Just completed week three of testing :) Looking much better than the last test which was 100% fully OOTB and killed a 10k demo at GP in a matter of weeks :roll:
I have been poked to give an update about this so here it is.

The results look pretty good. Even more so when you find out the account has been offline for about two weeks now.
I managed to get myself locked out of the GP servers due to erratic EA activity. Don't fret, it wasn't SPB. But I finally really understand the importance of having a dedicated development terminal :/

I lost contact with the servers around two weeks ago and as a result, SPB has sat there strewing in its own juices. Unable to open, close or otherwise manage any positions. Despite this, the account has secured ~20% gain with another ~20% floating. The red line indicates where the server connection was lost.

EDIT: There may be a problem with order closure based on PHPL and/or CSS reversal. I will go over the account and code this weekend and provide feedback on this (hopefully with enough time for the man to fix it up for Monday open if need be).

EDIT2: Updated my version to make sure that was ok. I've attached the current state of the EURNZD trades for SPB. I may have misread the EA guide so I'm not claiming anything until I get a closer look at the code this afternoon/tomorrow but...you can see in the image that there has been a H1 peaky reversal and a D1 CSS reversal but the stack did not close out.
The CSS reversal occured while the account had no connection but the peaky reversal is in effect as I type this and there was another just before I got myself locked out of the servers. Again, I will check the documentation and code before I make any claims about errors. Just putting this out there in case someone more informed than me can either confirm or refute my understanding of how SBP order closures are meant to be operating.
You do not have the required permissions to view the files attached to this post.
Procrastination provides exponentially negative returns - BobbyT
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 »

Some more live trading results.

My main trading account:
Main.png
This represents one basket closing at my $30 basket TP

The tiny account I split off from the main account:
Small.png
This was a manual closure. The profit kept reaching $20 then falling back, so I decided to bag the profit whilst it was going.

Nothing from Gareth's account.

:xm: :rocket:
You do not have the required permissions to view the files attached to this post.
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.
pintubesar
Posts: 3
Joined: Fri May 11, 2018 2:20 pm

Slopey Peaky Bob

Post by pintubesar »

Thanks for your great sharing steve :!!:
i will try on my demo account first
kwchau
Trader
Posts: 305
Joined: Tue Jan 03, 2012 3:37 pm

Slopey Peaky Bob

Post by kwchau »

Currently the EA will send a grid of stop orders when the trading conditions are right. Then if the first stop order is hit, the EA will set a TP at 150 pips (note: TakeProfitPips is set at 0). Same applies to subsequent orders.

I would like to change this 150 pips to some other value, eg. one-sixth of Peaky. I have searched the code and could not find the whereabout of this 150 pips. Please, could someone kind enough to point me to the right direction where this TP setting is ?

Thanks for all your help !

kwchau
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 »

kwchau » Wed May 16, 2018 8:43 am wrote:Currently the EA will send a grid of stop orders when the trading conditions are right. Then if the first stop order is hit, the EA will set a TP at 150 pips (note: TakeProfitPips is set at 0). Same applies to subsequent orders.
Not on my platforms it doesn't. Nor can it. The TP is calculated in the usual double CalculateTakeProfit(int type, double price), which returns 0 if TakeProfitPips = 0. You are doing something wrong but that is nothing to do with SPB.

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

kwchau » 16 May 2018, 09:43 wrote:Please, could someone kind enough to point me to the right direction where this TP setting is ?kwchau
In a trade manager that is running in the background?

Cheers
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
kwchau
Trader
Posts: 305
Joined: Tue Jan 03, 2012 3:37 pm

Slopey Peaky Bob

Post by kwchau »

tomele » Wed May 16, 2018 5:49 pm wrote:
In a trade manager that is running in the background?

Cheers

Thank you Tomele and Steve,

I've spent over 3 hours trying to find out the reason but to no avail. I'll dig deeper to see what I have done wrong.


kwchau
User avatar
Gertje
Trader
Posts: 1936
Joined: Mon Dec 12, 2011 1:17 pm
Location: Middle of the Netherlands

Slopey Peaky Bob

Post by Gertje »

kwchau » Wed May 16, 2018 10:27 am wrote:
Thank you Tomele and Steve,

I've spent over 3 hours trying to find out the reason but to no avail. I'll dig deeper to see what I have done wrong.

kwchau
What does the "expert-" or "journaltab" print when adjusting the TP is happening?
kwchau
Trader
Posts: 305
Joined: Tue Jan 03, 2012 3:37 pm

Slopey Peaky Bob

Post by kwchau »

Gertje » Wed May 16, 2018 7:09 pm wrote: What does the "expert-" or "journaltab" print when adjusting the TP is happening?

When TakeProfitPips is set to 45, it sets the TP at 45 accordingly. When TakeProfitPips is set to 0, it sets the TP at 150 pips. :roll: :roll: :roll: :roll:
Post Reply

Return to “Super Slope EA's”